mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-08 02:15:08 +00:00
0004cc0c2e
- Fix PYTHON_PKGNAMEPREFIX Reported by: antoinebot
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# Created by: Kevin Golding <ports@caomhin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sorl-thumbnail
|
|
PORTVERSION= 3.2.5
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@caomhin.org
|
|
COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DJANGO PDF WORD
|
|
DJANGO_DESC= Enable Django
|
|
PDF_DESC= PDF Thumbnails
|
|
WORD_DESC= Word Document thumbnail handling
|
|
|
|
OPTIONS_DEFAULT= DJANGO
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDJANGO}
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django18
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MPDF}
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/Magick-config:${PORTSDIR}/graphics/ImageMagick
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MWORD}
|
|
RUN_DEPENDS+= wvVersion:${PORTSDIR}/textproc/wv
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|