summaryrefslogtreecommitdiffstats
path: root/www/tasks/Makefile
blob: 5df4578383e6439f2635da68a96a8cc238141fa3 (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
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:   tasks
# Date created:                25 Mar 2004
# Whom:                        Sebastien Gioria <gioria@FreeBSD.ORG>
#
# $FreeBSD$
#

PORTNAME=	tasks
PORTVERSION=	1.8.5
CATEGORIES=	www
MASTER_SITES=	http://www.alexking.org/software/tasks/download/
DISTNAME=	tasks
EXTRACT_SUFX=	.zip

MAINTAINER=	gioria@FreeBSD.org
COMMENT=	A web based, hierarchical task manager

RESTRICTED=	No redistribution or repackaging allowed

BROKEN=		"Size mismatch"

USE_APACHE=	yes
USE_MYSQL=	yes
USE_PHP=	yes
USE_ZIP=	yes

PKGMESSAGE=	${WRKDIR}/pkg-message
WWW_DIR=	${PREFIX}/www/data
WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}

do-build:
	@${SED} 's|%%WWW_DIR%%|${WWW_DIR}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}

do-install:
	${MKDIR} ${WWW_DIR}/tasks
	${CP} -R ${WRKSRC}/* ${WWW_DIR}/tasks
	${CHOWN} -R www:www ${WWW_DIR}/tasks
	@${CAT} ${PKGMESSAGE}

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