1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Approved by:	portmgr@ (blanket)
This commit is contained in:
Vanilla I. Shu 2014-07-15 07:21:40 +00:00
parent e3d5e1a44e
commit 149a7a4e14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361884
2 changed files with 7 additions and 6 deletions

View File

@ -19,16 +19,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= YES NO_BUILD= YES
ACHVODIR?= www/achievo ACHVODIR?= www/achievo
PLIST_SUB= ACHVODIR=${ACHVODIR} PLIST_SUB= ACHVODIR=${ACHVODIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
NO_STAGE= yes
post-patch: post-patch:
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default @${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default
do-install: do-install:
@${MKDIR} ${PREFIX}/${ACHVODIR} @${MKDIR} ${STAGEDIR}${PREFIX}/${ACHVODIR}
@${CP} -R ${WRKSRC}/* ${PREFIX}/${ACHVODIR} @${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${ACHVODIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ACHVODIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
@owner %%WWWOWN%%
@group %%WWWGRP%%
%%ACHVODIR%%/README %%ACHVODIR%%/README
%%ACHVODIR%%/achievotools.inc %%ACHVODIR%%/achievotools.inc
%%ACHVODIR%%/atk.inc %%ACHVODIR%%/atk.inc
@ -471,6 +473,8 @@
%%ACHVODIR%%/upgrade/convert-0.9-to-0.9.1.inc %%ACHVODIR%%/upgrade/convert-0.9-to-0.9.1.inc
%%ACHVODIR%%/upgrade/convert-0.9.1-to-0.9.2.inc %%ACHVODIR%%/upgrade/convert-0.9.1-to-0.9.2.inc
%%ACHVODIR%%/version.inc %%ACHVODIR%%/version.inc
@owner
@group
@dirrm %%ACHVODIR%%/upgrade @dirrm %%ACHVODIR%%/upgrade
@dirrm %%ACHVODIR%%/themes/achievo_classic/images @dirrm %%ACHVODIR%%/themes/achievo_classic/images
@dirrm %%ACHVODIR%%/themes/achievo_classic @dirrm %%ACHVODIR%%/themes/achievo_classic