1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

-add stage support

This commit is contained in:
Olli Hauer 2014-03-09 19:51:44 +00:00
parent 551b8d4bf7
commit 2bf93aa846
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347688

View File

@ -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>