freebsd-ports/www/rsstool/Makefile
Andrew Pantyukhin e963ac6d93 - Update to 1.0.0rc2
- Respect CC
- Install docs and examples
2007-07-24 14:33:43 +00:00

40 lines
946 B
Makefile

# New ports collection makefile for: rsstool
# Date created: 11 June 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rsstool
DISTVERSION= 1.0.0rc2
DISTVERSIONSUFFIX= -src
CATEGORIES= www
MASTER_SITES= BERLIOS CENKES
MAINTAINER= infofarmer@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
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
post-patch:
@cd ${BUILD_WRKSRC}/&&${REINPLACE_CMD} -e '/^CFLAGS=/s|-O3||;\
/^CFLAGS=/s|=|+=|;s|gcc|${CC}|' Makefile configure.in
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>