1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/news/hellanzb/Makefile
Marcus von Appen 885b528f02 New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
    USE_TWISTED=        yes
    USE_TWISTED=        conch names
    USE_TWISTED_RUN=    yes
you now would write
    USES=       twisted
    USES=       twisted:conch,names
    USES=       twisted:run
2013-12-08 12:04:07 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Philip Jenvey <pjenvey@groovie.org>
# $FreeBSD$
PORTNAME= hellanzb
PORTVERSION= 0.13
PORTREVISION= 2
CATEGORIES= news
MASTER_SITES= http://www.hellanzb.com/distfiles/
MAINTAINER= pjenvey@groovie.org
COMMENT= Nzb downloader and post processor
LICENSE= BSD
RUN_DEPENDS= par2:${PORTSDIR}/archivers/par2cmdline \
flac:${PORTSDIR}/audio/flac \
shorten:${PORTSDIR}/audio/shorten \
${PYTHON_PKGNAMEPREFIX}yenc>=0:${PORTSDIR}/news/py-yenc \
mac:${PORTSDIR}/audio/mac
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
USES= twisted:run,web
PORTDOCS= CHANGELOG CREDITS README
NO_STAGE= yes
.include <bsd.port.options.mk>
# more fully-featured rar needs i386
.if ${ARCH} == "i386"
RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar
.else
RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
.endif
post-install:
@if [ ! -f ${PREFIX}/etc/hellanzb.conf ]; then \
${ECHO} "Installing default configuration file."; \
${INSTALL_DATA} ${WRKSRC}/etc/hellanzb.conf.sample ${PREFIX}/etc/hellanzb.conf; \
fi
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>