summaryrefslogtreecommitdiff
path: root/databases/mantis/Makefile
blob: 3bdea03b8fe8b79032b0e32bfbec79c53dda5664 (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
33
34
35
36
37
38
# Created by: Sebastien Gioria <gioria@FreeBSD.org>
# $FreeBSD$

PORTNAME=	mantis
PORTVERSION=	1.2.19
PORTREVISION=	1
CATEGORIES=	databases www
MASTER_SITES=	SF/${PORTNAME}bt/${PORTNAME}-stable/${PORTVERSION}
DISTNAME=	mantisbt-${PORTVERSION}

MAINTAINER=	dvl@FreeBSD.org
COMMENT=	Bug tracking system written in PHP

BROKEN_powerpc64=	Does not build

NO_BUILD=	yes
USE_PHP=	hash pcre session xml

OPTIONS_MULTI=	DB
OPTIONS_MULTI_DB=	MYSQL PGSQL

MYSQL_DESC=	MySQL support
PGSQL_DESC=	PostgreSQL support

OPTIONS_DEFAULT=	MYSQL

MYSQL_USE=	mysql=yes php=mysql
PGSQL_USE=	pgsql=yes php=pgsql

SUB_FILES=	pkg-message

PLIST_SUB=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

do-install:
	${MKDIR} ${STAGEDIR}${WWWDIR}
	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>