- Add stage support

PR:		ports/191171
Submitted by:	joe@thrallingpenguin.com
This commit is contained in:
Danilo Egea Gondolfo 2014-06-20 04:41:29 +00:00
parent a7077d5d30
commit 8f401b7d90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358502

View file

@ -67,23 +67,21 @@ FILES_DATA= README setup.conf
CVSMONITOR_ROOT= ${PREFIX}/${CGIDIR}/cvsmonitor
NO_STAGE= yes
post-patch:
@${PERL} -pi -e '$$_=q{ my $$solaris=1;} if $$.==270' \
${WRKSRC}/modules/CVSMonitor/MetaData/Module.pm
do-install:
${MKDIR} ${PREFIX}/${CGIDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/${CGIDIR}
.for d in ${DIRS_DATA}
${MKDIR} ${CVSMONITOR_ROOT}/${d}
${INSTALL_DATA} ${WRKSRC}/${d}/*.* ${CVSMONITOR_ROOT}/${d}
@${MKDIR} ${STAGEDIR}${CVSMONITOR_ROOT}/${d}
${INSTALL_DATA} ${WRKSRC}/${d}/*.* ${STAGEDIR}${CVSMONITOR_ROOT}/${d}
.endfor
.for f in ${FILES_SCRIPT}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${CVSMONITOR_ROOT}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${CVSMONITOR_ROOT}
.endfor
.for f in ${FILES_DATA}
${INSTALL_DATA} ${WRKSRC}/${f} ${CVSMONITOR_ROOT}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${CVSMONITOR_ROOT}
.endfor
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>