openbsd-ports/www/tt-rss/Makefile
rpe 99f354891f update tt-rss to 1.7.8
with feedback and ok landry@ sthen@
2013-04-14 20:28:09 +00:00

40 lines
936 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.15 2013/04/14 20:28:09 rpe Exp $
COMMENT= webbased rss reader with standalone look and feel
V= 1.7.8
DISTNAME= Tiny-Tiny-RSS-$V
PKGNAME= tt-rss-$V
CATEGORIES= www
HOMEPAGE= http://tt-rss.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= https://github.com/gothfox/Tiny-Tiny-RSS/archive/${V}.tar.gz?dummy=/
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/tt-rss
SUBST_VARS= INSTDIR MODPHP_BIN
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-pgsql \
lang/php/${MODPHP_VERSION},-curl \
lang/php/${MODPHP_VERSION},-xmlrpc
WRKDIST= ${WRKDIR}/Tiny-Tiny-RSS-$V
do-install:
find ${WRKDIST}/lib/ -name '*.js.uncompressed.js' -exec rm {} +
cp -Rp ${WRKDIST} ${INSTDIR}
${SUBST_CMD} ${INSTDIR}/{update.php,config.php-dist}
rm -Rf ${INSTDIR}/{*.{beforesubst,orig},.*,debian}
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>