svn commit: r395229 - in head/x11-toolkits: qwt5 qwt6
Max Brazhnikov
makc at FreeBSD.org
Tue Aug 25 10:01:21 UTC 2015
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>
More information about the svn-ports-all
mailing list