aboutsummaryrefslogtreecommitdiffstats
path: root/www/rssroll/Makefile
blob: 675a0e102bd15f8166faf23ce32c269be9dc6392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

PORTNAME=   rssroll
PORTVERSION=    0.4
PORTREVISION=   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

LICENSE=    BSD

LIB_DEPENDS=    libcurl.so:${PORTSDIR}/ftp/curl \
        libxml2.so:${PORTSDIR}/textproc/libxml2 \
        libsqlite3.so:${PORTSDIR}/databases/sqlite3

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>