Changeset View
Changeset View
Standalone View
Standalone View
head/www/tt-rss/Makefile
# Created by: Thierry Thomas <thierry@pompo.net> | # Created by: Thierry Thomas <thierry@pompo.net> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= tt-rss | PORTNAME= tt-rss | ||||
PORTVERSION= 2017.06.05 | PORTVERSION= g20171103 | ||||
PORTEPOCH= 1 | |||||
CATEGORIES= www | CATEGORIES= www | ||||
MASTER_SITES= https://tt-rss.org/fox/tt-rss/repository/archive${EXTRACT_SUFX}?ref=${GL_TAGNAME}#/ | MASTER_SITES= https://git.tt-rss.org/git/tt-rss/archive/ | ||||
DISTNAME= ${GIT_TAGNAME} | |||||
MAINTAINER= thierry@FreeBSD.org | MAINTAINER= thierry@FreeBSD.org | ||||
COMMENT= Tiny Tiny RSS: web-based news feed (RSS/Atom) aggregator | COMMENT= Tiny Tiny RSS: web-based news feed (RSS/Atom) aggregator | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
GL_TAGNAME= b0113adac42383b8039eb92ccf3ee2ec0ee70346 | GIT_TAGNAME= 8569b95a2 | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
USES= php:cli,web shebangfix gettext-tools | |||||
USE_PHP= ctype dom fileinfo hash json mbstring pcntl posix session xmlrpc | USE_PHP= ctype dom fileinfo hash json mbstring pcntl posix session xmlrpc | ||||
REINPLACE_ARGS= -i "" | REINPLACE_ARGS= -i "" | ||||
USES= php:cli,web shebangfix tar:bz2 | |||||
SHEBANG_FILES= lib/dojo-src/rebuild-dojo.sh utils/extract-i18n-js.pl | SHEBANG_FILES= lib/dojo-src/rebuild-dojo.sh utils/extract-i18n-js.pl | ||||
WRKSRC= ${WRKDIR}/tt-rss-${GL_TAGNAME}-${GL_TAGNAME} | WRKSRC= ${WRKDIR}/tt-rss | ||||
USE_RC_SUBR= ttrssd | USE_RC_SUBR= ttrssd | ||||
OPTIONS_DEFINE= CURL GD | OPTIONS_DEFINE= CURL GD | ||||
OPTIONS_SINGLE= DB | OPTIONS_SINGLE= DB | ||||
OPTIONS_SINGLE_DB= MYSQL PGSQL | OPTIONS_SINGLE_DB= MYSQL PGSQL | ||||
OPTIONS_DEFAULT= CURL GD MYSQL | OPTIONS_DEFAULT= CURL GD MYSQL | ||||
CURL_DESC= Use SimplePie instead of Magpie | CURL_DESC= Use SimplePie instead of Magpie | ||||
Show All 28 Lines | |||||
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} | PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} | ||||
PKGMESSAGE= ${WRKDIR}/pkg-message | PKGMESSAGE= ${WRKDIR}/pkg-message | ||||
PHP2FIX= config.php-dist update.php update_daemon2.php | PHP2FIX= config.php-dist update.php update_daemon2.php | ||||
SCRIPTS= update.php update_daemon2.php | SCRIPTS= update.php update_daemon2.php | ||||
pre-configure: | pre-configure: | ||||
${REINPLACE_CMD} -E "1,/define.*VERSION_STATIC/s/([0-9]+\.[0-9]+)/\1 (${GL_TAGNAME})/" ${WRKSRC}/include/version.php | ${REINPLACE_CMD} -E "1,/define.*VERSION_STATIC/s/([0-9]+\.[0-9]+)/\1 (${GIT_TAGNAME})/" ${WRKSRC}/include/version.php | ||||
.for script in ${PHP2FIX} | .for script in ${PHP2FIX} | ||||
${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \ | ${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \ | ||||
-e 's|/usr/bin/env php| ${LOCALBASE}/bin/php|' \ | -e 's|/usr/bin/env php| ${LOCALBASE}/bin/php|' \ | ||||
${WRKSRC}/${script} | ${WRKSRC}/${script} | ||||
.endfor | .endfor | ||||
do-configure: | do-configure: | ||||
.if ${PORT_OPTIONS:MPGSQL} | .if ${PORT_OPTIONS:MPGSQL} | ||||
Show All 15 Lines |