Date: Tue, 25 Aug 2015 10:01:20 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395229 - in head/x11-toolkits: qwt5 qwt6 Message-ID: <201508251001.t7PA1KFV058016@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Tue Aug 25 10:01:19 2015 New Revision: 395229 URL: https://svnweb.freebsd.org/changeset/ports/395229 Log: x11-toolkits/qwt5 and qwt6: - Convert to new options helpers - Remove now needless manual stripping Modified: head/x11-toolkits/qwt5/Makefile head/x11-toolkits/qwt6/Makefile Modified: head/x11-toolkits/qwt5/Makefile ============================================================================== --- head/x11-toolkits/qwt5/Makefile Tue Aug 25 10:00:55 2015 (r395228) +++ head/x11-toolkits/qwt5/Makefile Tue Aug 25 10:01:19 2015 (r395229) @@ -18,17 +18,12 @@ PORTDOCS= * PLIST_SUB= SHLIB_VER=${PORTVERSION} \ SHLIB_SHVER=${PORTVERSION:R} -STRIP_FILES= lib/libqwt.so.${PORTVERSION} - OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/Qwt* ${STAGEDIR}${PREFIX}/man/man3 - ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,} -.if ${PORT_OPTIONS:MDOCS} + +post-install-DOCS-on: (cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.endif .include <bsd.port.mk> Modified: head/x11-toolkits/qwt6/Makefile ============================================================================== --- head/x11-toolkits/qwt6/Makefile Tue Aug 25 10:00:55 2015 (r395228) +++ head/x11-toolkits/qwt6/Makefile Tue Aug 25 10:01:19 2015 (r395229) @@ -21,23 +21,15 @@ PLIST_SUB= INCLUDEDIR=include/qwt6 \ SHLIB_SHVER=${PORTVERSION:R} \ QT_MKSPECDIR=share/qt4/mkspecs -STRIP_FILES= lib/libqwt6.so.${PORTVERSION} \ - lib/libqwtmathml.so.${PORTVERSION} - OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: cd ${WRKSRC} && \ ${REINPLACE_CMD} -e 's,qwtAddLibrary(qwt),qwtAddLibrary(qwt6),g' \ qwt.prf textengines/textengines.pri && \ ${REINPLACE_CMD} -e '/INSTALLS.*doc/d' doc/doc.pro -post-install: - ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,} -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: (cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508251001.t7PA1KFV058016>