aboutsummaryrefslogtreecommitdiffstats
path: root/www/dotproject/Makefile
blob: 46efb9a00c47ed09df5dd23ba45667f3baa1fee9 (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
38
39
40
41
42
43
44
# New ports collection makefile for:    dotproject
# Date created:             12 April 2005
# Whom:                 Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#

PORTNAME=   dotproject
PORTVERSION=    2.1.5
PORTREVISION=   1
CATEGORIES= www devel
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/dotProject%20Version%20${PORTVERSION}

MAINTAINER= garga@FreeBSD.org
COMMENT=    Open Source Project Management tool

WRKSRC=     ${WRKDIR}/${PORTNAME}
NO_BUILD=   yes
USE_PHP=    gd mysql session zlib
WANT_PHP_WEB=   yes
USE_APACHE= 1.3+

SUB_FILES=  pkg-message

OPTIONS=    LDAP "Enable ldap support" On

.include <bsd.port.pre.mk>

.if defined(WITH_LDAP)
USE_PHP+=   ldap xml
.endif

do-install:
    ${MKDIR} ${WWWDIR}
    ${CP} -R ${WRKSRC}/* ${WWWDIR}
    ${RM} ${WWWDIR}/locales/es
    ${RM} ${WWWDIR}/locales/pt_br
    ${MKDIR} ${WWWDIR}/files/temp
    ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>