openbsd-ports/www/flyspray/Makefile

45 lines
939 B
Makefile

# $OpenBSD: Makefile,v 1.9 2012/09/10 09:16:33 jasper Exp $
COMMENT = web-based bug tracking system
DISTNAME = flyspray-0.9.9.7
REVISION = 0
CATEGORIES = www devel
HOMEPAGE = http://flyspray.org/
MAINTAINER = Chris Kuethe <ckuethe@openbsd.org>
# GPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .zip
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/flyspray
SUBST_VARS= INSTDIR
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-mysql
do-extract:
@mkdir -p ${WRKDIST}
unzip -d ${WRKDIST} ${FULLDISTDIR}/${EXTRACT_ONLY}
do-install:
@mv ${WRKDIST} ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
@mkdir -p ${INSTDIR}/cache ${INSTDIR}/attachments
@chgrp www ${INSTDIR}/cache ${INSTDIR}/attachments
@chmod g+w ${INSTDIR}/cache ${INSTDIR}/attachments
.include <bsd.port.mk>