1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/news/hellanzb/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

45 lines
966 B
Makefile

# Created by: Philip Jenvey <pjenvey@groovie.org>
# $FreeBSD$
PORTNAME= hellanzb
PORTVERSION= 0.13
PORTREVISION= 4
CATEGORIES= news
MASTER_SITES= http://www.hellanzb.com/distfiles/
MAINTAINER= pjenvey@groovie.org
COMMENT= Nzb downloader and post processor
LICENSE= BSD3CLAUSE
RUN_DEPENDS= par2:archivers/par2cmdline \
flac:audio/flac \
shorten:audio/shorten \
${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yenc>=0:news/py-yenc@${PY_FLAVOR} \
mac:audio/mac
USE_PYTHON= distutils
USES= python:2.7
PORTDOCS= CHANGELOG CREDITS README
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
# more fully-featured rar needs i386
.if ${ARCH} == "i386"
RUN_DEPENDS+= rar:archivers/rar
.else
RUN_DEPENDS+= unrar:archivers/unrar
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>