44 lines
896 B
Makefile
44 lines
896 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2010/09/23 21:23:34 ckuethe Exp $
|
||
|
|
||
|
COMMENT = fast, light, user-friendly web forum
|
||
|
|
||
|
V=1.4.2
|
||
|
DISTNAME = fluxbb-${V}
|
||
|
CATEGORIES = www
|
||
|
|
||
|
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= :php5-mysql-*:www/php5/extensions,-mysql
|
||
|
|
||
|
do-extract:
|
||
|
@mkdir -p ${WRKDIST}
|
||
|
unzip -d ${WRKDIST} ${FULLDISTDIR}/${EXTRACT_ONLY}
|
||
|
|
||
|
do-install:
|
||
|
@mv ${WRKDIST} ${INSTDIR}
|
||
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
|
||
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
|
||
|
@chgrp www ${INSTDIR}/cache
|
||
|
@chmod g+w ${INSTDIR}/cache
|
||
|
|
||
|
.include <bsd.port.mk>
|