aboutsummaryrefslogtreecommitdiffstats
path: root/www/sit/Makefile
blob: bd36e3f4dbf8f01ed7b6c7d090f92b9f98e5dec4 (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
# Created by: Carsten Jensen <carsten@sitracker.org>
# $FreeBSD$

PORTNAME=   sit
PORTVERSION=    3.67
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   SF/sitracker/stable/${PORTVERSION}/
DISTNAME=   sit_${PORTVERSION}p1

MAINTAINER= carsten@sitracker.org
COMMENT=    PHP incident tracking system / Helpdesk

LICENSE=    GPLv2

USE_PHP=    pcre mysql session zlib mbstring
WANT_PHP_WEB=   yes

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/sit-${PORTVERSION}

SUB_FILES=  pkg-message

OPTIONS_DEFINE= IMAP MBSTRING LDAP
OPTIONS_DEFAULT=    IMAP MBSTRING
IMAP_DESC=  Email Support
MBSTRING_DESC=  Inbound email feature

IMAP_USE=   PHP=imap
MBSTRING_USE=   PHP=mbstring
LDAP_USE=   PHP=ldap

do-install:
    ${MKDIR} ${STAGEDIR}${WWWDIR}
    cd ${WRKSRC}; ${FIND} . \
        | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
    ${CHMOD} -R ${BINMODE} ${STAGEDIR}${WWWDIR}
    ${FIND} ${STAGEDIR}${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}

.include <bsd.port.mk>