Stage support

This commit is contained in:
Adam Weinberger 2013-10-05 20:56:22 +00:00
parent 2006f24e6f
commit 9e3678067d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329503

View file

@ -24,15 +24,14 @@ NO_BUILD= yes
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
NO_STAGE= yes
post-patch:
# The en_US help files are included with the main tarball
@${RM} -r ${WRKSRC}/help/en_US
do-install:
${MKDIR} ${SQUIRRELDIR}
${MKDIR} ${STAGEDIR}${SQUIRRELDIR}
.for DIR in help images locale
cd ${WRKSRC} && ${FIND} ${DIR} | ${CPIO} -pdmu --quiet ${SQUIRRELDIR}
cd ${WRKSRC} && ${FIND} ${DIR} | ${CPIO} -pdmu --quiet ${STAGEDIR}${SQUIRRELDIR}
.endfor
.include <bsd.port.mk>