Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= easy-thumbnails |
4 |
PORTNAME= easy-thumbnails |
5 |
PORTVERSION= 2.3 |
5 |
PORTVERSION= 2.5 |
6 |
CATEGORIES= graphics python |
6 |
CATEGORIES= graphics python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django- |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django- |
Lines 11-20
Link Here
|
11 |
COMMENT= Easy thumbnails for Django |
11 |
COMMENT= Easy thumbnails for Django |
12 |
|
12 |
|
13 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE= BSD3CLAUSE |
|
|
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${FLAVOR} |
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \ |
|
|
17 |
${PYTHON_PKGNAMEPREFIX}pillow>=4:graphics/py-pillow@${PY_FLAVOR} |
18 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}pillow>=4:graphics/py-pillow@${PY_FLAVOR} |
16 |
|
20 |
|
17 |
USES= python |
21 |
USES= python |
18 |
USE_PYTHON= distutils autoplist |
22 |
USE_PYTHON= distutils concurrent autoplist |
|
|
23 |
NO_ARCH= yes |
24 |
PORTDOCS= * |
19 |
|
25 |
|
|
|
26 |
OPTIONS_DEFINE= DOCS |
27 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} |
28 |
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" |
29 |
|
30 |
post-patch: |
31 |
@${REINPLACE_CMD} -e 's|^\(release = \)\(easy_thumbnails.get_version()\)|\1version|' \ |
32 |
${WRKSRC}/docs/conf.py |
33 |
|
34 |
post-install-DOCS-on: |
35 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
36 |
@(cd ${WRKSRC}/build/sphinx/html && \ |
37 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ |
38 |
"! -name .buildinfo -and ! -name objects.inv") |
39 |
|
20 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |