From 66295be37943c8671f6cd021b2ff1d15198c746b Mon Sep 17 00:00:00 2001 From: wen Date: Fri, 5 Jun 2015 03:02:45 +0000 Subject: - Update to 1.5.8 - Add LICENSE [1] - Add CPE [1] - Use OPTIONS helpers [1] - Fix tab after WWW: [1] - Fix file permissions - Update pkg-descr PR: 200574 [1] Submitted by: amdmi3@ [1] --- www/fluxbb/Makefile | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) (limited to 'www/fluxbb/Makefile') diff --git a/www/fluxbb/Makefile b/www/fluxbb/Makefile index 546deb101eb3..3255902cfb3a 100644 --- a/www/fluxbb/Makefile +++ b/www/fluxbb/Makefile @@ -2,42 +2,29 @@ # $FreeBSD$ PORTNAME= fluxbb -PORTVERSION= 1.4.4 +PORTVERSION= 1.5.8 CATEGORIES= www MASTER_SITES= http://fluxbb.org/download/releases/${PORTVERSION}/ MAINTAINER= wen@FreeBSD.org COMMENT= Fast and lightweight PHP-powered discussion board +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cpe SUB_FILES= pkg-message NO_BUILD= yes USE_PHP= yes OPTIONS_DEFINE= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL - -.include - -.if ${PORT_OPTIONS:MMYSQL} -USE_PHP+= mysql -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USE_PHP+= pgsql -.endif - -.if ${PORT_OPTIONS:MSQLITE} -USE_PHP+= sqlite -.endif - -do-extract: - @${MKDIR} ${WRKSRC} - @${TAR} -yxf ${DISTDIR}/${DISTFILES} -C ${WRKSRC} +MYSQL_USE= PHP=mysql +PGSQL_USE= PHP=pgsql +SQLITE_USE= PHP=sqlite do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' >> ${TMPPLIST} .include -- cgit