- Change maintainer email to @FreeBSD.org
- Add stage support
This commit is contained in:
parent
a608ffaf60
commit
ff234221ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330971
2 changed files with 10 additions and 15 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue