mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
39 lines
970 B
Makefile
39 lines
970 B
Makefile
# New ports collection makefile for: py-exiv2
|
|
# Date created: 2008-06-01
|
|
# Whom: Denis Barov <dindin@dindin.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= exiv2
|
|
PORTVERSION= 0.1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= http://tilloy.net/dev/pyexiv2/releases/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= dindin@dindin.ru
|
|
COMMENT= Python bindings for exiv2
|
|
|
|
LIB_DEPENDS= exiv2.3:${PORTSDIR}/graphics/exiv2\
|
|
boost_python.4:${PORTSDIR}/devel/boost-python
|
|
|
|
WRKSRC= ${WRKDIR}/py${PORTNAME}
|
|
USE_PYTHON= yes
|
|
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_ARGS+= prefix=${PREFIX} use_env=1
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|python_inc_path\]|python_inc_path,\
|
|
"${PREFIX}/include"\]|' -e 's|LIBS=libs|LIBS=libs,\
|
|
LIBPATH=\"${PREFIX}/lib\"|'\
|
|
${WRKSRC}/src/SConscript
|
|
|
|
.include <bsd.port.mk>
|