#PREPARATION
-
The ports in ./ports should be copied into your ports tree
cp -R ports/* /usr/ports/
-
Add 'media' user and group to '/usr/ports/UIDs' and '/usr/ports/GIDs'.
-
/usr/ports/UIDs
media:*:816:816::0:0:Media Plugins Daemon:/nonexistent:/usr/sbin/nologin
-
/usr/ports/GIDs
media:*:816:
-
-
Compile
pbi_makeport -c ./plugins/NAME -o ./pbi --pkgdir ./pkg/NAME CATEGORY/NAME