pkgsrc/www/php-tt-rss/Makefile
ryoon fa588f029a Update to 1.10
Changelog:
* Bugfixes
* Update translations
2013-10-12 13:14:28 +00:00

62 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2013/10/12 13:14:28 ryoon Exp $
#
TTRVER= 1.10
DISTNAME= Tiny-Tiny-RSS-${TTRVER}
PKGNAME= ${PHP_PKG_PREFIX}-tt-rss-${TTRVER}
CATEGORIES= www
MASTER_SITES= -http://github.com/gothfox/Tiny-Tiny-RSS/archive/${TTRVER}.tar.gz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://tt-rss.org/
COMMENT= Tiny Tiny RSS is an open source web-based RSS feed reader
LICENSE= gnu-gpl-v2
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php-dom
# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING= curl
.include "options.mk"
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= # none
NO_BUILD= yes
USE_TOOLS+= pax
TR_DIR= share/tt-rss
INSTALLATION_DIRS= ${TR_DIR}
CHECK_INTERPRETER_SKIP+= share/tt-rss/lib/dojo-src/rebuild-dojo.sh
CHECK_INTERPRETER_SKIP+= share/tt-rss/update.php
CHECK_INTERPRETER_SKIP+= share/tt-rss/update_daemon2.php
CHECK_INTERPRETER_SKIP+= share/tt-rss/utils/extract-i18n-js.pl
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
TR_DIR=${TR_DIR}
CONF_FILES_PERMS= ${PREFIX}/share/tt-rss/config.php-dist \
${PREFIX}/share/tt-rss/config.php \
${APACHE_USER} ${APACHE_GROUP} 640
do-install:
cd ${WRKSRC} && pax -rw -pmp * \
${DESTDIR}${PREFIX}/share/tt-rss
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"