openbsd-ports/devel/pango/Makefile

56 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.56 2011/06/20 18:09:05 jasper Exp $
COMMENT= library for layout and rendering of text
V= 1.28.4
DISTNAME= pango-${V}
REVISION= 2
SHARED_LIBS += pango-1.0 1802.0 # .2800.0
SHARED_LIBS += pangox-1.0 1802.0 # .2800.0
SHARED_LIBS += pangoft2-1.0 1802.0 # .2800.0
SHARED_LIBS += pangoxft-1.0 1802.0 # .2800.0
SHARED_LIBS += pangocairo-1.0 1802.0 # .2800.0
CATEGORIES= devel x11
HOMEPAGE= http://www.gtk.org/
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp Xft Xrender c expat fontconfig freetype \
m pcre pixman-1 png pthread pthread-stubs xcb \
xcb-render GL Xdamage Xext Xfixes Xxf86vm drm xcb-shm z \
glib-2.0>=1800 gmodule-2.0>=1800 gobject-2.0>=1800 \
gthread-2.0>=1800 cairo>=9
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pango/${V:C/^([0-9]+\.[0-9]+).*/\1/}/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
BUILD_DEPENDS= devel/gobject-introspection
LIB_DEPENDS= devel/glib2 \
graphics/cairo
USE_GMAKE= Yes
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc \
--enable-introspection
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include"
FAKE_FLAGS= aliasdir=${PREFIX}/share/examples/pango \
sysconfdir=${PREFIX}/share/examples
.include <bsd.port.mk>