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

PORTNAME=   mantis
PORTVERSION=    1.0.5
CATEGORIES= databases www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mantisbt
DISTNAME=   ${PORTNAME}_${PORTVERSION}

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

NO_BUILD=   yes
USE_MYSQL=  yes
USE_APACHE= yes
USE_PHP=    yes

MANTISDIR?= www/${PORTNAME}

SUB_FILES=  pkg-message
SUB_LIST=   MANTISDIR=${MANTISDIR}

PLIST_SUB=  MANTISDIR=${MANTISDIR}

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

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

.include <bsd.port.mk>