diff options
Diffstat (limited to 'x11-toolkits/pango')
-rw-r--r-- | x11-toolkits/pango/Makefile | 67 | ||||
-rw-r--r-- | x11-toolkits/pango/distinfo | 2 |
2 files changed, 69 insertions, 0 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile new file mode 100644 index 000000000..f9a5e58d8 --- /dev/null +++ b/x11-toolkits/pango/Makefile @@ -0,0 +1,67 @@ +# Created by: Maxim Sobolev <sobomax@FreeBSD.org> +# $FreeBSD$ +# $MCom: ports/x11-toolkits/pango/Makefile,v 1.168 2012/12/20 00:36:32 kwm Exp $ + +PORTNAME= pango +PORTVERSION= 1.34.0 +PORTREVISION?= 0 +CATEGORIES= x11-toolkits +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An open-source framework for the layout and rendering of i18n text + +USE_XZ= yes + +.if !defined(REFERENCE_PORT) + +BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \ + freetype:${PORTSDIR}/print/freetype2 \ + harfbuzz:${PORTSDIR}/print/harfbuzz \ + fontconfig:${PORTSDIR}/x11-fonts/fontconfig +RUN_DEPENDS= ${FONTSCALE}:${X_FONTS_TTF_PORT} \ + ${FONTENCOD}:${X_FONTS_ENCODINGS_PORT} \ + ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection + +USE_GETTEXT= yes +USE_GMAKE= yes +MAKE_JOBS_SAFE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool +USES= pathfix +USE_GNOME= glib20 ltverhack referencehack +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +PLIST_SUB= VERSION="1.8.0" + +FONTSCALE= ${LOCALBASE}/lib/X11/fonts/TTF/luximb.ttf +FONTENCOD= ${LOCALBASE}/lib/X11/fonts/encodings/encodings.dir + +MAN1= pango-view.1 pango-querymodules.1 + +OPTIONS_DEFINE= X11 +OPTIONS_DEFAULT=X11 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MX11} +USE_XORG+= xft xrender +#CONFIGURE_ARGS=--with-xft +PLIST_SUB+= X11="" +.else +CONFIGURE_ARGS+=--without-xft +PLIST_SUB+= X11="@comment " +.endif + +pre-configure: +.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-gobject.pc) + @${ECHO_CMD} "${PKGNAME}: Needs cairo with GLIB (GObject) support enabled." + @${FALSE} +.endif + +.include <bsd.port.mk> + +.endif diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo new file mode 100644 index 000000000..878f4f746 --- /dev/null +++ b/x11-toolkits/pango/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome2/pango-1.34.0.tar.xz) = 105da1efe019018a9de81681d88c9ace83d2111509ab625c4be9d124a1fdce27 +SIZE (gnome2/pango-1.34.0.tar.xz) = 1013600 |