diff options
Diffstat (limited to 'x11-toolkits/pango')
-rw-r--r-- | x11-toolkits/pango/Makefile | 75 | ||||
-rw-r--r-- | x11-toolkits/pango/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/pango/files/patch-configure | 17 | ||||
-rw-r--r-- | x11-toolkits/pango/files/pkg-install.in | 11 | ||||
-rw-r--r-- | x11-toolkits/pango/pkg-descr | 6 | ||||
-rw-r--r-- | x11-toolkits/pango/pkg-plist | 104 |
6 files changed, 216 insertions, 0 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile new file mode 100644 index 000000000..6253eeaf3 --- /dev/null +++ b/x11-toolkits/pango/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: pango +# Date Created: 18 July 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/x11-toolkits/pango/Makefile,v 1.94 2007/03/13 00:54:42 mezz Exp $ +# + +PORTNAME= pango +PORTVERSION= 1.17.0 +PORTREVISION?= 0 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/pango/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/},} \ + ftp://ftp.gtk.org/pub/pango/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An open-source framework for the layout and rendering of i18n text + +USE_BZIP2= yes + +.if !defined(REFERENCE_PORT) + +BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo +RUN_DEPENDS= ${FONTSCALE}:${X_FONTS_TTF_PORT} \ + ${FONTENCOD}:${X_FONTS_ENCODINGS_PORT} + +USE_GETTEXT= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:15 +USE_GNOME= gnomehack glib20 ltverhack referencehack +CONFIGURE_ARGS= --with-qt=no \ + --with-html-dir=${PREFIX}/share/doc \ + --enable-static +PKGINSTALL= ${WRKDIR}/pkg-install +# Hmm.. tough one. Found this one when I had graphics/hdf installed +# (which installs glist.h) which is picked up before the glib-2.0 +# stuff, with Bad Results[tm] +# +GLIB2_CFLAGS= `pkg-config glib-2.0 --cflags` +PLIST_SUB= VERSION="1.6.0" + +FONTSCALE= ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf +FONTENCOD= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir + +MAN1= pango-querymodules.1 + +.if defined(WITHOUT_X11) +CONFIGURE_ARGS+= --with-x=no +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ + ${GLIB2_CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +PLIST_SUB+= X11="@comment " +.else +USE_XLIB+= yes +LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ + ${GLIB2_CFLAGS} -I${LOCALBASE}/include \ + -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" +PLIST_SUB+= X11="" +.endif + +post-install: + @${SED} -e 's|%%X11BASE%%|${X11BASE}|' < ${FILESDIR}/pkg-install.in \ + > ${PKGINSTALL} +.if !defined(PACKAGE_BUILDING) + @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + +.include <bsd.port.mk> + +.endif diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo new file mode 100644 index 000000000..609b06012 --- /dev/null +++ b/x11-toolkits/pango/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/pango-1.17.0.tar.bz2) = c1b9b2e236a0d5fe208b532a4a792e7a +SHA256 (gnome2/pango-1.17.0.tar.bz2) = 450f1ce3234e74001e5336c455b49ee1f229d46cab9e189cd82ab029ebd6fd8e +SIZE (gnome2/pango-1.17.0.tar.bz2) = 1380830 diff --git a/x11-toolkits/pango/files/patch-configure b/x11-toolkits/pango/files/patch-configure new file mode 100644 index 000000000..76a6d1eef --- /dev/null +++ b/x11-toolkits/pango/files/patch-configure @@ -0,0 +1,17 @@ +--- configure.orig Mon Aug 2 19:13:53 2004 ++++ configure Mon Aug 2 19:14:46 2004 +@@ -23948,10 +23948,10 @@ + s,@CYGPATH_W@,$CYGPATH_W,;t t + s,@PACKAGE@,$PACKAGE,;t t + s,@VERSION@,$VERSION,;t t +-s,@ACLOCAL@,$ACLOCAL,;t t +-s,@AUTOCONF@,$AUTOCONF,;t t +-s,@AUTOMAKE@,$AUTOMAKE,;t t +-s,@AUTOHEADER@,$AUTOHEADER,;t t ++s,@ACLOCAL@,/usr/bin/true,;t t ++s,@AUTOCONF@,/usr/bin/true,;t t ++s,@AUTOMAKE@,/usr/bin/true,;t t ++s,@AUTOHEADER@,/usr/bin/true,;t t + s,@MAKEINFO@,$MAKEINFO,;t t + s,@AMTAR@,$AMTAR,;t t + s,@install_sh@,$install_sh,;t t diff --git a/x11-toolkits/pango/files/pkg-install.in b/x11-toolkits/pango/files/pkg-install.in new file mode 100644 index 000000000..2eefcdfcd --- /dev/null +++ b/x11-toolkits/pango/files/pkg-install.in @@ -0,0 +1,11 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%X11BASE%%/bin +export PATH + +case $2 in +POST-INSTALL) + echo "Running fc-cache to build fontconfig cache..." + fc-cache -f -v + ;; +esac diff --git a/x11-toolkits/pango/pkg-descr b/x11-toolkits/pango/pkg-descr new file mode 100644 index 000000000..9ff793b51 --- /dev/null +++ b/x11-toolkits/pango/pkg-descr @@ -0,0 +1,6 @@ +Pango provides a framework to render and control the layout of +internationalized text, and is the backend for right-to-left text. +Pango is an integral part of the GTK+ and GNOME projects, but its +code is platform- and toolkit-independent. + +WWW: http://www.pango.org/ diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist new file mode 100644 index 000000000..86ba73dc5 --- /dev/null +++ b/x11-toolkits/pango/pkg-plist @@ -0,0 +1,104 @@ +bin/pango-querymodules +%%X11%%bin/pango-view +etc/pango/pango.modules +%%X11%%etc/pango/pangox.aliases +include/pango-1.0/pango/pango-attributes.h +include/pango-1.0/pango/pango-break.h +include/pango-1.0/pango/pango-context.h +include/pango-1.0/pango/pango-coverage.h +include/pango-1.0/pango/pango-engine.h +include/pango-1.0/pango/pango-enum-types.h +include/pango-1.0/pango/pango-features.h +include/pango-1.0/pango/pango-font.h +include/pango-1.0/pango/pango-fontmap.h +include/pango-1.0/pango/pango-fontset.h +include/pango-1.0/pango/pango-glyph-item.h +include/pango-1.0/pango/pango-glyph.h +include/pango-1.0/pango/pango-gravity.h +include/pango-1.0/pango/pango-item.h +include/pango-1.0/pango/pango-language.h +include/pango-1.0/pango/pango-layout.h +include/pango-1.0/pango/pango-matrix.h +include/pango-1.0/pango/pango-modules.h +include/pango-1.0/pango/pango-ot.h +include/pango-1.0/pango/pango-renderer.h +include/pango-1.0/pango/pango-script.h +include/pango-1.0/pango/pango-tabs.h +include/pango-1.0/pango/pango-types.h +include/pango-1.0/pango/pango-utils.h +include/pango-1.0/pango/pango.h +include/pango-1.0/pango/pangocairo.h +include/pango-1.0/pango/pangofc-decoder.h +include/pango-1.0/pango/pangofc-font.h +include/pango-1.0/pango/pangofc-fontmap.h +include/pango-1.0/pango/pangoft2.h +%%X11%%include/pango-1.0/pango/pangox.h +%%X11%%include/pango-1.0/pango/pangoxft-render.h +%%X11%%include/pango-1.0/pango/pangoxft.h +lib/libpango-1.0.a +lib/libpango-1.0.la +lib/libpango-1.0.so +lib/libpango-1.0.so.0 +lib/libpangocairo-1.0.a +lib/libpangocairo-1.0.la +lib/libpangocairo-1.0.so +lib/libpangocairo-1.0.so.0 +lib/libpangoft2-1.0.a +lib/libpangoft2-1.0.la +lib/libpangoft2-1.0.so +lib/libpangoft2-1.0.so.0 +%%X11%%lib/libpangox-1.0.a +%%X11%%lib/libpangox-1.0.la +%%X11%%lib/libpangox-1.0.so +%%X11%%lib/libpangox-1.0.so.0 +%%X11%%lib/libpangoxft-1.0.a +%%X11%%lib/libpangoxft-1.0.la +%%X11%%lib/libpangoxft-1.0.so +%%X11%%lib/libpangoxft-1.0.so.0 +lib/pango/%%VERSION%%/modules/pango-arabic-fc.a +lib/pango/%%VERSION%%/modules/pango-arabic-fc.la +lib/pango/%%VERSION%%/modules/pango-arabic-fc.so +lib/pango/%%VERSION%%/modules/pango-arabic-lang.a +lib/pango/%%VERSION%%/modules/pango-arabic-lang.la +lib/pango/%%VERSION%%/modules/pango-arabic-lang.so +lib/pango/%%VERSION%%/modules/pango-basic-fc.a +lib/pango/%%VERSION%%/modules/pango-basic-fc.la +lib/pango/%%VERSION%%/modules/pango-basic-fc.so +%%X11%%lib/pango/%%VERSION%%/modules/pango-basic-x.a +%%X11%%lib/pango/%%VERSION%%/modules/pango-basic-x.la +%%X11%%lib/pango/%%VERSION%%/modules/pango-basic-x.so +lib/pango/%%VERSION%%/modules/pango-hangul-fc.a +lib/pango/%%VERSION%%/modules/pango-hangul-fc.la +lib/pango/%%VERSION%%/modules/pango-hangul-fc.so +lib/pango/%%VERSION%%/modules/pango-hebrew-fc.a +lib/pango/%%VERSION%%/modules/pango-hebrew-fc.la +lib/pango/%%VERSION%%/modules/pango-hebrew-fc.so +lib/pango/%%VERSION%%/modules/pango-indic-fc.a +lib/pango/%%VERSION%%/modules/pango-indic-fc.la +lib/pango/%%VERSION%%/modules/pango-indic-fc.so +lib/pango/%%VERSION%%/modules/pango-indic-lang.a +lib/pango/%%VERSION%%/modules/pango-indic-lang.la +lib/pango/%%VERSION%%/modules/pango-indic-lang.so +lib/pango/%%VERSION%%/modules/pango-khmer-fc.a +lib/pango/%%VERSION%%/modules/pango-khmer-fc.la +lib/pango/%%VERSION%%/modules/pango-khmer-fc.so +lib/pango/%%VERSION%%/modules/pango-syriac-fc.a +lib/pango/%%VERSION%%/modules/pango-syriac-fc.la +lib/pango/%%VERSION%%/modules/pango-syriac-fc.so +lib/pango/%%VERSION%%/modules/pango-thai-fc.a +lib/pango/%%VERSION%%/modules/pango-thai-fc.la +lib/pango/%%VERSION%%/modules/pango-thai-fc.so +lib/pango/%%VERSION%%/modules/pango-tibetan-fc.a +lib/pango/%%VERSION%%/modules/pango-tibetan-fc.la +lib/pango/%%VERSION%%/modules/pango-tibetan-fc.so +libdata/pkgconfig/pango.pc +libdata/pkgconfig/pangocairo.pc +libdata/pkgconfig/pangoft2.pc +%%X11%%libdata/pkgconfig/pangox.pc +%%X11%%libdata/pkgconfig/pangoxft.pc +@dirrm lib/pango/%%VERSION%%/modules +@dirrm lib/pango/%%VERSION%% +@dirrm lib/pango +@dirrm include/pango-1.0/pango +@dirrm include/pango-1.0 +@dirrm etc/pango |