1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/rssroll/Makefile

31 lines
820 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= rssroll
PORTVERSION= 0.4.1
CATEGORIES= www
MAINTAINER= koue@chaosophia.net
COMMENT= RSS collector in C
2014-12-21 16:09:04 +00:00
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libxml2.so:${PORTSDIR}/textproc/libxml2 \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
USE_GITHUB= yes
GH_ACCOUNT= koue
GNU_CONFIGURE= yes
PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rssroll ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/www/data/rssroll ${STAGEDIR}${PREFIX}/www/cgi-bin
${INSTALL_PROGRAM} ${WRKSRC}/index.cgi ${STAGEDIR}${PREFIX}/www/cgi-bin/rssroll.cgi
${INSTALL_DATA} ${WRKSRC}/rssrollrc ${STAGEDIR}${PREFIX}/etc/rssrollrc.sample
(cd ${WRKSRC} && ${COPYTREE_SHARE} "html css" ${STAGEDIR}${PREFIX}/www/data/rssroll/)
.include <bsd.port.mk>