4cf6762627
feedback from brad. ok steven@
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.24 2007/05/12 20:22:20 jasper Exp $
|
|
|
|
COMMENT= "library for layout and rendering of text"
|
|
|
|
DISTNAME= pango-1.16.4
|
|
SHARED_LIBS += pango-1.0 1300.1 # .1600.4
|
|
SHARED_LIBS += pangox-1.0 1300.1 # .1600.4
|
|
SHARED_LIBS += pangoft2-1.0 1300.1 # .1600.4
|
|
SHARED_LIBS += pangoxft-1.0 1300.1 # .1600.4
|
|
SHARED_LIBS += pangocairo-1.0 1300.1 # .1600.4
|
|
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 png z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pango/1.16/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= glib-2.0.>=1200.0,gmodule-2.0.>=1200.0,gobject-2.0.>=1200.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
|