openbsd-ports/devel/pango/Makefile
winiger d4ebe5e01e fix WANTLIB, bump PKGNAME
ok jasper@ and martynas@
2007-10-31 21:54:11 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.27 2007/10/31 21:54:11 winiger Exp $
COMMENT= library for layout and rendering of text
DISTNAME= pango-1.18.3
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += pango-1.0 1400.0 # .1800.2
SHARED_LIBS += pangox-1.0 1400.0 # .1800.2
SHARED_LIBS += pangoft2-1.0 1400.0 # .1800.2
SHARED_LIBS += pangoxft-1.0 1400.0 # .1800.2
SHARED_LIBS += pangocairo-1.0 1400.0 # .1800.2
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
WANTLIB= X11 Xau Xdmcp Xft Xrender c expat fontconfig freetype \
glitz m pcre png z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pango/1.18/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0.>=1400.0,gmodule-2.0.>=1400.0,gobject-2.0.>=1400.0::devel/glib2 \
cairo.>=3::graphics/cairo
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pango; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/pango/* ${PREFIX}/share/examples/pango/
do-regress:
cd ${WRKSRC}/tests && ${MAKE} check
.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