aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/py-subliminal/Makefile
blob: 06cba60e1b0db951c269e01997a2a9f6ee0e0baa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: William Grzybowski <william88@gmail.com>
# $FreeBSD$

PORTNAME=   subliminal
PORTVERSION=    0.6.3
CATEGORIES= multimedia python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= william88@gmail.com
COMMENT=    Python library to search and download subtitles

LICENSE=    LGPL3

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0:${PORTSDIR}/www/py-beautifulsoup \
        ${PYTHON_PKGNAMEPREFIX}enzyme>0:${PORTSDIR}/multimedia/py-enzyme \
        ${PYTHON_PKGNAMEPREFIX}guessit>0:${PORTSDIR}/multimedia/py-guessit \
        ${PYTHON_PKGNAMEPREFIX}requests<1:${PORTSDIR}/www/py-requests \
        ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib

USE_PYTHON= -2.7
USE_PYDISTUTILS=    easy_install

PLIST_FILES=    bin/subliminal \
        %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 270
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
.endif

.include <bsd.port.post.mk>