Skip to content

portmaster

Baptiste Daroussin edited this page Sep 19, 2014 · 1 revision

Use the generated packages with portmaster

First, install portmaster from the void:

fetch -o - http://ftp.fr.freebsd.org/pub/FreeBSD/ports/packages/All/portmaster-3.9.tbz | \

pkg_add -r -

Then, configure it:

mkdir -p /usr/ports/Mk
touch /usr/ports/Mk/bsd.port.mk

cat > /usr/local/etc/portmaster.rc<<EOF
MASTER_SITE_INDEX=http://example.com/82i386/
LOCALBASE=/usr/local
PACKAGESITE=http://example.com/82i386/
PM_PACKAGES=only
PM_INDEX=yes
PM_INDEX_ONLY=pm_index_only
EOF

Of course you have to install a HTTP server, with /82i386/ an alias to /usr/local/poudriere_data/packages/bulk-82i386.

You are now ready to invoke portmaster:

portmaster editors/vim
Clone this wiki locally