Update deskutils/horde-mnemo to version 4.1.3
[dports.git] / deskutils / devd-notifier / Makefile
1 # Created by: Florian Unglaub <f.unglaub@googlemail.com>
2 # $FreeBSD$
3
4 PORTNAME=       devd-notifier
5 PORTVERSION=    0.1
6 CATEGORIES=     deskutils
7 MASTER_SITES=   https://cloud.github.com/downloads/funglaub/devd-notifier/\
8                 http://roladder.net/~flo/dist/
9
10 MAINTAINER=     f.unglaub@googlemail.com
11 COMMENT=        A daemon notifying the user about devd(8) events \
12                 with libnotify
13
14 LICENSE=        BSD
15 LICENSE_FILE=   ${WRKSRC}/LICENSE
16
17 LIB_DEPENDS=    libnotify.so:${PORTSDIR}/devel/libnotify
18
19 USES=           pkgconfig
20 MAN1=           devd-notifier.1
21 PLIST_FILES=    bin/devd-notifier
22 MANCOMPRESSED=  yes
23
24 NO_STAGE=       yes
25 pre-everything::
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"
28
29 post-extract:
30 .if defined(DEVD-NOTIFIER_CONF)
31         @${ECHO_MSG} "creating config.h from ${DEVD-NOTIFIER_CONF}"
32         @${CP} ${DEVD-NOTIFIER_CONF} ${WRKSRC}/config.h
33 .endif
34
35 post-patch:
36         @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/config.mk
37
38 .include <bsd.port.mk>