summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-25 11:50:12 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-25 11:50:12 +0000
commit0373f3878c7b72be8aef9f9e4f7b46acb562297b (patch)
treece319a21f89a824d2b44a76a9bfaffebb3086318
parentf76d0a59ed88c7fa19565d164cec8b931cca90f4 (diff)
downloadFreeBSD-ports-0373f3878c7b72be8aef9f9e4f7b46acb562297b.zip
FreeBSD-ports-0373f3878c7b72be8aef9f9e4f7b46acb562297b.tar.gz
- Switch to options helpers
Approved by: portmgr blanket
-rw-r--r--audio/qmpdclient/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/qmpdclient/Makefile b/audio/qmpdclient/Makefile
index c43a6b3..0c9b014 100644
--- a/audio/qmpdclient/Makefile
+++ b/audio/qmpdclient/Makefile
@@ -32,13 +32,7 @@ DBUS_USE= QT4=dbus
DEBUG_QMAKE_ON= CONFIG+=debug
-.include <bsd.port.options.mk>
-
post-patch:
-.if ! ${PORT_OPTIONS:MNLS}
- @${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
- ${WRKSRC}/${PORTNAME}.pro
-.endif
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
-e 's|lupdate|lupdate-qt4|' \
-e 's|lrelease|lrelease-qt4|' \
@@ -46,4 +40,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/src/notifications_dbus.cpp
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
+ ${WRKSRC}/${PORTNAME}.pro
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud