summaryrefslogtreecommitdiff
path: root/x11-toolkits/pango
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-18 08:46:04 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-18 08:46:04 +0000
commit834813f53a1d4091fb79a275257f5d0d53793543 (patch)
tree4f0d3900a448c1f826b71ffb920e2a26fae071f0 /x11-toolkits/pango
parentMake it use glib1.3 to allow it to be used with pango. (diff)
Add pango - an open-source framework for rendering i18n text. It will be
used as a base renderer in upcoming gtk/gnome 2.0.
Notes
Notes: svn path=/head/; revision=30778
Diffstat (limited to 'x11-toolkits/pango')
-rw-r--r--x11-toolkits/pango/Makefile29
-rw-r--r--x11-toolkits/pango/distinfo1
-rw-r--r--x11-toolkits/pango/files/patch-aa29
-rw-r--r--x11-toolkits/pango/files/patch-ab14
-rw-r--r--x11-toolkits/pango/pkg-comment1
-rw-r--r--x11-toolkits/pango/pkg-descr8
-rw-r--r--x11-toolkits/pango/pkg-plist34
7 files changed, 116 insertions, 0 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
new file mode 100644
index 000000000000..fc4e2bc839b0
--- /dev/null
+++ b/x11-toolkits/pango/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: pango
+# Date Created: 18 July 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pango
+PORTVERSION= 0.12
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://people.redhat.com/otaylor/pango-mirror/download/
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= glib-1.3.1:${PORTSDIR}/devel/glib13 \
+ giconv.2:${PORTSDIR}/converters/libiconv \
+ fribidi.0:${PORTSDIR}/textproc/fribidi
+
+USE_X_PREFIX= yes
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+pre-patch:
+ @find ${WRKSRC} -type f | xargs ${GREP} -l iconv.h | \
+ xargs ${PERL} -pi -e "s|iconv\.h|giconv.h|g"
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo
new file mode 100644
index 000000000000..a19c442b1a1e
--- /dev/null
+++ b/x11-toolkits/pango/distinfo
@@ -0,0 +1 @@
+MD5 (pango-0.12.tar.gz) = 1a99cf704d089cfe15678da1c80ecfca
diff --git a/x11-toolkits/pango/files/patch-aa b/x11-toolkits/pango/files/patch-aa
new file mode 100644
index 000000000000..a7541a59b8d5
--- /dev/null
+++ b/x11-toolkits/pango/files/patch-aa
@@ -0,0 +1,29 @@
+--- configure.orig Tue Jul 18 10:46:00 2000
++++ configure Tue Jul 18 10:46:24 2000
+@@ -2290,14 +2290,14 @@
+ #
+ # Check for libiconv
+ #
+- echo $ac_n "checking for libiconv_open in -liconv""... $ac_c" 1>&6
+-echo "configure:2295: checking for libiconv_open in -liconv" >&5
++ echo $ac_n "checking for libiconv_open in -lgiconv""... $ac_c" 1>&6
++echo "configure:2295: checking for libiconv_open in -lgiconv" >&5
+ ac_lib_var=`echo iconv'_'libiconv_open | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-liconv $LIBS"
++LIBS="-lgiconv $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2303 "configure"
+ #include "confdefs.h"
+@@ -2339,7 +2339,7 @@
+ UNICODE_CFLAGS=
+ UNICODE_LIBS=
+ if test "x$with_libiconv" = "xyes" ; then
+- UNICODE_LIBS="-liconv"
++ UNICODE_LIBS="-lgiconv"
+ fi
+
+
diff --git a/x11-toolkits/pango/files/patch-ab b/x11-toolkits/pango/files/patch-ab
new file mode 100644
index 000000000000..ff55610bd27f
--- /dev/null
+++ b/x11-toolkits/pango/files/patch-ab
@@ -0,0 +1,14 @@
+--- pango/Makefile.in.orig Tue Jul 18 11:21:36 2000
++++ pango/Makefile.in Tue Jul 18 11:21:41 2000
+@@ -100,9 +100,9 @@
+ # down at which point we'll either use the GTK+ versioning
+ # scheme or the standard libtool scheme.
+ #
+-libpango_la_LDFLAGS = -release $(VERSION) $(GLIB_LIBS)
++libpango_la_LDFLAGS = -version-info $(VERSION:S/./:/) $(GLIB_LIBS)
+
+-libpangox_la_LDFLAGS = -release $(VERSION)
++libpangox_la_LDFLAGS = -version-info $(VERSION:S/./:/)
+ libpangox_la_LIBADD = $(INCLUDED_MODULES)
+
+ pangoincludedir = $(includedir)/pango
diff --git a/x11-toolkits/pango/pkg-comment b/x11-toolkits/pango/pkg-comment
new file mode 100644
index 000000000000..4c28fa1a4d11
--- /dev/null
+++ b/x11-toolkits/pango/pkg-comment
@@ -0,0 +1 @@
+An open-source framework for the layout and rendering of i18n text
diff --git a/x11-toolkits/pango/pkg-descr b/x11-toolkits/pango/pkg-descr
new file mode 100644
index 000000000000..3b2cf949cb9b
--- /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 worlds 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 000000000000..2bb7dea6cb13
--- /dev/null
+++ b/x11-toolkits/pango/pkg-plist
@@ -0,0 +1,34 @@
+bin/pango-config
+bin/pango-querymodules
+etc/pango/pango.modules
+etc/pango/pangox.aliases
+include/pango/pango-attributes.h
+include/pango/pango-context.h
+include/pango/pango-coverage.h
+include/pango/pango-engine.h
+include/pango/pango-font.h
+include/pango/pango-fontmap.h
+include/pango/pango-glyph.h
+include/pango/pango-item.h
+include/pango/pango-layout.h
+include/pango/pango-modules.h
+include/pango/pango-types.h
+include/pango/pango-utils.h
+include/pango/pango.h
+include/pango/pangox.h
+lib/libpango.a
+lib/libpango.so
+lib/libpango.so.0
+lib/libpangox.a
+lib/libpangox.so
+lib/libpangox.so.0
+lib/pango/modules/pango-arabic.so
+lib/pango/modules/pango-basic.so
+lib/pango/modules/pango-devanagari.so
+lib/pango/modules/pango-hangul.so
+lib/pango/modules/pango-tamil.so
+lib/pango/modules/pango-thai.so
+@dirrm lib/pango/modules
+@dirrm lib/pango
+@dirrm include/pango
+@dirrm etc/pango