1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/news/nzbget/Makefile
Pav Lucistnik 06c0efa8e1 - Update to 0.2.3
PR:		ports/94441
Submitted by:	Lewis Thompson <lewiz@compsoc.man.ac.uk> (maintainer)
2006-03-15 11:57:14 +00:00

36 lines
883 B
Makefile

# New ports collection makefile for: nzbget
# Date created: 13 April 2004
# Whom: Lewis Thompson <purple@lewiz.net>
#
# $FreeBSD$
#
PORTNAME= nzbget
PORTVERSION= 0.2.3
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nzbget
MAINTAINER= lewiz@compsoc.man.ac.uk
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_GETOPT_LONG= yes
PLIST_FILES= bin/nzbget etc/nzbget.cfg.example
post-patch:
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/nzbget.cfg.example ${PREFIX}/etc
.include <bsd.port.mk>