pkgsrc/www/php-tt-rss/Makefile
ryoon 9e68665a07 Update to 1.12
Changelog:
1.11 12/21/2013
    Minor parser bugfixes
    Fix upgrading from older tt-rss versions
    Minor performance improvements
    Other bugfixes
    API: fix labels not applying because API call expected labels in wrong format

1.12 03/21/2014
    Parser / misc bugfixes
    Default theme update
    Traditional Chinese (zh_TW) translation
    Various comics plugins merged into af_comics
2014-06-29 15:23:47 +00:00

58 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2014/06/29 15:23:47 ryoon Exp $
TTRVER= 1.12
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
DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
.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"