openbsd-ports/graphics/py-pigment/Makefile
landry 06b538cc00 Import py-pigment 0.3.12:
Pigment-python contains modules that allow you to use Pigment in Python
programs. At present, it is a fairly complete set of bindings.
Thanks to kurt@, guenther@ & oga@ for hints on how to correctly link/use
libGL. For now, there's an evil patch for that.
ok ajacoutot@
2009-10-13 19:39:09 +00:00

42 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/10/13 19:39:09 landry Exp $
COMMENT = python bindings for pigment
CATEGORIES = graphics
DISTNAME = pigment-python-0.3.12
PKGNAME = py-pigment-0.3.12
MASTER_SITES = http://elisa.fluendo.com/static/download/pigment/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
HOMEPAGE = https://code.fluendo.com/pigment/trac
MODULES = lang/python \
devel/gettext
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
CPPFLAGS="-I${X11BASE}/include -L${LOCALBASE}/include"
USE_LIBTOOL = Yes
USE_GMAKE = Yes
RUN_DEPENDS = ::multimedia/gstreamer-0.10/py-gstreamer
BUILD_DEPENDS += ${RUN_DEPENDS}
LIB_DEPENDS = pigment-0.3,pigment-gtk-0.3,pigment-imaging-0.3::graphics/pigment
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread-stubs xcb z xml2
WANTLIB += gstvideo-0.10 gtk-x11-2.0 gdk-x11-2.0 gdk_pixbuf-2.0 gstbase-0.10 gstreamer-0.10
.include <bsd.port.mk>