aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-25 19:50:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-25 19:50:12 +0800
commit0373f3878c7b72be8aef9f9e4f7b46acb562297b (patch)
treece319a21f89a824d2b44a76a9bfaffebb3086318 /audio
parentf76d0a59ed88c7fa19565d164cec8b931cca90f4 (diff)
downloadfreebsd-ports-gnome-0373f3878c7b72be8aef9f9e4f7b46acb562297b.tar.gz
freebsd-ports-gnome-0373f3878c7b72be8aef9f9e4f7b46acb562297b.tar.zst
freebsd-ports-gnome-0373f3878c7b72be8aef9f9e4f7b46acb562297b.zip
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'audio')
-rw-r--r--audio/qmpdclient/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/qmpdclient/Makefile b/audio/qmpdclient/Makefile
index c43a6b381462..0c9b014595db 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>