Obtaining portsmanager meta package for alternate OS

Michael C. Shultz ringworm01 at gmail.com
Thu Jul 14 20:03:49 GMT 2005


On Thursday 14 July 2005 11:37, Garrett Cooper wrote:
> Hello,
>     I was wondering if anyone could point me to the release notes or
> code so I could look up the dependencies for the portsmanager package
> and possibly compile it on Mac OS X Tiger.

Try running configure then make just like any other linux program and see if 
it compiles, if it doesn't let me know what the error is.  I understand Mac 
OS X is based on FreeBSD, does it have FreeBSD's port infrastructure?
For example can you do things like:
make
make install
make package
make deinstall
???

If the above work diferently or /var/db/pkg/* is different then portmanager
won't work.  Would be interesting to know the similarities/differences between 
FreeBSD and Mac OS X ports infrastructure.

As far as portmanager's dependices, to run it requires libc and to compile
just needs standard autotools if I recall correctly.

>     My FreeBSD machine is currently at home (sadly without an internet
> connection to the outside world :(), and I would like to keep it up to
> date by periodically fetching the ports 'source files'/packages and port
> snapshots. So I thought I could accomplish this via building the
> portsmanager package and running it off of my laptop at school since
> it's the only way I can accomplish my task at hand.
>     However, with that in mind, I was wondering if there was a better
> way to fetch ports/packages without having to manhandle too many
> programs/scripts, or if anyone has discovered a better solution to this
> type of 'issue'.
>     Thanks and your responses are greatly appreciated as solving this
> 'problem' will help save me a great deal of time :)!
> -Garrett

To use portmanager this way you'll need a way to keep your ports tree
current and a way to get the current distfiles. If you can do these two things 
somehow then just drop the current distfiles into /usr/ports/distfiles and
update your ports tree and portmanager should run OK.

-Mike




More information about the freebsd-questions mailing list