Files
ports/databases/mantis/Makefile
T
Martin Wilke 86b9ab4cd8 - Update to 1.1.0
PR:		119528
Submitted by:	Thomas Sandford <freebsduser@paradisegreen.co.uk>
Approved by:	maintainer
2008-01-12 13:11:00 +00:00

44 lines
903 B
Makefile

# New ports collection makefile for: mantis
# Date created: 6 December 2002
# Whom: Sebastien Gioria <gioria@FreeBSD.ORG>
#
# $FreeBSD$
#
PORTNAME= mantis
PORTVERSION= 1.1.0
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mantisbt
MAINTAINER= dan@langille.org
COMMENT= A bug tracking system written in PHP
NO_BUILD= yes
USE_MYSQL= yes
USE_APACHE= 1.3+
USE_PHP= yes
SUB_FILES= pkg-message
PLIST_SUB+= WWWDIR_REL=${WWWDIR_REL}
.ifdef(MANTISDIR)
WWWDIR= ${MANTISDIR}
DMSG= "Usage of MANTISDIR is depreciated and will be dropped in future versions, please use WWWDIR instead."
.endif
pre-everything::
@${ECHO_CMD} ${DMSG}
do-install:
@${ECHO} "Installing in WWWDIR: ${WWWDIR}"
${MKDIR} ${WWWDIR}
${CP} -R ${WRKSRC}/* ${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>