aboutsummaryrefslogtreecommitdiff
path: root/polish/ekg2
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2015-12-11 22:50:15 +0000
committerPawel Pekala <pawel@FreeBSD.org>2015-12-11 22:50:15 +0000
commitf936f37d66497356cffdc6165442142c93b3e9c8 (patch)
tree6c58957431fdba441c882a682e0fbf249707053f /polish/ekg2
parent911977153ff54f1ca8c82542b66020bc19295ca8 (diff)
downloadports-f936f37d66497356cffdc6165442142c93b3e9c8.tar.gz
ports-f936f37d66497356cffdc6165442142c93b3e9c8.zip
- Switch to USES=shebangfix
- Convert to options helper
Notes
Notes: svn path=/head/; revision=403569
Diffstat (limited to 'polish/ekg2')
-rw-r--r--polish/ekg2/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/polish/ekg2/Makefile b/polish/ekg2/Makefile
index e9f89c839c7a..ebae0bb13883 100644
--- a/polish/ekg2/Makefile
+++ b/polish/ekg2/Makefile
@@ -70,7 +70,8 @@ PERL_CONFIGURE_WITH= perl
PERL_USES= perl5
PYTHON_CONFIGURE_WITH= python
-PYTHON_USES= python
+PYTHON_USES= python shebangfix
+SHEBANG_FILES= contrib/python/notify-bubble.py
SQLITE_CONFIGURE_WITH= sqlite3
SQLITE_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
@@ -80,20 +81,13 @@ UNICODE_CONFIGURE_ENABLE= unicode
XOSD_CONFIGURE_WITH= libxosd
XOSD_LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd
-.include <bsd.port.options.mk>
-
post-patch:
# needs newer headers for O_NOFOLLOW flag
@${REINPLACE_CMD} '/_XOPEN_SOURCE/ s|600|700|' \
${WRKSRC}/plugins/xmsg/xmsg.c
-.if ${PORT_OPTIONS:MPYTHON}
- @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
- ${WRKSRC}/contrib/python/notify-bubble.py
-.endif
-.if ${PORT_OPTIONS:MUNICODE}
+post-patch-UNICODE-on:
@${REINPLACE_CMD} -e 's|ncursesw/||' ${WRKSRC}/configure \
${WRKSRC}/plugins/ncurses/ecurses.h
-.endif
.include <bsd.port.mk>