freebsd-ports/databases/mantis/Makefile
Edwin Groothuis 7c19b4ecfc [resurrect port] databases/mantis
I've been using mantis for some time, but didn't know it
        was in the tree.  I did some research and found that the
        bugs reported have been fixed.

        See my post to the vuxml list for details:

           http://docs.freebsd.org/cgi/mid.cgi?442DB5D7.30037.301FFEF

        One major change to the Makefile: do not overwrite the
        existing config_inc.php

PR:             ports/95189
Submitted by:   Dan Langille <dan@langille.org>
2006-04-01 05:01:42 +00:00

32 lines
796 B
Makefile

# 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= gioria@FreeBSD.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>