Date: Thu, 14 Apr 2016 16:38:35 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413272 - head/graphics/p5-ming Message-ID: <201604141638.u3EGcZTM051276@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Apr 14 16:38:34 2016 New Revision: 413272 URL: https://svnweb.freebsd.org/changeset/ports/413272 Log: - Use default WRKSRC Modified: head/graphics/p5-ming/Makefile Modified: head/graphics/p5-ming/Makefile ============================================================================== --- head/graphics/p5-ming/Makefile Thu Apr 14 16:38:30 2016 (r413271) +++ head/graphics/p5-ming/Makefile Thu Apr 14 16:38:34 2016 (r413272) @@ -12,8 +12,8 @@ COMMENT= Perl module for Ming which allo LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi -LICENSE_FILE_GPLv2= ${WRKSRC}/../LICENSE_GPL2 -LICENSE_FILE_LGPL21= ${WRKSRC}/../LICENSE +LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE_GPL2 +LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ @@ -27,28 +27,26 @@ PORTSCOUT= limit:^ming- CONFIGURE_ARGS= --enable-perl GNU_CONFIGURE= yes USES= autoreconf bison gmake libtool localbase perl5 shebangfix -SHEBANG_FILES= examples/*.cgi +SHEBANG_FILES= perl_ext/examples/*.cgi +BUILD_WRKSRC= ${WRKSRC}/perl_ext +INSTALL_WRKSRC= ${WRKSRC}/perl_ext PORTEXAMPLES= * -AUTORECONF_WRKSRC= ${CONFIGURE_WRKSRC} -CONFIGURE_WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} -WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/perl_ext - USE_GITHUB= yes GH_ACCOUNT= lib${PORTNAME} GH_PROJECT= lib${PORTNAME} post-patch: - @${REINPLACE_CMD} -e '/ming_is_compiled()/ s|^|#|; /LIBS/d' ${WRKSRC}/Makefile.PL - @${REINPLACE_CMD} -e 's|\.3pm|.3|g' ${WRKSRC}/Makefile.PL ${WRKSRC}/mkdoc - @${REINPLACE_CMD} -e 's|GvCV(\(.*\)) = \(.*\);|GvCV_set(\1, \2);|' ${WRKSRC}/Exports.c + @${REINPLACE_CMD} -e '/ming_is_compiled()/ s|^|#|; /LIBS/d' ${WRKSRC}/perl_ext/Makefile.PL + @${REINPLACE_CMD} -e 's|\.3pm|.3|g' ${WRKSRC}/perl_ext/Makefile.PL ${WRKSRC}/perl_ext/mkdoc + @${REINPLACE_CMD} -e 's|GvCV(\(.*\)) = \(.*\);|GvCV_set(\1, \2);|' ${WRKSRC}/perl_ext/Exports.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/SWF/SWF.so post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ - cd ${INSTALL_WRKSRC}/examples/ && ${INSTALL_DATA} *.cgi ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/perl_ext/examples/*.cgi ${STAGEDIR}${EXAMPLESDIR}/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604141638.u3EGcZTM051276>