aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-03-10 03:51:44 +0800
committerohauer <ohauer@FreeBSD.org>2014-03-10 03:51:44 +0800
commitfc86a3178379d02aba91c28c627cb75d37cd18bb (patch)
tree201fc20345025310fddddcab851170f7285fef69
parenta0a6fab089c3eedc4e59be335ebf3a87efa51588 (diff)
downloadfreebsd-ports-gnome-fc86a3178379d02aba91c28c627cb75d37cd18bb.tar.gz
freebsd-ports-gnome-fc86a3178379d02aba91c28c627cb75d37cd18bb.tar.zst
freebsd-ports-gnome-fc86a3178379d02aba91c28c627cb75d37cd18bb.zip
-add stage support
-rw-r--r--www/mod_cplusplus/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/mod_cplusplus/Makefile b/www/mod_cplusplus/Makefile
index f0dc2732f661..ae4c854b1a5b 100644
--- a/www/mod_cplusplus/Makefile
+++ b/www/mod_cplusplus/Makefile
@@ -26,7 +26,6 @@ SUB_LIST= "APACHEMODDIR=${APACHEMODDIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
post-extract:
${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure.in
@@ -34,10 +33,11 @@ pre-configure:
(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --force --copy)
do-install:
- ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/${APACHEINCLUDEDIR}
- ${INSTALL_DATA} ${WRKSRC}/src/.libs/libmod_cplusplus.so ${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/.libs/libmod_cplusplus.so \
+ ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so
.include <bsd.port.mk>