diff options
author | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-09-04 01:01:56 +0000 |
---|---|---|
committer | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-09-04 01:01:56 +0000 |
commit | b22337cd80f31485a340d13094123343e39bbed2 (patch) | |
tree | c714e6e20a0e9e03f55df99b84ed20b16bf792a1 /news/nzbget | |
parent | - Fix build WITH_MIKMOD (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=219813
Diffstat (limited to 'news/nzbget')
-rw-r--r-- | news/nzbget/Makefile | 26 | ||||
-rw-r--r-- | news/nzbget/distinfo | 6 |
2 files changed, 23 insertions, 9 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile index 091e48e0aba7..e96022712036 100644 --- a/news/nzbget/Makefile +++ b/news/nzbget/Makefile @@ -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> diff --git a/news/nzbget/distinfo b/news/nzbget/distinfo index 3aa9d2540fa3..d39b4514f1d2 100644 --- a/news/nzbget/distinfo +++ b/news/nzbget/distinfo @@ -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 |