ba8add3ebb
COMMENT-*/ERRORS/NO_REGRESS/PERMIT_*/REGRESS_IS_INTERACTIVE Change '.include "bsd.port.mk"' to '.include <bsd.port.mk>' while here (ok naddy@)
37 lines
838 B
Makefile
37 lines
838 B
Makefile
# $OpenBSD: Makefile,v 1.6 2007/09/15 20:38:22 merdely Exp $
|
|
|
|
COMMENT= web based bug tracking
|
|
|
|
DISTNAME= mantis-1.0.7
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= www
|
|
HOMEPAGE= http://www.mantisbugtracker.com/
|
|
|
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.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= :mini_sendmail-chroot->=1.3.6:mail/mini_sendmail,-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>
|