diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-23 02:35:26 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-23 02:35:26 +0000 |
commit | acbbee2bc7634b209abf38ef09ce1f48197a4fe4 (patch) | |
tree | 989dd8e1b1e6c8900e5268efdd3d75a25a3b7268 /graphics/py-sorl-thumbnail | |
parent | 70cb44a9d71c560e2e4ab944c63d47e386b5f5a1 (diff) | |
download | ports-acbbee2bc7634b209abf38ef09ce1f48197a4fe4.tar.gz ports-acbbee2bc7634b209abf38ef09ce1f48197a4fe4.zip |
- adoption of optionsNG
- convert to USES in some cases (pkgconfig,pathfix)
- trim COMMENT/historical headers in some cases
Approved by: portmgr (miwi)
Notes
Notes:
svn path=/head/; revision=318829
Diffstat (limited to 'graphics/py-sorl-thumbnail')
-rw-r--r-- | graphics/py-sorl-thumbnail/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/graphics/py-sorl-thumbnail/Makefile b/graphics/py-sorl-thumbnail/Makefile index bdd9a34efb4a..fd46d18964fa 100644 --- a/graphics/py-sorl-thumbnail/Makefile +++ b/graphics/py-sorl-thumbnail/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: py-sorl-thumbnail -# Date created: 24 November 2009 -# Whom: Kevin Golding <ports@caomhin.org> -# +# Created by: Kevin Golding <ports@caomhin.org> # $FreeBSD$ -# PORTNAME= sorl-thumbnail PORTVERSION= 3.2.5 @@ -25,21 +21,24 @@ USE_PYDISTUTILS= yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options -OPTIONS= DJANGO "Enable Django" On \ - PDF "Enable PDF Thumbnails" Off \ - WORD "Enable Word Document thumbnail handling" Off +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 !defined(WITHOUT_DJANGO) +.if ${PORT_OPTIONS:MDJANGO} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django .endif -.if defined(WITH_PDF) +.if ${PORT_OPTIONS:MPDF} RUN_DEPENDS+= ${LOCALBASE}/bin/Magick-config:${PORTSDIR}/graphics/ImageMagick .endif -.if defined(WITH_WORD) +.if ${PORT_OPTIONS:MWORD} RUN_DEPENDS+= wvVersion:${PORTSDIR}/textproc/wv .endif |