aboutsummaryrefslogtreecommitdiffstats
path: root/polish/ekg2
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2015-12-12 06:50:15 +0800
committerpawel <pawel@FreeBSD.org>2015-12-12 06:50:15 +0800
commit60db7c8bf5928b63842b5a82858c2aea509da1ff (patch)
tree6c58957431fdba441c882a682e0fbf249707053f /polish/ekg2
parent670a6eba9a7939125cc1b51acd926e2298b653dd (diff)
downloadfreebsd-ports-gnome-60db7c8bf5928b63842b5a82858c2aea509da1ff.tar.gz
freebsd-ports-gnome-60db7c8bf5928b63842b5a82858c2aea509da1ff.tar.zst
freebsd-ports-gnome-60db7c8bf5928b63842b5a82858c2aea509da1ff.zip
- Switch to USES=shebangfix
- Convert to options helper
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>