diff options
author | wen <wen@FreeBSD.org> | 2015-06-05 11:02:45 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2015-06-05 11:02:45 +0800 |
commit | 66295be37943c8671f6cd021b2ff1d15198c746b (patch) | |
tree | 1b117cd1b56430bd4356d300f389409c908c30cd /www/fluxbb/Makefile | |
parent | d9088ab2080636e634d209fa8baa1344ebe4471b (diff) | |
download | freebsd-ports-gnome-66295be37943c8671f6cd021b2ff1d15198c746b.tar.gz freebsd-ports-gnome-66295be37943c8671f6cd021b2ff1d15198c746b.tar.zst freebsd-ports-gnome-66295be37943c8671f6cd021b2ff1d15198c746b.zip |
- 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]
Diffstat (limited to 'www/fluxbb/Makefile')
-rw-r--r-- | www/fluxbb/Makefile | 29 |
1 files changed, 8 insertions, 21 deletions
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 <bsd.port.options.mk> - -.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 <bsd.port.mk> |