blob: a04f76577c1b20c94de355b411d47532b3eeefb9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: ACH
# Date Created: 2010-10-05
# Whom: Carlo Strub <c-s@c-s.li>
#
# $FreeBSD$
#
PORTNAME= ACH
PORTVERSION= 1.0.2
CATEGORIES= www
MASTER_SITES= http://cloud.github.com/downloads/Burton/Analysis-of-Competing-Hypotheses/
EXTRACT_SUFX= -alpha.tar
MAINTAINER= ports@FreeBSD.org
COMMENT= A free, open source tool for complex research problems
LICENSE= GPLv3
USE_MYSQL= yes
USE_PHP= yes
IGNORE_WITH_PHP= 4
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha
NO_BUILD= yes
SUB_FILES+= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
WWWDIR?= ${PREFIX}/www/${PORTNAME}
# Get rid of temp files packaged in the upstream distfile
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}
.include <bsd.port.mk>
|