On May 8, 2007, at 00:38, Jordan K. Hubbard wrote:
On May 7, 2007, at 7:23 PM, Ryan Schmidt wrote:
Such a format does exist: It's called a .pkg file and you interact with them every time you install an Apple software update. However, I don't think there's any functionality in MacPorts to create or use package files.
Oh really?
[snip]
You can also do use the "mpkg" target for ports with dependencies; this will cause a metapackage to be built which contains all the deps, making the package stand-alone.
This functionality has been in macports for a long time. :)
And dpkg (and rpm) too! There's even a particularly frightening script I wrote to build dpkg apt-get repositories from a list of ports in base/portmgr/dpkgall.tcl Of course, xar is the better choice, now. Freak out! landonf@timor:dict> sudo port dpkg dict [snip] ---> Creating dpkg for dict-1.9.7 Of course, it seems to be slightly broken, now: landonf@timor:macports/dports/textproc/dict> sudo dpkg --force-all -- install work/dict_1.9.7_darwin-i386.deb dpkg - warning, overriding problem because --force enabled: package architecture (darwin-i386) does not match system (i686-darwin) Selecting previously deselected package dict. (Reading database ... 0 files and directories currently installed.) Unpacking dict (from .../dict_1.9.7_darwin-i386.deb) ... dpkg: dict: dependency problems, but configuring anyway as you request: dict depends on libtool (>= 1.5.22); however: Package libtool is not installed. Setting up dict (1.9.7) ... landonf@timor:macports/dports/textproc/dict> dpkg --list Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half- installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=================================================- =================================================- ======================================================================== ========================================== ii dict 1.9.7 Dictionary Server Protocol (RFC2229) client