From 5f9e13f079b0416eadbda9e09db6bc5ba2af85a3 Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 17 Apr 2004 21:26:30 +0000 Subject: Add nzbget, a NZB binaries format downloader from Usenet groups. PR: ports/65509 Submitted by: Lewis Thompson --- news/nzbget/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 news/nzbget/Makefile (limited to 'news/nzbget/Makefile') diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile new file mode 100644 index 0000000..11c1d8f --- /dev/null +++ b/news/nzbget/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: nzbget +# Date created: 13 April 2004 +# Whom: Lewis Thompson +# +# $FreeBSD$ +# + +PORTNAME= nzbget +PORTVERSION= 0.1.1 +CATEGORIES= news +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= nzbget + +MAINTAINER= purple@lewiz.net +COMMENT= A binary newsreader supporting NZB files + +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ + uu.3:${PORTSDIR}/converters/uulib + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \ + LOCALBASE="${LOCALBASE}" +USE_GMAKE= yes +USE_REINPLACE= yes + +PLIST_FILES= bin/nzbget etc/nzbget.cfg.example + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/nzbget|${PREFIX}/bin/nzbget|' ${WRKSRC}/Makefile.in + +post-install: + ${INSTALL_DATA} ${WRKSRC}/nzbget.cfg.example ${PREFIX}/etc + +.include -- cgit v1.1