1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/www/serendipity/Makefile
Jochen Neumeister 13e7d5724f Update to 2.3.5
Switch to Github

Sponsored by:	Netzkommune GmbH
2020-05-11 13:31:38 +00:00

44 lines
954 B
Makefile

# Created by: babak@farrokhi.net
# $FreeBSD$
PORTNAME= serendipity
PORTVERSION= 2.3.5
CATEGORIES= www
MAINTAINER= joneum@FreeBSD.org
COMMENT= PHP based weblog software
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php shebangfix tar:bzip2
USE_GITHUB= yes
GH_ACCOUNT= s9y
GH_PROJECT= Serendipity
NO_BUILD= YES
SERENDIPITY?= www/${PORTNAME}
PLIST_SUB+= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
USE_PHP= session pcre gd openssl mbstring iconv zlib xml
SUB_FILES= pkg-message
CPE_VENDOR= s9y
SHEBANG_FILES= lang/*.sh \
lang/UTF-8/*.sh
OPTIONS_DEFINE= MYSQL PGSQL SQLITE MAGICK
OPTIONS_DEFAULT= MYSQL MAGICK
MYSQL_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
SQLITE_USE= PHP=sqlite3
MAGICK_RUN_DEPENDS+= convert:graphics/ImageMagick7
do-install:
@-${MKDIR} ${STAGEDIR}${PREFIX}/${SERENDIPITY}
@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${SERENDIPITY}
@(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${SERENDIPITY}/ )
.include <bsd.port.mk>