aboutsummaryrefslogtreecommitdiffstats
path: root/www/rsstool/Makefile
blob: bc1cf68f1fe9906b0228ffb15351a67a7d4f268e (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
36
# New ports collection makefile for:    rsstool
# Date created:     11 June 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   rsstool
DISTVERSION=    1.0.0
DISTVERSIONSUFFIX=  -src
CATEGORIES= www
MASTER_SITES=   BERLIOS

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

USE_ICONV=  yes
USE_GNOME=  libxml2
USE_GMAKE=  yes
BUILD_WRKSRC=   ${WRKSRC}/src
CONFIGURE_WRKSRC=   ${WRKSRC}/src
HAS_CONFIGURE=  yes

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

do-install:
    @${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef NOPORTDOCS
    @cd ${WRKSRC}/&&${COPYTREE_SHARE} "*html images" ${DOCSDIR}/
.endif
.ifndef NOPORTEXAMPLES
    @cd ${WRKSRC}/contrib/&&${COPYTREE_SHARE} . ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>