freebsd-ports/www/rsstool/Makefile
Dmitry Marakasov c8865673f9 - Style fixes
- Add LICENSE
- Unsilence installation
- Drop @dirrm* from plist
2015-03-07 14:47:36 +00:00

32 lines
803 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= rsstool
PORTVERSION= 1.0.0
PORTREVISION= 1
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 # or later
USES= iconv gmake
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/
cd ${WRKSRC} && ${COPYTREE_SHARE} "*html images" ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>