aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-exiv2
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2010-08-20 16:33:06 +0800
committerkwm <kwm@FreeBSD.org>2010-08-20 16:33:06 +0800
commit7d97cb1ae8a875ccd53d1746f198a8956c2f90be (patch)
treedad7ee9bf201984fc3a0c92319119d972c44215f /graphics/py-exiv2
parent20737aa0701b85ee1a85f2fe5d1aa13a2545c17c (diff)
downloadfreebsd-ports-gnome-7d97cb1ae8a875ccd53d1746f198a8956c2f90be.tar.gz
freebsd-ports-gnome-7d97cb1ae8a875ccd53d1746f198a8956c2f90be.tar.zst
freebsd-ports-gnome-7d97cb1ae8a875ccd53d1746f198a8956c2f90be.zip
Update to 0.2.2.
This version builds with graphics/exiv2 0.20. Approved by: maintainer timeout (14 days)
Diffstat (limited to 'graphics/py-exiv2')
-rw-r--r--graphics/py-exiv2/Makefile15
-rw-r--r--graphics/py-exiv2/distinfo6
-rw-r--r--graphics/py-exiv2/pkg-plist18
3 files changed, 29 insertions, 10 deletions
diff --git a/graphics/py-exiv2/Makefile b/graphics/py-exiv2/Makefile
index dc7c66142e98..3be7b3501fdd 100644
--- a/graphics/py-exiv2/Makefile
+++ b/graphics/py-exiv2/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= exiv2
-PORTVERSION= 0.1.3
+PORTVERSION= 0.2.2
CATEGORIES= graphics python
-MASTER_SITES= http://tilloy.net/dev/pyexiv2/releases/ \
+MASTER_SITES= http://launchpadlibrarian.net/49194059/ \
http://www.dindin.ru/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
@@ -16,7 +16,7 @@ DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= dindin@dindin.ru
COMMENT= Python bindings for exiv2
-LIB_DEPENDS= exiv2.7:${PORTSDIR}/graphics/exiv2\
+LIB_DEPENDS= exiv2.9:${PORTSDIR}/graphics/exiv2\
boost_python.4:${PORTSDIR}/devel/boost-python-libs
USE_PYTHON= yes
@@ -24,8 +24,9 @@ USE_GMAKE= yes
USE_BZIP2= yes
USE_SCONS= yes
USE_LDCONFIG= yes
-SCONS_ENV+= PREFIX=${PREFIX} CPPPATH=${PREFIX}/inlude LIBPATH=${PREFIX}/lib
-SCONS_BUILDENV= ${SCONS_ENV}
+SCONS_ENV+= PREFIX=${PREFIX} CPPPATH=${PREFIX}/include LIBPATH=${PREFIX}/lib
+SCONS_BUILDENV= ${SCONS_ENV} CXXFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
SCONS_ARGS+= prefix=${PREFIX} use_env=1
post-patch:
@@ -34,4 +35,8 @@ post-patch:
LIBPATH=\"${PREFIX}/lib\"|'\
${WRKSRC}/src/SConscript
+post-install:
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ ${PYTHON_SITELIBDIR}/pyexiv2
+
.include <bsd.port.mk>
diff --git a/graphics/py-exiv2/distinfo b/graphics/py-exiv2/distinfo
index b77caf0e531a..f547bf987d6f 100644
--- a/graphics/py-exiv2/distinfo
+++ b/graphics/py-exiv2/distinfo
@@ -1,3 +1,3 @@
-MD5 (pyexiv2-0.1.3.tar.bz2) = dfc28a6f5f098f88926e8e1de6b925c0
-SHA256 (pyexiv2-0.1.3.tar.bz2) = 305d292abbeebe1a1843018b7870815691694949c91582a9430a71b2c1c0c45f
-SIZE (pyexiv2-0.1.3.tar.bz2) = 35872
+MD5 (pyexiv2-0.2.2.tar.bz2) = 3c1aab78bbd44cc3581a0645b0ee56ee
+SHA256 (pyexiv2-0.2.2.tar.bz2) = 44642d4f632b283551cb05ff4945dfd5bf1724019606fa575214a45d0cbceef7
+SIZE (pyexiv2-0.2.2.tar.bz2) = 180998
diff --git a/graphics/py-exiv2/pkg-plist b/graphics/py-exiv2/pkg-plist
index 65351d01ff70..875d827c05ca 100644
--- a/graphics/py-exiv2/pkg-plist
+++ b/graphics/py-exiv2/pkg-plist
@@ -1,2 +1,16 @@
-%%PYTHON_SITELIBDIR%%/libpyexiv2.so
-%%PYTHON_SITELIBDIR%%/pyexiv2.py
+%%PYTHON_SITELIBDIR%%/libexiv2python.so
+%%PYTHON_SITELIBDIR%%/pyexiv2/__init__.py
+%%PYTHON_SITELIBDIR%%/pyexiv2/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyexiv2/exif.py
+%%PYTHON_SITELIBDIR%%/pyexiv2/exif.pyc
+%%PYTHON_SITELIBDIR%%/pyexiv2/iptc.py
+%%PYTHON_SITELIBDIR%%/pyexiv2/iptc.pyc
+%%PYTHON_SITELIBDIR%%/pyexiv2/metadata.py
+%%PYTHON_SITELIBDIR%%/pyexiv2/metadata.pyc
+%%PYTHON_SITELIBDIR%%/pyexiv2/preview.py
+%%PYTHON_SITELIBDIR%%/pyexiv2/preview.pyc
+%%PYTHON_SITELIBDIR%%/pyexiv2/utils.py
+%%PYTHON_SITELIBDIR%%/pyexiv2/utils.pyc
+%%PYTHON_SITELIBDIR%%/pyexiv2/xmp.py
+%%PYTHON_SITELIBDIR%%/pyexiv2/xmp.pyc
+@dirrm %%PYTHON_SITELIBDIR%%/pyexiv2