svn commit: r340748 - head/devel/librest

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jan 22 23:32:27 UTC 2014


Author: amdmi3
Date: Wed Jan 22 23:32:26 2014
New Revision: 340748
URL: http://svnweb.freebsd.org/changeset/ports/340748
QAT: https://qat.redports.org/buildarchive/r340748/

Log:
  - Disable g-ir-scanner cache to not pollute /root/.cache on build
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Convert USE_GMAKE to USES
  
  PR:		185924
  Submitted by:	amdmi3
  Approved by:	Christoph Moench-Tegeder <cmt at burggraben.net> (maintainer)

Modified:
  head/devel/librest/Makefile

Modified: head/devel/librest/Makefile
==============================================================================
--- head/devel/librest/Makefile	Wed Jan 22 23:21:56 2014	(r340747)
+++ head/devel/librest/Makefile	Wed Jan 22 23:32:26 2014	(r340748)
@@ -13,27 +13,24 @@ LICENSE=	LGPL21
 
 BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
 		${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-LIB_DEPENDS=	soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome
+LIB_DEPENDS=	libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
 RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
 
-USES=		pkgconfig
+USES=		pkgconfig gmake
 USE_XZ=		yes
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USE_GNOME=	gnomehack glib20 intlhack libxml2
+MAKE_ENV=	GI_SCANNER_DISABLE_CACHE=yes
 
 CONFIGURE_ARGS=	--with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
 
 PORTEXAMPLES=	*.c
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	EXAMPLES
 
-.if ${PORT_OPTIONS:MEXAMPLES}
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list