#PREPARATION
-
The ports in ./ports should be copied into your ports tree
cp -R ports/* /usr/ports/
-
You can optionally use libjpeg-turbo in SickBeard and HTPC-Manager by setting the following line in /usr/ports/graphics/py-imaging/Makefile
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/libjpeg-turbo \
-
A 'media' user and group need to be added to '/usr/ports/UIDs' and '/usr/ports/GIDs' before compiling Ports or PBIs.
- /usr/ports/UIDs
media:*:816:816::0:0:media Daemon:/nonexistent:/usr/sbin/nologin
syncer:*:817:817::0:0:syncer Daemon:/nonexistent:/usr/sbin/nologin
- /usr/ports/GIDs
media:*:816:
syncer:*:817:
- /usr/ports/UIDs
-
Compile
pbi_makeport -c ./plugins/NAME -o ./pbi --pkgdir ./pkg/NAME CATEGORY/NAME