1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-06 12:14:30 +00:00
parent c215ae85a9
commit fcc4442bc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343043

View File

@ -29,7 +29,6 @@ PCRE_DESC= Regular Expression Support
PCNTL_DESC= pcntl Support
LANG_DESC= Additional Language Support
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLDAP}
@ -60,15 +59,10 @@ post-patch:
@${FIND} ${WRKSRC} -name \*.orig -type f -delete
do-install:
${MKDIR} ${WWWDIR}/wwwroot ${WWWDIR}/gateways
(cd ${WRKSRC} && ${COPYTREE_SHARE} wwwroot ${WWWDIR})
(cd ${WRKSRC} && ${COPYTREE_BIN} gateways ${WWWDIR})
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/scripts/* ${EXAMPLESDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
${MKDIR} ${STAGEDIR}${WWWDIR}/wwwroot ${STAGEDIR}${WWWDIR}/gateways
(cd ${WRKSRC} && ${COPYTREE_SHARE} wwwroot ${STAGEDIR}${WWWDIR})
(cd ${WRKSRC} && ${COPYTREE_BIN} gateways ${STAGEDIR}${WWWDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>