summaryrefslogtreecommitdiffstats
path: root/misc/achievo/Makefile
blob: b07f57c88b9d94a6f818c91a7f5e552be65f12b4 (plain)
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
# Created by: mkptools
# $FreeBSD$

PORTNAME=	achievo
PORTVERSION=	1.1.0
PORTREVISION=	1
CATEGORIES=	misc www
MASTER_SITES=	http://www.achievo.org/files/ \
		http://www.caomhin.org/geek/ports/
DISTNAME=	${PORTNAME}-stable-${PORTVERSION}

MAINTAINER=	kevin@caomhin.demon.co.uk
COMMENT=	Flexible web-based resource management tool

USE_PHP=	yes
WANT_PHP_MOD=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD=	YES

ACHVODIR?=	www/achievo
PLIST_SUB=	ACHVODIR=${ACHVODIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"

post-patch:
	@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${ACHVODIR}
	@${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${ACHVODIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud