2004-01-10 10:19:54 +01:00
|
|
|
# New ports collection makefile for: mantis
|
|
|
|
# Date created: 6 December 2002
|
|
|
|
# Whom: Sebastien Gioria <gioria@FreeBSD.ORG>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mantis
|
2004-03-05 08:05:20 +01:00
|
|
|
PORTVERSION= 0.18.0
|
2004-01-10 10:19:54 +01:00
|
|
|
CATEGORIES= databases www
|
2004-03-05 08:05:20 +01:00
|
|
|
MASTER_SITES= http://switch.dl.sourceforge.net/sourceforge/mantisbt/ \
|
|
|
|
http://umn.dl.sourceforge.net/sourceforge/mantisbt/ \
|
|
|
|
http://keihanna.dl.sourceforge.net/sourceforge/mantisbt/ \
|
|
|
|
http://flow.dl.sourceforge.net/sourceforge/mantisbt/
|
2004-01-10 10:19:54 +01:00
|
|
|
|
|
|
|
MAINTAINER= gioria@FreeBSD.org
|
|
|
|
COMMENT= A bug tracking system written in PHP
|
|
|
|
|
2004-01-10 11:28:48 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/lang/php4
|
2004-01-10 10:19:54 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_MYSQL= yes
|
2004-01-10 11:28:48 +01:00
|
|
|
USE_APACHE= yes
|
2004-01-10 10:19:54 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${ECHO} "Installing in ${PREFIX}/www/data/mantis"
|
|
|
|
${MKDIR} ${PREFIX}/www/data/mantis
|
|
|
|
${CP} -R ${WRKSRC}/* ${PREFIX}/www/data/mantis
|
|
|
|
${MV} ${PREFIX}/www/data/mantis/config_inc.php.sample ${PREFIX}/www/data/mantis/config_inc.php
|
|
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/data/mantis
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|