Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2015 11:50:12 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397811 - head/audio/qmpdclient
Message-ID:  <201509251150.t8PBoCKo005717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509251150.t8PBoCKo005717>