summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/pango
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/pango')
-rw-r--r--x11-toolkits/pango/Makefile62
-rw-r--r--x11-toolkits/pango/distinfo1
-rw-r--r--x11-toolkits/pango/files/patch-ac14
-rw-r--r--x11-toolkits/pango/files/patch-configure17
-rw-r--r--x11-toolkits/pango/files/patch-ltmain.sh51
-rw-r--r--x11-toolkits/pango/files/pkg-install.in9
-rw-r--r--x11-toolkits/pango/pkg-descr8
-rw-r--r--x11-toolkits/pango/pkg-plist92
8 files changed, 254 insertions, 0 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
new file mode 100644
index 000000000..8923a41bf
--- /dev/null
+++ b/x11-toolkits/pango/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: pango
+# Date Created: 18 July 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-toolkits/pango/Makefile,v 1.55 2003/10/06 01:13:39 marcus Exp $
+#
+
+PORTNAME= pango
+PORTVERSION= 1.3.0
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/1.3,} \
+ ftp://ftp.gtk.org/pub/gtk/v2.3/
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An open-source framework for the layout and rendering of i18n text
+
+BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/Xft \
+ intl.5:${PORTSDIR}/devel/gettext
+RUN_DEPENDS= ${FONTSCALE}:${PORTSDIR}/x11-fonts/XFree86-4-fontScalable \
+ ${FONTENCOD}:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack glib20
+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`
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
+ ${GLIB2_CFLAGS} -I${LOCALBASE}/include \
+ -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+PLIST_SUB= VERSION="1.4.0"
+
+FONTSCALE= ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf
+FONTENCOD= ${X11BASE}/lib/X11/fonts/encodings/tcvn-0.enc
+
+MAN1= pango-querymodules.1
+
+post-patch:
+ @${FIND} ${WRKSRC}/pango/opentype -name "*.[ch]" | ${XARGS} \
+ ${REINPLACE_CMD} -e 's|internal/tterrors\.h|fterrors.h| ; \
+ s|TT_Err_|FT_Err_|g'
+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>
diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo
new file mode 100644
index 000000000..d46b33f3d
--- /dev/null
+++ b/x11-toolkits/pango/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/pango-1.3.0.tar.bz2) = 5fc4a79d901f4c0bf98ad0194f4a87a7
diff --git a/x11-toolkits/pango/files/patch-ac b/x11-toolkits/pango/files/patch-ac
new file mode 100644
index 000000000..1e22009d5
--- /dev/null
+++ b/x11-toolkits/pango/files/patch-ac
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/x11-toolkits/pango/files/patch-ac,v 1.5 2003/02/07 18:42:24 marcus Exp $
+
+--- Makefile.in.orig Mon Mar 11 12:16:33 2002
++++ Makefile.in Mon Mar 11 12:24:58 2002
+@@ -116,7 +116,7 @@
+ YACC = @YACC@
+ ms_librarian = @ms_librarian@
+
+-SUBDIRS = pango modules examples docs tools tests
++SUBDIRS = pango modules examples docs tools
+
+ EXTRA_DIST = \
+ pango.spec.in \
diff --git a/x11-toolkits/pango/files/patch-configure b/x11-toolkits/pango/files/patch-configure
new file mode 100644
index 000000000..611bcc576
--- /dev/null
+++ b/x11-toolkits/pango/files/patch-configure
@@ -0,0 +1,17 @@
+--- configure.orig Thu Jun 13 17:04:03 2002
++++ configure Wed Jul 3 12:46:50 2002
+@@ -12084,10 +12085,10 @@
+ s,@INSTALL_DATA@,$INSTALL_DATA,;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,@SET_MAKE@,$SET_MAKE,;t t
+ s,@CC@,$CC,;t t
diff --git a/x11-toolkits/pango/files/patch-ltmain.sh b/x11-toolkits/pango/files/patch-ltmain.sh
new file mode 100644
index 000000000..1d5698667
--- /dev/null
+++ b/x11-toolkits/pango/files/patch-ltmain.sh
@@ -0,0 +1,51 @@
+--- ltmain.sh.orig Thu Apr 24 19:44:23 2003
++++ ltmain.sh Sat May 31 01:34:34 2003
+@@ -1280,7 +1280,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd* | *-*-freebsd4*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1290,8 +1290,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -3000,6 +3008,9 @@
+ # problems, so we reset it completely
+ verstring=
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ verstring="0.0"
+ ;;
+@@ -5428,10 +5439,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-toolkits/pango/files/pkg-install.in b/x11-toolkits/pango/files/pkg-install.in
new file mode 100644
index 000000000..d734df0dd
--- /dev/null
+++ b/x11-toolkits/pango/files/pkg-install.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%X11BASE%%/bin
+export PATH
+
+if [ "$2" = "POST-INSTALL" ]; then
+ echo "Running fc-cache to build fontconfig cache..."
+ fc-cache -f -v
+fi
diff --git a/x11-toolkits/pango/pkg-descr b/x11-toolkits/pango/pkg-descr
new file mode 100644
index 000000000..49eeb62d0
--- /dev/null
+++ b/x11-toolkits/pango/pkg-descr
@@ -0,0 +1,8 @@
+The goal of the Pango project is to provide an open-source framework for the
+layout and rendering of internationalized text. Pango is an offshoot of the
+GTK+ and GNOME projects, and the initial focus is operation in those
+environments, however there is nothing fundamentally GTK+ or GNOME specific
+about Pango. Pango uses Unicode for all of its encoding, and will eventually
+support output in all the world's major languages.
+
+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..2b876feed
--- /dev/null
+++ b/x11-toolkits/pango/pkg-plist
@@ -0,0 +1,92 @@
+bin/pango-querymodules
+etc/pango/pango.modules
+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-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-item.h
+include/pango-1.0/pango/pango-layout.h
+include/pango-1.0/pango/pango-modules.h
+include/pango-1.0/pango/pango-ot.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/pangofc-font.h
+include/pango-1.0/pango/pangofc-fontmap.h
+include/pango-1.0/pango/pangoft2.h
+include/pango-1.0/pango/pangox.h
+include/pango-1.0/pango/pangoxft.h
+lib/libpango-1.0.a
+lib/libpango-1.0.so
+lib/libpango-1.0.so.300
+lib/libpangoft2-1.0.a
+lib/libpangoft2-1.0.so
+lib/libpangoft2-1.0.so.300
+lib/libpangox-1.0.a
+lib/libpangox-1.0.so
+lib/libpangox-1.0.so.300
+lib/libpangoxft-1.0.a
+lib/libpangoxft-1.0.so
+lib/libpangoxft-1.0.so.300
+lib/pango/%%VERSION%%/modules/pango-arabic-fc.so
+lib/pango/%%VERSION%%/modules/pango-basic-fc.so
+lib/pango/%%VERSION%%/modules/pango-basic-x.so
+lib/pango/%%VERSION%%/modules/pango-hangul-fc.so
+lib/pango/%%VERSION%%/modules/pango-hebrew-fc.so
+lib/pango/%%VERSION%%/modules/pango-indic-fc.so
+lib/pango/%%VERSION%%/modules/pango-thai-fc.so
+libdata/pkgconfig/pango.pc
+libdata/pkgconfig/pangoft2.pc
+libdata/pkgconfig/pangox.pc
+libdata/pkgconfig/pangoxft.pc
+share/doc/pango/PangoEngineLang.html
+share/doc/pango/PangoEngineShape.html
+share/doc/pango/PangoFcFont.html
+share/doc/pango/PangoFcFontMap.html
+share/doc/pango/home.png
+share/doc/pango/index.html
+share/doc/pango/index.sgml
+share/doc/pango/ix01.html
+share/doc/pango/layout.gif
+share/doc/pango/left.png
+share/doc/pango/lowlevel.html
+share/doc/pango/PangoMarkupFormat.html
+share/doc/pango/pango-Coverage-Maps.html
+share/doc/pango/pango-Engines.html
+share/doc/pango/pango-Fonts.html
+share/doc/pango/pango-FreeType-Fonts-and-Rendering.html
+share/doc/pango/pango-Glyph-Storage.html
+share/doc/pango/pango-Layout-Objects.html
+share/doc/pango/pango-Modules.html
+share/doc/pango/pango-OpenType-Font-Handling.html
+share/doc/pango/pango-Scripts.html
+share/doc/pango/pango-Tab-Stops.html
+share/doc/pango/pango-Text-Attributes.html
+share/doc/pango/pango-Text-Processing.html
+share/doc/pango/pango-Win32-Fonts-and-Rendering.html
+share/doc/pango/pango-X-Fonts-and-Rendering.html
+share/doc/pango/pango-Xft-Fonts-and-Rendering.html
+share/doc/pango/pango-querymodules.html
+share/doc/pango/pango.devhelp
+share/doc/pango/pango.html
+share/doc/pango/rendering.html
+share/doc/pango/right.png
+share/doc/pango/tools.html
+share/doc/pango/up.png
+@dirrm share/doc/pango
+@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