svn commit: r397811 - head/audio/qmpdclient

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 25 11:50:13 UTC 2015


Author: amdmi3
Date: Fri Sep 25 11:50:12 2015
New Revision: 397811
URL: https://svnweb.freebsd.org/changeset/ports/397811

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/audio/qmpdclient/Makefile

Modified: head/audio/qmpdclient/Makefile
==============================================================================
--- head/audio/qmpdclient/Makefile	Fri Sep 25 11:37:31 2015	(r397810)
+++ head/audio/qmpdclient/Makefile	Fri Sep 25 11:50:12 2015	(r397811)
@@ -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>


More information about the svn-ports-all mailing list