1 # Created by: Florian Unglaub <f.unglaub@googlemail.com>
4 PORTNAME= devd-notifier
7 MASTER_SITES= https://cloud.github.com/downloads/funglaub/devd-notifier/\
8 http://roladder.net/~flo/dist/
10 MAINTAINER= f.unglaub@googlemail.com
11 COMMENT= A daemon notifying the user about devd(8) events \
15 LICENSE_FILE= ${WRKSRC}/LICENSE
17 LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
21 PLIST_FILES= bin/devd-notifier
26 @${ECHO_MSG} "You can build devd-notifier with your own config.h using the DEVD-NOTIFIER_CONF knob:"
27 @${ECHO_MSG} "make DEVD-NOTIFIER_CONF=/path/to/devd-notifier/config.h install clean"
30 .if defined(DEVD-NOTIFIER_CONF)
31 @${ECHO_MSG} "creating config.h from ${DEVD-NOTIFIER_CONF}"
32 @${CP} ${DEVD-NOTIFIER_CONF} ${WRKSRC}/config.h
36 @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/config.mk
38 .include <bsd.port.mk>