diff options
author | Koop Mast <kwm@FreeBSD.org> | 2010-08-20 08:33:06 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2010-08-20 08:33:06 +0000 |
commit | 2d355723238aad45d6a79299e72e9c697bf13775 (patch) | |
tree | e8aded2ae970345be2bea7916d60364d379acb8e /graphics/py-exiv2 | |
parent | 097978afaddf238aba6cf3aa1ecfbcc83a6574ac (diff) | |
download | ports-2d355723238aad45d6a79299e72e9c697bf13775.tar.gz ports-2d355723238aad45d6a79299e72e9c697bf13775.zip |
Notes
Diffstat (limited to 'graphics/py-exiv2')
-rw-r--r-- | graphics/py-exiv2/Makefile | 15 | ||||
-rw-r--r-- | graphics/py-exiv2/distinfo | 6 | ||||
-rw-r--r-- | graphics/py-exiv2/pkg-plist | 18 |
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 |