aboutsummaryrefslogtreecommitdiff
path: root/www/rsstool/Makefile
blob: bfdb025ddb11914cf2c381b52aeb831e0a911aac (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
35
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>

PORTNAME=	rsstool
PORTVERSION=	1.0.0
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	BERLIOS
DISTNAME=	${PORTNAME}-${PORTVERSION}-src

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Read, parse, merge and write RSS and Atom feeds

LICENSE=	GPLv2+

USES=		gmake gnome iconv
USE_GNOME=	libxml2
BUILD_WRKSRC=	${WRKSRC}/src
CONFIGURE_WRKSRC=	${WRKSRC}/src
HAS_CONFIGURE=	yes

OPTIONS_DEFINE=	DOCS EXAMPLES

post-patch:
	@cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e 's|gcc|${CC}|' Makefile

do-install:
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

do-install-DOCS-on:
	cd ${WRKSRC} && ${COPYTREE_SHARE} "*html images" ${STAGEDIR}${DOCSDIR}/

do-install-EXAMPLES-on:
	cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>