svn commit: r338809 - head/sysutils/polkit-kde

Raphael Kubo da Costa rakuco at FreeBSD.org
Sun Jan 5 17:51:24 UTC 2014


Author: rakuco
Date: Sun Jan  5 17:51:23 2014
New Revision: 338809
URL: http://svnweb.freebsd.org/changeset/ports/338809

Log:
  - Support staging.
  - Use the new LIB_DEPENDS syntax.
  - Use the new OPTIONS helpers.

Modified:
  head/sysutils/polkit-kde/Makefile

Modified: head/sysutils/polkit-kde/Makefile
==============================================================================
--- head/sysutils/polkit-kde/Makefile	Sun Jan  5 17:43:05 2014	(r338808)
+++ head/sysutils/polkit-kde/Makefile	Sun Jan  5 17:51:23 2014	(r338809)
@@ -13,23 +13,20 @@ COMMENT=	Polkit authentication UI for KD
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	polkit-qt-agent-1:${PORTSDIR}/sysutils/polkit-qt
+LIB_DEPENDS=	libpolkit-qt-agent-1.so:${PORTSDIR}/sysutils/polkit-qt
 
 USE_BZIP2=	yes
 USE_KDE4=	kdehier kdelibs kdeprefix automoc4
 USE_QT4=	moc_build qmake_build rcc_build uic_build
 USES=		cmake
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+
+NLS_CMAKE_OFF=	-DBUILD_po:BOOL=FALSE
+NLS_USES=	gettext
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CMAKE_ARGS+=	-DBUILD_po:BOOL=FALSE
-PLIST_SUB+=	NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
 
 post-patch:
 	${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \


More information about the svn-ports-all mailing list