Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 17:51:24 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338809 - head/sysutils/polkit-kde
Message-ID:  <201401051751.s05HpOew001018@svn.freebsd.org>

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



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