aboutsummaryrefslogtreecommitdiffstats
path: root/www/tasks/Makefile
blob: e0e1abbbdbc2241553180ac0c3cf66da739396a3 (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
# New ports collection makefile for:   tasks
# Date created:                25 Mar 2004
# Whom:                        Sebastien Gioria <gioria@FreeBSD.ORG>
#
# $FreeBSD$
#

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

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

RESTRICTED= No redistribution or repackaging allowed

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>