aboutsummaryrefslogtreecommitdiff
path: root/textproc/rss2html/Makefile
blob: ea8c4252e1d05c98ef34083a45d68c163f09dfa0 (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
33
34
# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$

PORTNAME=	rss2html
PORTVERSION=	0.8.2
PORTREVISION=	4
CATEGORIES=	textproc
MASTER_SITES=	http://mirror.mcx2.org/

MAINTAINER=	rodrigo@FreeBSD.org
COMMENT=	RSS to HTML converter

BROKEN=		unfetchable

LICENSE=	GPLv2

LIB_DEPENDS+=	libcurl.so:ftp/curl

GNU_CONFIGURE=	yes
CFLAGS+=	"-I${LOCALBASE}/include" "-L${LOCALBASE}/lib"

PLIST_FILES=	bin/rss2html man/man1/rss2html.1.gz
PORTDOCS=	rss2html.links usage.example rss2html.template

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e '16,20d' ${WRKSRC}/Makefile.acr

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>