aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cppunit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cppunit/Makefile')
-rw-r--r--devel/cppunit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/cppunit/Makefile b/devel/cppunit/Makefile
index dbfee29f0e9a..01a358d04561 100644
--- a/devel/cppunit/Makefile
+++ b/devel/cppunit/Makefile
@@ -2,7 +2,7 @@
PORTNAME= cppunit
PORTVERSION= 1.14.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://dev-www.libreoffice.org/src/
@@ -24,6 +24,12 @@ OPTIONS_SUB= yes
USE_LDCONFIG= yes
USES= libtool pathfix
+SUB_FILES= cppunit-config
+SUB_LIST+= DISTVERSION=${DISTVERSION}
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/cppunit-config ${STAGEDIR}${PREFIX}/bin/
+
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${STAGEDIR}${DOCSDIR}