mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
dd3707c637
PR: 133737 Submitted by: Jeff Burchell <toxic@doobie.com> (maintainer)
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: nzbget
|
|
# Date created: 13 April 2004
|
|
# Whom: Lewis Thompson <purple@lewiz.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nzbget
|
|
PORTVERSION= 0.6.0
|
|
CATEGORIES= news
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= toxic@doobie.com
|
|
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
|
|
|
|
OPTIONS= PARCHECK "Enable autopar/parcheck (Requires libpar2)" On
|
|
|
|
PLIST_FILES= bin/nzbget
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= nzbget.conf.example
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined (WITHOUT_PARCHECK)
|
|
CONFIGURE_ARGS+= --disable-parcheck
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-parcheck
|
|
LIB_DEPENDS+= par2:${PORTSDIR}/archivers/libpar2
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/nzbget.conf.example ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|