openbsd-ports/devel/pango/Makefile
marcm 789ce7591e Update the supporting Gnome ports to their Gnome 2.8 versions.
ORBit2      2.10.2 -> 2.12.0
atk          1.6.1 -> 1.8.0
gconf-editor 2.6.2 -> 2.8.2
gconf2       2.6.2 -> 2.8.1
libIDL       0.8.3 -> 0.8.4
libgsf      1.10.0 -> 1.11.1
libgtop2     2.6.0 -> 2.8.1
libwnck      2.6.2 -> 2.8.1
pango        1.4.1 -> 1.6.0
startup-notification 0.5 -> 0.7

Real work done by Francois Briere.
2004-12-10 20:33:58 +00:00

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2004/12/10 20:34:00 marcm Exp $
COMMENT= "library for layout and rendering of text"
DISTNAME= pango-1.6.0
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 Xft Xrender c fontconfig freetype iconv intl m
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.6/ \
${MASTER_SITE_GNOME:=sources/pango/1.6/}
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= glib-2.0.400.0,gmodule-2.0.400.0,gobject-2.0.400.0::devel/glib2
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
USE_X11= Yes
USE_GMAKE= 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