Changeset View
Changeset View
Standalone View
Standalone View
graphics/py-sorl-thumbnail/Makefile
Show All 21 Lines | |||||
OPTIONS_DEFINE= DJANGO PDF WORD | OPTIONS_DEFINE= DJANGO PDF WORD | ||||
DJANGO_DESC= Enable Django | DJANGO_DESC= Enable Django | ||||
PDF_DESC= PDF Thumbnails | PDF_DESC= PDF Thumbnails | ||||
WORD_DESC= Word Document thumbnail handling | WORD_DESC= Word Document thumbnail handling | ||||
OPTIONS_DEFAULT= DJANGO | OPTIONS_DEFAULT= DJANGO | ||||
.include <bsd.port.options.mk> | DJANGO_USES= django | ||||
PDF_RUN_DEPENDS= ${LOCALBASE}/bin/Magick-config:graphics/ImageMagick | |||||
.if ${PORT_OPTIONS:MDJANGO} | WORD_RUN_DEPENDS= wvVersion:textproc/wv | ||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-django18 | |||||
.endif | |||||
.if ${PORT_OPTIONS:MPDF} | |||||
RUN_DEPENDS+= ${LOCALBASE}/bin/Magick-config:graphics/ImageMagick | |||||
.endif | |||||
.if ${PORT_OPTIONS:MWORD} | |||||
RUN_DEPENDS+= wvVersion:textproc/wv | |||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |