2006-06-03 14:23:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2006/06/03 18:23:03 brad Exp $
|
2002-07-25 05:20:01 -04:00
|
|
|
|
|
|
|
COMMENT= "library for layout and rendering of text"
|
|
|
|
|
2006-06-03 14:23:03 -04:00
|
|
|
DISTNAME= pango-1.12.3
|
|
|
|
SHARED_LIBS= pango-1.0 1200.3 \
|
|
|
|
pangocairo-1.0 1200.3 \
|
|
|
|
pangoft2-1.0 1200.3 \
|
|
|
|
pangox-1.0 1200.3 \
|
|
|
|
pangoxft-1.0 1200.3
|
2006-01-03 05:40:09 -05:00
|
|
|
|
2002-07-25 05:20:01 -04:00
|
|
|
CATEGORIES= devel x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gtk.org
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-11-13 01:22:59 -05:00
|
|
|
WANTLIB= X11 Xext Xft Xrender c fontconfig freetype \
|
|
|
|
glitz iconv intl m png z
|
2002-07-25 05:20:01 -04:00
|
|
|
|
2006-05-21 21:41:52 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pango/1.12/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-07-25 05:20:01 -04:00
|
|
|
|
2006-05-21 21:41:52 -04:00
|
|
|
LIB_DEPENDS= glib-2.0.1000.0,gmodule-2.0.1000.0,gobject-2.0.1000.0::devel/glib2 \
|
2005-11-13 01:22:59 -05:00
|
|
|
cairo.3::graphics/cairo
|
2006-05-21 21:41:52 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2002-08-09 17:26:43 -04:00
|
|
|
|
2002-07-25 05:20:01 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2005-11-13 01:22:59 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2002-07-25 05:20:01 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
CONFIGURE_ARGS+= --without-qt
|
2003-04-17 01:58:47 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
|
|
|
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
|
2002-07-25 05:20:01 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pango; \
|
2004-08-08 13:13:58 -04:00
|
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/pango/* ${PREFIX}/share/examples/pango/
|
2002-07-25 05:20:01 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2003-08-13 12:57:51 -04:00
|
|
|
|
|
|
|
# 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
|