aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-10-05 00:16:00 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-10-05 00:16:00 +0000
commit96ea21e2fb0e543b5c24b6791828c0ff4d617754 (patch)
treea6d5bd3e9ba78c19b4abb4e150d47f3efaa1b4cf /misc
parente4685e1246656fa480b016614b908e8aa6261510 (diff)
downloadports-96ea21e2fb0e543b5c24b6791828c0ff4d617754.tar.gz
ports-96ea21e2fb0e543b5c24b6791828c0ff4d617754.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/pylize/Makefile15
-rw-r--r--misc/pylize/files/patch-pylize.in11
2 files changed, 16 insertions, 10 deletions
diff --git a/misc/pylize/Makefile b/misc/pylize/Makefile
index 374a25b11d02..591662acbbf3 100644
--- a/misc/pylize/Makefile
+++ b/misc/pylize/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pylize
PORTVERSION= 1.3.b
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= misc textproc
MASTER_SITES= http://www.chrisarndt.de/en/software/pylize/download/ \
http://dryice.name/computer/FreeBSD/distfiles/
@@ -14,17 +14,12 @@ COMMENT= Presentation generation tool
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
${PYTHON_SITELIBDIR}/HTMLgen.py:${PORTSDIR}/www/py-HTMLgen \
- ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \
- ${PYTHON_SITELIBDIR}/em.py:${PORTSDIR}/textproc/py-empy
-RUN_DEPENDS= python:${PORTSDIR}/lang/python \
- ${PYTHON_SITELIBDIR}/HTMLgen.py:${PORTSDIR}/www/py-HTMLgen \
- ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
${PYTHON_SITELIBDIR}/em.py:${PORTSDIR}/textproc/py-empy
+RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= tar:bzip2
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2 tar:bzip2
+USE_PYTHON= autoplist distutils
do-configure:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} configure.py)
diff --git a/misc/pylize/files/patch-pylize.in b/misc/pylize/files/patch-pylize.in
new file mode 100644
index 000000000000..cb38ee341ef2
--- /dev/null
+++ b/misc/pylize/files/patch-pylize.in
@@ -0,0 +1,11 @@
+--- pylize.in.orig 2014-10-05 00:14:33 UTC
++++ pylize.in
+@@ -113,7 +113,7 @@
+ def mkLogoLink(meta):
+ if meta.has_key('logo'):
+ try:
+- import Image
++ from PIL import Image
+ if os.path.exists(meta['logo']):
+ i = Image.open(meta['logo'])
+ else: