openbsd-ports/devel/pango/Makefile
marcm 8dcdfda0ef Update pango to 1.10.1. Part of the update to the GTK 2.8 series.
Pango 1.10 release notes here:
http://mail.gnome.org/archives/gnome-announce-list/2005-August/msg00058.html

NOTE: Pango now uses the Cairo vector graphic library.  This will
necessitate changes to depending ports!
2005-11-13 06:22:59 +00:00

48 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2005/11/13 06:22:59 marcm Exp $
COMMENT= "library for layout and rendering of text"
DISTNAME= pango-1.10.1
CATEGORIES= devel x11
HOMEPAGE= http://www.gtk.org
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xft Xrender c fontconfig freetype \
glitz iconv intl m png z
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.8/ \
${MASTER_SITE_GNOME:=sources/pango/1.10/}
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= glib-2.0.800.0,gmodule-2.0.800.0,gobject-2.0.800.0::devel/glib2 \
cairo.3::graphics/cairo
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --without-qt
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pango; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/pango/* ${PREFIX}/share/examples/pango/
.include <bsd.port.mk>
# Work around a fontconfig linking issue on static arches
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
PATCH_LIST= patch-* sup-no_shared-*
.endif