freebsd-ports/www/rsstool/Makefile

33 lines
757 B
Makefile

# Created by: 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
USES= iconv
USE_GNOME= libxml2
USE_GMAKE= yes
BUILD_WRKSRC= ${WRKSRC}/src
CONFIGURE_WRKSRC= ${WRKSRC}/src
HAS_CONFIGURE= yes
NO_STAGE= 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>