bc7dc620b2
the previous version in tree which was rather outdated. ok jasper@
40 lines
924 B
Makefile
40 lines
924 B
Makefile
# $OpenBSD: Makefile,v 1.18 2012/06/13 00:41:39 sthen Exp $
|
|
|
|
COMMENT= web based bug tracking
|
|
|
|
V= 1.2.11
|
|
DISTNAME= mantisbt-$V
|
|
PKGNAME= mantis-$V
|
|
CATEGORIES= www
|
|
HOMEPAGE= http://www.mantisbt.org/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mantisbt/}
|
|
|
|
MODULES= lang/php
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= /var/www/mantis
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= mail/femail,-chroot \
|
|
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
|
|
|
|
do-install:
|
|
@-test ! -d ${PREFIX}/mantis && mkdir ${PREFIX}/mantis
|
|
@cd ${WRKDIST}; tar cf - . | (cd ${PREFIX}/mantis; tar xf -)
|
|
@find ${PREFIX}/mantis -type f -name '*.orig' -exec rm {} +
|
|
@echo "<?php \$$g_placeholder = 'yes'; ?>" > \
|
|
${PREFIX}/mantis/config_inc.php.placeholder
|
|
|
|
.include <bsd.port.mk>
|