diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-20 12:12:12 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-20 12:12:12 +0800 |
commit | b53671ca1247c74d59bd3870bb65248cd0153c8c (patch) | |
tree | d74b56dc47a22db42b2820d8062fa480be313909 /www/ach | |
parent | 64b13bf38e7be9fc0ed5fc97515eacc7f0e5a3a5 (diff) | |
download | freebsd-ports-gnome-b53671ca1247c74d59bd3870bb65248cd0153c8c.tar.gz freebsd-ports-gnome-b53671ca1247c74d59bd3870bb65248cd0153c8c.tar.zst freebsd-ports-gnome-b53671ca1247c74d59bd3870bb65248cd0153c8c.zip |
- Change maintainer email to @FreeBSD.org
- Add stage support
Diffstat (limited to 'www/ach')
-rw-r--r-- | www/ach/Makefile | 17 | ||||
-rw-r--r-- | www/ach/pkg-plist | 8 |
2 files changed, 10 insertions, 15 deletions
diff --git a/www/ach/Makefile b/www/ach/Makefile index bdeab8c8ab19..dfa582152b92 100644 --- a/www/ach/Makefile +++ b/www/ach/Makefile @@ -7,7 +7,7 @@ CATEGORIES= www MASTER_SITES= http://cloud.github.com/downloads/Burton/Analysis-of-Competing-Hypotheses/ EXTRACT_SUFX= -alpha.tar -MAINTAINER= danilogondolfo@gmail.com +MAINTAINER= danilo@FreeBSD.org COMMENT= Free, open source tool for complex research problems LICENSE= GPLv3 @@ -22,24 +22,11 @@ PKGMESSAGE= ${WRKDIR}/pkg-message WWWDIR?= ${PREFIX}/www/${PORTNAME} # Get rid of temp files packaged in the upstream distfile -NO_STAGE= yes post-extract: @${FIND} ${WRKSRC} -type f -not -name .htaccess -a \ -name .\* -delete do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ - ${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST} - @${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 - @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type f -print0 | \ - ${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST} - @${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 - @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \ - ${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST} - -post-install: - @${CAT} ${PKGMESSAGE} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include <bsd.port.mk> diff --git a/www/ach/pkg-plist b/www/ach/pkg-plist index 997ab932f61e..caf74601297a 100644 --- a/www/ach/pkg-plist +++ b/www/ach/pkg-plist @@ -1,3 +1,6 @@ +@group www +@owner www +@mode 644 %%WWWDIR%%/COPYING %%WWWDIR%%/README %%WWWDIR%%/RELEASE NOTES @@ -245,6 +248,8 @@ %%WWWDIR%%/xml_cell.php %%WWWDIR%%/xml_evidence.php %%WWWDIR%%/xml_hypothesis.php +@mode +@mode 755 @dirrm %%WWWDIR%%/parts @dirrm %%WWWDIR%%/js/src @dirrm %%WWWDIR%%/js/overlib/Mini @@ -266,5 +271,8 @@ @dirrm %%WWWDIR%%/auth @dirrm %%WWWDIR%%/ajax @dirrm %%WWWDIR%% +@mode +@owner +@group @exec mkdir -p %D/%%WWWDIR%%/imports @exec mkdir -p %D/%%WWWDIR%%/images/user |