2006-04-01 07:01:42 +02:00
|
|
|
# New ports collection makefile for: mantis
|
|
|
|
# Date created: 6 December 2002
|
|
|
|
# Whom: Sebastien Gioria <gioria@FreeBSD.ORG>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mantis
|
2008-12-13 16:33:18 +01:00
|
|
|
PORTVERSION= 1.1.6
|
2006-04-01 07:01:42 +02:00
|
|
|
CATEGORIES= databases www
|
2008-03-19 22:09:19 +01:00
|
|
|
MASTER_SITES= SF/mantisbt
|
2008-12-06 23:39:49 +01:00
|
|
|
DISTNAME= mantisbt-${PORTVERSION}
|
2006-04-01 07:01:42 +02:00
|
|
|
|
2006-04-02 00:42:42 +02:00
|
|
|
MAINTAINER= dan@langille.org
|
2006-04-01 07:01:42 +02:00
|
|
|
COMMENT= A bug tracking system written in PHP
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_MYSQL= yes
|
2008-03-19 22:09:19 +01:00
|
|
|
USE_PHP= pcre
|
2006-04-01 07:01:42 +02:00
|
|
|
|
2006-06-10 13:27:48 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2007-06-17 23:10:29 +02:00
|
|
|
PLIST_SUB+= WWWDIR_REL=${WWWDIR_REL}
|
|
|
|
|
|
|
|
.ifdef(MANTISDIR)
|
2007-06-18 17:23:49 +02:00
|
|
|
WWWDIR= ${MANTISDIR}
|
|
|
|
DMSG= "Usage of MANTISDIR is depreciated and will be dropped in future versions, please use WWWDIR instead."
|
2007-06-17 23:10:29 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD} ${DMSG}
|
2006-06-10 13:27:48 +02:00
|
|
|
|
2006-04-01 07:01:42 +02:00
|
|
|
do-install:
|
2007-06-17 23:10:29 +02:00
|
|
|
@${ECHO} "Installing in WWWDIR: ${WWWDIR}"
|
|
|
|
${MKDIR} ${WWWDIR}
|
|
|
|
${CP} -R ${WRKSRC}/* ${WWWDIR}
|
|
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
2006-04-01 07:01:42 +02:00
|
|
|
|
2006-08-24 12:59:21 +02:00
|
|
|
post-install:
|
2006-06-10 13:27:48 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-04-01 07:01:42 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|