mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Approved by: portmgr@ (blanket)
This commit is contained in:
parent
e3d5e1a44e
commit
149a7a4e14
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361884
@ -19,16 +19,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
NO_BUILD= YES
|
||||
|
||||
ACHVODIR?= www/achievo
|
||||
PLIST_SUB= ACHVODIR=${ACHVODIR}
|
||||
PLIST_SUB= ACHVODIR=${ACHVODIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${ACHVODIR}
|
||||
@${CP} -R ${WRKSRC}/* ${PREFIX}/${ACHVODIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ACHVODIR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${ACHVODIR}
|
||||
@${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${ACHVODIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,5 @@
|
||||
@owner %%WWWOWN%%
|
||||
@group %%WWWGRP%%
|
||||
%%ACHVODIR%%/README
|
||||
%%ACHVODIR%%/achievotools.inc
|
||||
%%ACHVODIR%%/atk.inc
|
||||
@ -471,6 +473,8 @@
|
||||
%%ACHVODIR%%/upgrade/convert-0.9-to-0.9.1.inc
|
||||
%%ACHVODIR%%/upgrade/convert-0.9.1-to-0.9.2.inc
|
||||
%%ACHVODIR%%/version.inc
|
||||
@owner
|
||||
@group
|
||||
@dirrm %%ACHVODIR%%/upgrade
|
||||
@dirrm %%ACHVODIR%%/themes/achievo_classic/images
|
||||
@dirrm %%ACHVODIR%%/themes/achievo_classic
|
||||
|
Loading…
Reference in New Issue
Block a user