freebsd-ports/www/rssroll/Makefile
Martin Wilke 492290ee6c - Update to 0.3
PR:		177656
Submitted by:	Nikola Kolev <koue@chaosophia.net> (maintainer)
2013-05-21 06:10:06 +00:00

26 lines
831 B
Makefile

# $FreeBSD$
PORTNAME= rssroll
PORTVERSION= 0.3
CATEGORIES= www
MASTER_SITES= http://chaosophia.net/downloads/rssroll/ \
http://ns1.chaosophia.net/downloads/rssroll/
MAINTAINER= koue@chaosophia.net
COMMENT= RSS collector in C
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
xml2:${PORTSDIR}/textproc/libxml2 \
sqlite3:${PORTSDIR}/databases/sqlite3
GNU_CONFIGURE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rssroll ${PREFIX}/bin
@${MKDIR} ${PREFIX}/www/data/rssroll ${PREFIX}/www/cgi-bin
${INSTALL_PROGRAM} ${WRKSRC}/index.cgi ${PREFIX}/www/cgi-bin/rssroll.cgi
${INSTALL_DATA} ${WRKSRC}/rssrollrc ${PREFIX}/etc/rssrollrc.sample
(cd ${WRKSRC} && ${COPYTREE_SHARE} "html css" ${PREFIX}/www/data/rssroll/)
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/cgi-bin/rssroll.cgi ${PREFIX}/www/data/rssroll/
.include <bsd.port.mk>