freebsd-ports/databases/mantis/Makefile
Mark Linimon dc286c14c9 Update to 0.18.0 and fix problems with pkg-message and pkg-plist.
This includes about 18 months' worth of changes, which are extensive.
See ChangeLog.  But, note that the new distfile has been switched over
to DOS linebreaks, so the diffs are incredibly painful to read.  I
really wish authors would not do this.

PR:		ports/61368
Submitted by:	Nils Vogels <nivo@yuckfou.org>
Approved by:	gioria@FreeBSD.org (maintainer)
2004-03-05 07:05:20 +00:00

35 lines
1 KiB
Makefile

# New ports collection makefile for: mantis
# Date created: 6 December 2002
# Whom: Sebastien Gioria <gioria@FreeBSD.ORG>
#
# $FreeBSD$
#
PORTNAME= mantis
PORTVERSION= 0.18.0
CATEGORIES= databases www
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/
MAINTAINER= gioria@FreeBSD.org
COMMENT= A bug tracking system written in PHP
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/lang/php4
NO_BUILD= yes
USE_MYSQL= yes
USE_APACHE= yes
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>