aboutsummaryrefslogtreecommitdiffstats
path: root/www/ach/Makefile
blob: 5823f1744647dd4af7b330917b99b038577a91e0 (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
# Created by: Carlo Strub <c-s@c-s.li>
# $FreeBSD$

PORTNAME=   ACH
PORTVERSION=    1.0.3
CATEGORIES= www
MASTER_SITES=   GHC
EXTRACT_SUFX=   -alpha.tar

MAINTAINER= danilo@FreeBSD.org
COMMENT=    Free, open source tool for complex research problems

LICENSE=    GPLv3

USE_MYSQL=  yes
USE_PHP=    yes
USE_GITHUB= yes
GH_ACCOUNT= Burton
GH_PROJECT= Analysis-of-Competing-Hypotheses

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} . ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>