blob: 330e70127878a3671778504872ee697c3b2e4ec7 (
plain) (
blame)
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
|
# New ports collection makefile for: mantis
# Date created: 6 December 2002
# Whom: Sebastien Gioria <gioria@FreeBSD.ORG>
#
# $FreeBSD$
#
PORTNAME= mantis
PORTVERSION= 0.17.5
CATEGORIES= databases www
MASTER_SITES= http://switch.dl.sourceforge.net/sourceforge/mantisbt/
MAINTAINER= gioria@FreeBSD.org
COMMENT= A bug tracking system written in PHP
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/lang/php4
NO_BUILD= yes
USE_MYSQL= 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>
|