2009-09-15 13:37:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2009/09/15 17:37:22 jasper Exp $
|
2006-10-11 14:28:27 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= web based bug tracking
|
2006-10-11 14:28:27 -04:00
|
|
|
|
2008-12-23 05:51:02 -05:00
|
|
|
V= 1.1.6
|
2008-12-07 11:03:09 -05:00
|
|
|
DISTNAME= mantisbt-${V}
|
2009-09-15 13:37:21 -04:00
|
|
|
PKGNAME= mantis-${V}p2
|
2006-10-11 14:28:27 -04:00
|
|
|
CATEGORIES= www
|
2008-11-16 05:41:37 -05:00
|
|
|
HOMEPAGE= http://www.mantisbt.org/
|
2006-10-11 14:28:27 -04:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2008-07-17 17:47:41 -04:00
|
|
|
RUN_DEPENDS= ::mail/femail,-chroot
|
2006-10-11 14:28:27 -04:00
|
|
|
|
|
|
|
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>
|