Libs like libR, libinotify and some more live outside ${LOCALBASE}. We add them as follows: WANTLIB += lib/inotify/inotify but this results in a bougs WANTLIB error. For example:
$ make port-lib-depends-check owncloudclient-2.11.1.8438p0(net/owncloudclient): Bogus WANTLIB: inotify.3 (/usr/local/lib/ownCloud/plugins/owncloudsync_vfs_suffix.so) (NOT REACHABLE) *** Error 1 in target 'port-lib-depends-check' (ignored) My (non-existent) make magic is at an end when I look at bsd.port.mk. If anyone is interested in expanding this, I would be very happy. Rafael