diff options
author | Steve Wills <swills@FreeBSD.org> | 2010-10-06 00:33:02 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2010-10-06 00:33:02 +0000 |
commit | 2927227c0d8951f8cb1ccd89710d283215ae405b (patch) | |
tree | 9de4c73ac5b174250db139e3eb19a17df6851940 /news | |
parent | 10188edc3e2feb66f6fdc56a72b630f4449f2296 (diff) |
- add missing SQLite dependency
- use PYTHON_REL instead of PYVERSION
- add LICENSE
- remove unnecessary BUILD_DEPENDS
PR: ports/151176
Submitted by: Julien Laffaye <kimelto@gmail.com>
Approved by: wxs (co-mentor)
Notes
Notes:
svn path=/head/; revision=262486
Diffstat (limited to 'news')
-rw-r--r-- | news/sabnzbdplus/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/news/sabnzbdplus/Makefile b/news/sabnzbdplus/Makefile index 457b370a8078..9b5eca2bb9ba 100644 --- a/news/sabnzbdplus/Makefile +++ b/news/sabnzbdplus/Makefile @@ -7,6 +7,7 @@ PORTNAME= sabnzbdplus PORTVERSION= 0.5.4 +PORTREVISION= 1 CATEGORIES= news MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sabnzbd-${PORTVERSION} DISTNAME= SABnzbd-${PORTVERSION}-src @@ -17,11 +18,10 @@ COMMENT= A web-interface based binary newsgrabber in python, with nzb support RUN_DEPENDS= cheetah:${PORTSDIR}/devel/py-cheetah \ ${PYTHON_SITELIBDIR}/cherrypy/__init__.py:${PORTSDIR}/www/py-cherrypy \ ${PYTHON_SITELIBDIR}/pythonutils/configobj.py:${PORTSDIR}/devel/py-utils -BUILD_DEPENDS= ${RUN_DEPENDS} -USE_PYTHON= 2.4+ +LICENSE= GPLv2 -PYVERSION= ${PYTHON_VERSION:S/^python//} +USE_PYTHON= 2.4+ NO_BUILD= yes WRKSRC= ${WRKDIR}/SABnzbd-${PORTVERSION} @@ -37,10 +37,16 @@ OPTIONS= PAR2CMDLINE "Required for postprocessing of par files." on \ .include <bsd.port.pre.mk> -.if defined(PYTHON_VERSION) && ${PYVERSION:S/.//} < 25 +.if ${PYTHON_REL} < 250 RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree .endif +.if ${PYTHON_REL} < 250 +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 +.else +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 +.endif + .if !defined(WITHOUT_PAR2CMDLINE) RUN_DEPENDS+= par2repair:${PORTSDIR}/archivers/par2cmdline .endif |