pkgsrc/news/hellanzb/Makefile
bjs 8d05f8b941 Import hellanzb-0.14, SVN revision 1087 (there were significant bug-fixes
after the least release).

Hellanzb is a Python application designed for UNIX0-like environments that
retrieves nzb files and fully processes them; the goal is getting
files from USENET as convenient and painless as possible. All that's
required is moving an nzb file to the queue directory. The rest, i.e.
fetching, par-checking, un-raring, etc. is handled by hellanzb.

it also comes with this fantastic ASCII art (behold!):

          ;;;;            .  .
     ... :liil ...........:..:      ,._    ,._      ...................
     :   l$$$:  _.,._       _..,,._ "$$$b. "$$$b.   `_..,,._        :::
     :   $$$$.d$$$$$$L   .d$$$$$$$$L $$$$:  $$$$: .d$$$$$$$$$;      :::
     :  :$$$$P`  T$$$$: :$$$$`  7$$F:$$$$  :$$$$ :$$$$: `$$$$ __  _  |_
     :  l$$$F   :$$$$$  8$$$l"""""` l$$$l  l$$$l l$$$l   $$$L | ) /_ |_)
     :  $$$$:   l$$$$$L `4$$$bcmang;ACID$::$$$88:`4$$$bmm$$$$;.     ...
     :    ```      ```""              ```    ```    .    ```.     ..:::..
     :..............................................:   v 0 . 1 4  `:::`
                                                                     `
2008-07-30 13:26:39 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/07/30 13:26:39 bjs Exp $
#
.include "../../news/hellanzb/Makefile.version"
DISTNAME= hellanzb-${HELLANZB_VERSION}.${HELLANZB_SVN_REV}
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://www.hellanzb.com:8080/trac
COMMENT= Command line nntp file grabber
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-twisted>=1.3:../../net/py-twisted
DEPENDS+= par2>=0.4:../../archivers/par2
DEPENDS+= unrar>=3.5.4:../../archivers/unrar
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 25 24
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
WRKSRC= ${WRKDIR}/hellanzb-${HELLANZB_VERSION}-trunk
CONF_FILES= ${EGDIR}/hellanzb.conf ${PKG_SYSCONFDIR}/hellanzb.conf
SUBST_CLASSES+= conf
SUBST_FILES.conf= ${WRKDIR}/hellanzb.conf
SUBST_MESSAGE.conf= Performing pathname substitutions in hellanzb.conf.
SUBST_STAGE.conf= pre-install
SUBST_VARS.conf= PREFIX
post-extract:
${CP} ${FILESDIR}/hellanzb.conf ${WRKDIR}
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKDIR}/hellanzb.conf ${DESTDIR}${EGDIR}
.include "../../lang/python/extension.mk"
.include "../../textproc/py-xml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"