Date: Thu, 10 Oct 2013 00:58:16 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329953 - in head/devel: gwenhywfar gwenhywfar-fox16 gwenhywfar-gtk2 gwenhywfar-qt4 Message-ID: <201310100058.r9A0wGJT048333@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhale Date: Thu Oct 10 00:58:16 2013 New Revision: 329953 URL: http://svnweb.freebsd.org/changeset/ports/329953 Log: - Support staging - Use new LIB_DEPENDS syntax - Use options helpers Modified: head/devel/gwenhywfar-fox16/Makefile head/devel/gwenhywfar-gtk2/Makefile (contents, props changed) head/devel/gwenhywfar-qt4/Makefile (contents, props changed) head/devel/gwenhywfar/Makefile Modified: head/devel/gwenhywfar-fox16/Makefile ============================================================================== --- head/devel/gwenhywfar-fox16/Makefile Thu Oct 10 00:32:10 2013 (r329952) +++ head/devel/gwenhywfar-fox16/Makefile Thu Oct 10 00:58:16 2013 (r329953) @@ -10,5 +10,4 @@ MASTERDIR= ${.CURDIR}/../../devel/gwenhy SLAVEPORT= fox16 PLIST= ${.CURDIR}/pkg-plist -NO_STAGE= yes .include "${MASTERDIR}/Makefile" Modified: head/devel/gwenhywfar-gtk2/Makefile ============================================================================== --- head/devel/gwenhywfar-gtk2/Makefile Thu Oct 10 00:32:10 2013 (r329952) +++ head/devel/gwenhywfar-gtk2/Makefile Thu Oct 10 00:58:16 2013 (r329953) @@ -10,5 +10,4 @@ MASTERDIR= ${.CURDIR}/../../devel/gwenhy SLAVEPORT= gtk2 PLIST= ${.CURDIR}/pkg-plist -NO_STAGE= yes .include "${MASTERDIR}/Makefile" Modified: head/devel/gwenhywfar-qt4/Makefile ============================================================================== --- head/devel/gwenhywfar-qt4/Makefile Thu Oct 10 00:32:10 2013 (r329952) +++ head/devel/gwenhywfar-qt4/Makefile Thu Oct 10 00:58:16 2013 (r329953) @@ -10,5 +10,4 @@ MASTERDIR= ${.CURDIR}/../../devel/gwenhy SLAVEPORT= qt4 PLIST= ${.CURDIR}/pkg-plist -NO_STAGE= yes .include "${MASTERDIR}/Makefile" Modified: head/devel/gwenhywfar/Makefile ============================================================================== --- head/devel/gwenhywfar/Makefile Thu Oct 10 00:32:10 2013 (r329952) +++ head/devel/gwenhywfar/Makefile Thu Oct 10 00:58:16 2013 (r329953) @@ -11,14 +11,8 @@ COMMENT?= Multi-platform helper library LICENSE= LGPL21 -LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \ - gnutls:${PORTSDIR}/security/gnutls - -.if !defined(SLAVEPORT) -OPTIONS_DEFINE= DOXYGEN MEMDEBUG - -MEMDEBUG_DESC= Enable memory debugger statistic -.endif +LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ + libgnutls.so:${PORTSDIR}/security/gnutls USES= pathfix pkgconfig gettext gmake USE_OPENSSL= yes @@ -34,26 +28,26 @@ USE_LDCONFIG= yes GWEN_SHLIB_VER= 60 -NO_STAGE= yes -.include <bsd.port.options.mk> +.if !defined(SLAVEPORT) +OPTIONS_DEFINE= DOXYGEN MEMDEBUG -.if ${PORT_OPTIONS:MDOXYGEN} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ - dot:${PORTSDIR}/graphics/graphviz -CONFIGURE_ARGS+=--enable-full-doc -.endif +DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ + dot:${PORTSDIR}/graphics/graphviz +DOXYGEN_CONFIGURE_ENABLE= full-doc -.if ${PORT_OPTIONS:MMEMDEBUG} -CONFIGURE_ARGS+=--enable-memtrace +MEMDEBUG_DESC= Enable memory debugger statistic +MEMDEBUG_CONFIGURE_ENABLE= memtrace .endif +.include <bsd.port.options.mk> + .if defined(SLAVEPORT) -LIB_DEPENDS+= gwenhywfar:${PORTSDIR}/devel/gwenhywfar +LIB_DEPENDS+= libgwenhywfar.so:${PORTSDIR}/devel/gwenhywfar BUILD_WRKSRC= ${WRKSRC}/gui INSTALL_WRKSRC= ${WRKSRC}/gui/${SLAVEPORT} .if ${SLAVEPORT}=="fox16" -LIB_DEPENDS+= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 +LIB_DEPENDS+= libFOX-1.6.so:${PORTSDIR}/x11-toolkits/fox16 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif @@ -81,13 +75,13 @@ post-build: post-install: .if ${PORT_OPTIONS:MDOXYGEN} - ${MKDIR} ${DOCSDIR}/apidoc + ${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ - ${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc - @${FIND} -P ${DOCSDIR} -type f 2>/dev/null | \ - ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST} - @${FIND} -P -d ${DOCSDIR} -type d 2>/dev/null | \ - ${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST} + ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/apidoc + @${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \ + ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} + @${FIND} -P -d ${STAGEDIR}${DOCSDIR} -type d 2>/dev/null | \ + ${SED} -ne 's|^${STAGEDIR}${PREFIX}/|@dirrm |p' >> ${TMPPLIST} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310100058.r9A0wGJT048333>