bb0b03257d
Open Source Analysis of Competing Hypotheses (ACH) will help you think objectively and logically about overwhelming amounts of data and hypotheses. It can also guide research teams toward more productive discussions by identifying the exact points of contention. WWW: http://www.competinghypotheses.org/ PR: ports/151225 Submitted by: Carlo Strub <c-s at c-s.li>
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# 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= c-s@c-s.li
|
|
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>
|