1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/mybb/Makefile
2021-04-06 16:31:07 +02:00

31 lines
683 B
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
PORTNAME= mybb
DISTVERSION= 1.8.22
CATEGORIES= www
MAINTAINER= joneum@FreeBSD.org
COMMENT= PHP-based bulletin board / discussion forum system
LICENSE= GPLv3
USE_GITHUB= yes
GH_TAGNAME= ${PORTNAME}_1822
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>