aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/cdk/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
index 392a8e56d828..de08f2d484ef 100644
--- a/devel/cdk/Makefile
+++ b/devel/cdk/Makefile
@@ -3,6 +3,7 @@
PORTNAME= cdk
PORTVERSION= 5.0.20120323
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/cdk/
@@ -37,6 +38,8 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.in
post-patch:
@${REINPLACE_CMD} -e 's|/doc/cdk|/share/doc/cdk| ; s|VERSION)|VERSION_MAJOR)|' \
-e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(INSTALL_DATA) cdk-config|$(INSTALL_SCRIPT) cdk-config|g' \
+ ${WRKSRC}/Makefile.in
pre-install:
.if ${PORT_OPTIONS:MEXAMPLES}