mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
fdb267dc34
Use news/sabnzbdplus instead. Submitted by: maintaier (private email) Prompted by: QAT QA run
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# New ports collection makefile for: sabnzbd
|
|
# Date created: 16 March 2006
|
|
# Whom: Daniel Bretoi
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sabnzbd
|
|
PORTVERSION= 0.2.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= news
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= sabnzbd
|
|
DISTNAME= SABnzbd-${PORTVERSION}
|
|
|
|
MAINTAINER= daniel@netwalk.org
|
|
COMMENT= A web-interface based binary newsgrabber in python, with nzb support
|
|
|
|
DEPRECATED= no longer developed, use news/sabnzbdplus instead
|
|
EXPIRATION_DATE= 2008-12-21
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= cheetah:${PORTSDIR}/devel/py-cheetah \
|
|
${PYTHON_SITELIBDIR}/cherrypy/__init__.py:${PORTSDIR}/www/py-cherrypy-old \
|
|
${PYTHON_SITELIBDIR}/pythonutils/configobj.py:${PORTSDIR}/devel/py-utils \
|
|
${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree
|
|
|
|
USE_PYTHON= 2.4+
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_PKGNAME= SABnzbd
|
|
|
|
PLIST_SUB= PORTNAME=${PORTNAME}
|
|
SUB_LIST+= PORTNAME=${PORTNAME}
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS= PAR2CMDLINE "Required for postprocessing of par files." on \
|
|
UNRAR "Often required for unpacking many downloads." on \
|
|
FEEDPARSER "rss-feed support." on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_PAR2CMDLINE)
|
|
RUN_DEPENDS+= par2repair:${PORTSDIR}/archivers/par2cmdline
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_FEEDPARSER)
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_UNRAR)
|
|
RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PORTNAME%%|${PORTNAME}|' ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
${CHMOD} -R go+r ${PREFIX}/share/${PORTNAME}/
|
|
${CHMOD} -R go+r ${PREFIX}/share/doc/${PORTNAME}/
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|