svn commit: r403569 - head/polish/ekg2
Pawel Pekala
pawel at FreeBSD.org
Fri Dec 11 22:50:17 UTC 2015
Author: pawel
Date: Fri Dec 11 22:50:15 2015
New Revision: 403569
URL: https://svnweb.freebsd.org/changeset/ports/403569
Log:
- Switch to USES=shebangfix
- Convert to options helper
Modified:
head/polish/ekg2/Makefile
Modified: head/polish/ekg2/Makefile
==============================================================================
--- head/polish/ekg2/Makefile Fri Dec 11 22:34:20 2015 (r403568)
+++ head/polish/ekg2/Makefile Fri Dec 11 22:50:15 2015 (r403569)
@@ -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>
More information about the svn-ports-head
mailing list