openbsd-ports/devel/pango/Makefile
marcm 9ab02dd5bb Fix the cause, not the symptom. The essentially reverts my last diff
and does it right.  Gives pango a fighting chance on static arches.
Requires a fix to XFree86 as well, but that's in the works.
2003-08-13 16:57:51 +00:00

48 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2003/08/13 16:57:51 marcm Exp $
COMMENT= "library for layout and rendering of text"
DISTNAME= pango-1.2.3
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
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.2/
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= glib-2.0.0.8,gmodule-2.0.0.8,gobject-2.0.0.8::devel/glib2
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
# library versions (major:minor)
OBSD_LIB_VERSION= 0:9
SEPARATE_BUILD= concurrent
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"
MAKE_ENV= OBSD_LIB_VERSION="${OBSD_LIB_VERSION}"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pango; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${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