1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/Stikked/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

54 lines
1.1 KiB
Makefile

# Created by: Dan Langille <dvl@FreeBSD.org>
# $FreeBSD$
PORTNAME= Stikked
DISTVERSION= 0.13.0
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= dvl@FreeBSD.org
COMMENT= PHP-based Pastebin, with a simple and easy to use user interface
USES= php:web
USE_GITHUB= yes
GH_ACCOUNT= claudehohl
USE_PHP= ctype filter gd pgsql session
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= PGSQL
MYSQL_DESC= Include the PHP shared extension for MySQL
PGSQL_DESC= Include the PHP shared extension for PostgreSQL
SQLITE_DESC= Include the PHP shared extension for SQLite3
.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+= sqlite3
.endif
do-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC}/htdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
${INSTALL_DATA} ${STAGEDIR}${WWWDIR}/application/config/stikked.php.dist ${STAGEDIR}${ETCDIR}/stikked.php.sample
${LN} -sf ${ETCDIR}/stikked.php ${STAGEDIR}${WWWDIR}/application/config/
.include <bsd.port.mk>