openbsd-ports/www/tt-rss/Makefile
2012-08-25 11:41:46 +00:00

39 lines
849 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.13 2012/08/25 11:41:46 ajacoutot Exp $
COMMENT= webbased rss reader with standalone look and feel
DISTNAME= tt-rss-1.5.11
CATEGORIES= www
REVISION = 1
HOMEPAGE= http://tt-rss.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/download/
NO_BUILD= Yes
NO_REGRESS= 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
do-install:
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>