44 lines
853 B
Makefile
44 lines
853 B
Makefile
# $OpenBSD: Makefile,v 1.3 2010/11/22 08:36:48 espie Exp $
|
|
|
|
COMMENT = fast, light, user-friendly web forum
|
|
|
|
V=1.4.2
|
|
DISTNAME = fluxbb-${V}
|
|
CATEGORIES = www
|
|
REVISION=0
|
|
|
|
HOMEPAGE = http://fluxbb.org/
|
|
|
|
MAINTAINER = Chris Kuethe <ckuethe@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES= http://fluxbb.org/download/releases/${V}/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/fluxbb
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= www/php5/extensions,-mysql
|
|
|
|
do-extract:
|
|
@mkdir -p ${WRKDIST}
|
|
unzip -d ${WRKDIST} ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
do-install:
|
|
@mv ${WRKDIST} ${INSTDIR}
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
|
|
@chgrp www ${INSTDIR}/cache
|
|
@chmod g+w ${INSTDIR}/cache
|
|
|
|
.include <bsd.port.mk>
|