Date: Wed, 6 Jan 2016 19:48:09 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405387 - head/math/fxt Message-ID: <201601061948.u06Jm9eQ078519@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Wed Jan 6 19:48:08 2016 New Revision: 405387 URL: https://svnweb.freebsd.org/changeset/ports/405387 Log: - Remove home grown plist target, it used deprecated @dirrm and make makeplist is doing the same job just fine - Remove DOCS option, only DOCSDIR directory was installed, bump PORTREVISION - plist changed for default configuration - Use options helper for EXAMPLES option Modified: head/math/fxt/Makefile head/math/fxt/pkg-plist Modified: head/math/fxt/Makefile ============================================================================== --- head/math/fxt/Makefile Wed Jan 6 19:05:04 2016 (r405386) +++ head/math/fxt/Makefile Wed Jan 6 19:48:08 2016 (r405387) @@ -3,6 +3,7 @@ PORTNAME= fxt PORTVERSION= 2015.07.17 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www.jjj.de/fxt/ @@ -16,7 +17,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME} USES= gmake tar:tgz MAKEFILE= makefile -OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} -E \ @@ -26,42 +27,8 @@ post-patch: @${REINPLACE_CMD} -e 's|sinl|Sin|g' ${WRKSRC}/src/aux0/trigrec.h @${REINPLACE_CMD} -e 's|sinl|sin|g' ${WRKSRC}/src/fht/hartleyshift.h -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/) -plist: - @truncate -s0 pkg-plist - @${ECHO_CMD} "lib/libfxt.a" >> pkg-plist - -# -# Includes -# - @${FIND} ${PREFIX}/include/fxt/ ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> pkg-plist - @${FIND} ${PREFIX}/include/fxt/ -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> pkg-plist - -# -# Examples -# - @${FIND} ${EXAMPLESDIR}/ ! -type d | \ - ${SED} 's,^${EXAMPLESDIR},%%PORTDOCS%%%%EXAMPLESDIR%%,' \ - >> pkg-plist - @${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \ - ${SED} -E -e \ - 's,^${EXAMPLESDIR}(.*),%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%\1,' \ - >> pkg-plist - -# -# Docs -# - @${FIND} ${DOCSDIR}/ ! -type d | \ - ${SED} 's,^${DOCSDIR},%%PORTDOCS%%%%DOCSDIR%%,' >> pkg-plist - @${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \ - ${SED} -E -e \ - 's,^${DOCSDIR}(.*),%%PORTDOCS%%@dirrm %%DOCSDIR%%\1,' \ - >> pkg-plist - .include <bsd.port.mk> Modified: head/math/fxt/pkg-plist ============================================================================== --- head/math/fxt/pkg-plist Wed Jan 6 19:05:04 2016 (r405386) +++ head/math/fxt/pkg-plist Wed Jan 6 19:48:08 2016 (r405387) @@ -1727,4 +1727,3 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sort/unique-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sort/unique-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/topics.txt -%%PORTDOCS%%@dir %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601061948.u06Jm9eQ078519>