aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-imdbpy/Makefile
blob: c15dd8163e956a4ffbf18a78f5e7051adce8ffae (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
34
35
36
37
38
39
# Created by: ijliao
# $FreeBSD$

PORTNAME=   imdbpy
PORTVERSION=    6.2
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP \
        SF/${PORTNAME}/IMDbPY/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   IMDbPY-${PORTVERSION}

MAINTAINER= python@FreeBSD.org
COMMENT=    Retrieve and manage the data of the IMDb movie database

LICENSE=    GPLv2 GPLv3
LICENSE_COMB=   dual

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml

OPTIONS_DEFINE= DOCS SQLALCHEMY
OPTIONS_DEFAULT=SQLALCHEMY
SQLALCHEMY_DESC=SQLAlchemy support

NO_ARCH=    yes
USES=       python shebangfix
USE_PYTHON= autoplist distutils
SHEBANG_FILES=  docs/goodies/download_applydiffs.py \
        docs/goodies/reduce.sh

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}

SQLALCHEMY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.10.0:databases/py-sqlalchemy-migrate \
            ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}/
    cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>