diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-20 04:12:12 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-20 04:12:12 +0000 |
commit | ff234221ac7d7ac0c49ef4cab225110d19286f86 (patch) | |
tree | d74b56dc47a22db42b2820d8062fa480be313909 /www/ach | |
parent | a608ffaf60de3ef97bb27a22731e329e67dc87e6 (diff) | |
download | ports-ff234221ac7d7ac0c49ef4cab225110d19286f86.tar.gz ports-ff234221ac7d7ac0c49ef4cab225110d19286f86.zip |
Notes
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 |