1cc0be0799
Changelog: https://blog.mybb.com/2017/11/28/mybb-1-8-14-released-security-maintenance-release/ Approved by: mentors (implicit) MFH: 2017Q4 Security: addad6de-d752-11e7-99bf-00e04c1ea73d
32 lines
726 B
Makefile
32 lines
726 B
Makefile
# Created by: Martin Wilke <miwi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mybb
|
|
DISTVERSION= 1.8.14
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
|
COMMENT= PHP-based bulletin board / discussion forum system
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_TAGNAME= ${PORTNAME}_1814
|
|
|
|
USES= cpe mysql php:web
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USE_PHP= xsl mysqli iconv gd xml
|
|
SUB_FILES= pkg-message
|
|
WWWDIR?= ${PREFIX}/www/${PORTNAME}
|
|
PLIST_SUB= WWWOWN=${WWWOWN}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
|
|
${TOUCH} ${STAGEDIR}${WWWDIR}/inc/config.php.sample
|
|
${MV} ${STAGEDIR}${WWWDIR}/inc/settings.php \
|
|
${STAGEDIR}${WWWDIR}/inc/settings.php.sample
|
|
|
|
.include <bsd.port.mk>
|