mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- Update to 0.4.1.
- Add OPTIONS. - Respect NOPORTDOCS/NOPORTEXAMPLES case. PR: ports/126612 Submitted by: Jeff Burchell <toxic@doobie.com> Approved by: Jeff Burchell <toxic@doobie.com> (new maintainer)
This commit is contained in:
parent
991a538711
commit
b22337cd80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219813
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= nzbget
|
||||
PORTVERSION= 0.3.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.4.1
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -18,21 +17,36 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
|
||||
uu.3:${PORTSDIR}/converters/uulib
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-parcheck
|
||||
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 etc/nzbget.conf.example
|
||||
PORTDOCS= README
|
||||
PORTEXAMPLES= nzbget.conf.example
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
BROKEN= Does not compile on 5.x
|
||||
.if defined (WITHOUT_PARCHECK)
|
||||
CONFIGURE_ARGS+= --disable-parcheck
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-parcheck
|
||||
LIB_DEPENDS+= par2:${PORTSDIR}/archivers/libpar2
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
do-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/nzbget.conf.example ${PREFIX}/etc
|
||||
@${INSTALL_DATA} ${WRKSRC}/nzbget ${PREFIX}/bin
|
||||
.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>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nzbget-0.3.1.tar.gz) = 20c4b3ec0cf2da7fa48dcb985d7a82b7
|
||||
SHA256 (nzbget-0.3.1.tar.gz) = 1baacc427e9bacf6b2dcfa50f283a9f62b2f467ac70ab6bd4d80e9d20e8e1bbb
|
||||
SIZE (nzbget-0.3.1.tar.gz) = 222351
|
||||
MD5 (nzbget-0.4.1.tar.gz) = 08803146d2ffc4792cc0f12cdbf03da0
|
||||
SHA256 (nzbget-0.4.1.tar.gz) = aae9e1b9b0eb7f4f6418a1e0e516c583fab43d37e6ecc1ffc4f729bdd7e4c69e
|
||||
SIZE (nzbget-0.4.1.tar.gz) = 251338
|
||||
|
Loading…
Reference in New Issue
Block a user