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

PORTNAME=	mantis
PORTVERSION=	1.0.1
CATEGORIES=	databases www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	mantisbt

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

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

do-install:
	@${ECHO} "Installing in ${PREFIX}/www/mantis"
	${MKDIR} ${PREFIX}/www/mantis
	${CP} -R ${WRKSRC}/* ${PREFIX}/www/mantis
#	${MV} ${PREFIX}/www/mantis/config_inc.php.sample ${PREFIX}/www/mantis/config_inc.php
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/mantis

post-install:
	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud