aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:01:19 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:01:19 +0000
commit3503010e0327c79f271f015a673772c3405582d9 (patch)
tree7f3578a64f77e9455e5fcc2e5e4933cc0ebe3e93 /x11-toolkits
parente2554c18536e8e22e1a6c89603a1075b8966e2f9 (diff)
downloadports-3503010e0327c79f271f015a673772c3405582d9.tar.gz
ports-3503010e0327c79f271f015a673772c3405582d9.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qwt5/Makefile9
-rw-r--r--x11-toolkits/qwt6/Makefile10
2 files changed, 3 insertions, 16 deletions
diff --git a/x11-toolkits/qwt5/Makefile b/x11-toolkits/qwt5/Makefile
index 2cb191dc4db7..e552d4148c25 100644
--- a/x11-toolkits/qwt5/Makefile
+++ b/x11-toolkits/qwt5/Makefile
@@ -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>
diff --git a/x11-toolkits/qwt6/Makefile b/x11-toolkits/qwt6/Makefile
index f07de2c28bb1..c5a7bb185d6b 100644
--- a/x11-toolkits/qwt6/Makefile
+++ b/x11-toolkits/qwt6/Makefile
@@ -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>