summaryrefslogtreecommitdiff
path: root/www/cplanet/Makefile
blob: 8bea4da5b005c62de9e0fb9d7398b9d27c425a8d (plain)
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

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 generates static HTML

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

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

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>