aboutsummaryrefslogtreecommitdiffstats
path: root/www/cplanet/Makefile
blob: 92e4f9b320c5cdf8b0c4db2b3cd9a4f21cdf6bbc (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
31
32
# $FreeBSD$

PORTNAME=   cplanet
PORTVERSION=    0.9
PORTREVISION=   2
CATEGORIES= www textproc
MASTER_SITES=   http://files.etoilebsd.net/cplanet/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    RSS Feed Aggregator that generate static html

BUILD_DEPENDS=  ${LOCALBASE}/lib/libneo_cs.a:www/clearsilver
LIB_DEPENDS=    libexpat.so:textproc/expat2 \
        libcurl.so:ftp/curl

LICENSE=    BSD2CLAUSE

OPTIONS_DEFINE= EXAMPLES

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}/${MANPREFIX}/man/man1

post-install-EXAMPLES-on:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/samples/cplanet-atom.cs \
        ${WRKSRC}/samples/cplanet-opml.cs \
        ${WRKSRC}/samples/cplanet-rss.cs \
        ${WRKSRC}/samples/cplanet.cs \
        ${WRKSRC}/samples/cplanet.hdf ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>