summaryrefslogtreecommitdiffstats
path: root/news/nzbget/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-04-17 21:26:30 +0000
committerpav <pav@FreeBSD.org>2004-04-17 21:26:30 +0000
commit5f9e13f079b0416eadbda9e09db6bc5ba2af85a3 (patch)
tree2066cd2032b974d2fa58bac19f833243ae938141 /news/nzbget/Makefile
parente2211d77200a2b6d88be848f6e5bc80f201a65c9 (diff)
downloadFreeBSD-ports-5f9e13f079b0416eadbda9e09db6bc5ba2af85a3.zip
FreeBSD-ports-5f9e13f079b0416eadbda9e09db6bc5ba2af85a3.tar.gz
Add nzbget, a NZB binaries format downloader from Usenet groups.
PR: ports/65509 Submitted by: Lewis Thompson <purple@lewiz.net>
Diffstat (limited to 'news/nzbget/Makefile')
-rw-r--r--news/nzbget/Makefile35
1 files changed, 35 insertions, 0 deletions
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 <purple@lewiz.net>
+#
+# $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 <bsd.port.mk>
OpenPOWER on IntegriCloud