aboutsummaryrefslogtreecommitdiffstats
path: root/www/rssroll/Makefile
blob: 2e572ce47bb76bf5b3059ab5bf77468791faad7d (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
# $FreeBSD$

PORTNAME=   rssroll
PORTVERSION=    0.5
CATEGORIES= www

MAINTAINER= koue@chaosophia.net
COMMENT=    RSS collector in C

LICENSE=    BSD2CLAUSE

LIB_DEPENDS=    libcurl.so:ftp/curl \
        libxml2.so:textproc/libxml2 \
        libsqlite3.so:databases/sqlite3

USE_GITHUB= yes
GH_ACCOUNT= koue

GNU_CONFIGURE=  yes

PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/rssroll ${STAGEDIR}${PREFIX}/bin
    (cd ${WRKSRC} && ${COPYTREE_SHARE} "html css" ${STAGEDIR}${PREFIX}/www/rssroll/)
    ${INSTALL_PROGRAM} ${WRKSRC}/src/index.cgi ${STAGEDIR}${PREFIX}/www/rssroll/index.cgi
    ${INSTALL_DATA} ${WRKSRC}/rssrollrc ${STAGEDIR}${PREFIX}/etc/rssrollrc.sample

.include <bsd.port.mk>