aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mantis/Makefile
blob: d70c2718ad5b60ca4abdb8edf3eab650ab25c535 (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
# New ports collection makefile for:   mantis
# Date created:        6 December 2002
# Whom:                Sebastien Gioria <gioria@FreeBSD.ORG>
#
# $FreeBSD$
#

PORTNAME=   mantis
PORTVERSION=    1.1.1
PORTREVISION=   1
CATEGORIES= databases www
MASTER_SITES=   SF/mantisbt

MAINTAINER= dan@langille.org
COMMENT=    A bug tracking system written in PHP

NO_BUILD=   yes
USE_MYSQL=  yes
USE_APACHE= 1.3+
USE_PHP=    pcre

SUB_FILES=  pkg-message

PLIST_SUB+= WWWDIR_REL=${WWWDIR_REL}

.ifdef(MANTISDIR)
WWWDIR= ${MANTISDIR}
DMSG=   "Usage of MANTISDIR is depreciated and will be dropped in future versions, please use WWWDIR instead."
.endif

pre-everything::
    @${ECHO_CMD} ${DMSG}

do-install:
    @${ECHO} "Installing in WWWDIR: ${WWWDIR}"
    ${MKDIR} ${WWWDIR}
    ${CP} -R ${WRKSRC}/* ${WWWDIR}
    ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}

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

.include <bsd.port.mk>