openbsd-ports/www/mantis/Makefile
jasper 20696471fe remove marc balmer as maintainer of all of his ports, to take away the
illusion marc still maintains them. as requested by himself.
2009-09-15 17:37:21 +00:00

36 lines
759 B
Makefile

# $OpenBSD: Makefile,v 1.11 2009/09/15 17:37:22 jasper Exp $
COMMENT= web based bug tracking
V= 1.1.6
DISTNAME= mantisbt-${V}
PKGNAME= mantis-${V}p2
CATEGORIES= www
HOMEPAGE= http://www.mantisbt.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mantisbt/}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= /var/www/mantis
SUBST_VARS= INSTDIR
RUN_DEPENDS= ::mail/femail,-chroot
do-install:
@-test ! -d ${PREFIX}/mantis && mkdir ${PREFIX}/mantis
@cd ${WRKDIST}; tar cf - . | (cd ${PREFIX}/mantis; tar xf -)
@echo "<?php \$$g_placeholder = 'yes'; ?>" > \
${PREFIX}/mantis/config_inc.php.placeholder
.include <bsd.port.mk>