summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-21 05:10:13 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-21 05:10:13 +0800
commitcf3cc3a79def2c953e47fa234a0aa85941657950 (patch)
treeb09bb36db60b6be48dedf576a117f803b2d86197
parentdb2f4bfe78c8f929f6858ac3e69942f792dc18fa (diff)
downloadmarcuscom-ports-cf3cc3a79def2c953e47fa234a0aa85941657950.tar
marcuscom-ports-cf3cc3a79def2c953e47fa234a0aa85941657950.tar.gz
marcuscom-ports-cf3cc3a79def2c953e47fa234a0aa85941657950.tar.bz2
marcuscom-ports-cf3cc3a79def2c953e47fa234a0aa85941657950.tar.lz
marcuscom-ports-cf3cc3a79def2c953e47fa234a0aa85941657950.tar.xz
marcuscom-ports-cf3cc3a79def2c953e47fa234a0aa85941657950.tar.zst
marcuscom-ports-cf3cc3a79def2c953e47fa234a0aa85941657950.zip
- Add pango at 1.9.0
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4104 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--Mk/bsd.gnome.mk2
-rw-r--r--x11-toolkits/pango/Makefile63
-rw-r--r--x11-toolkits/pango/distinfo2
-rw-r--r--x11-toolkits/pango/files/patch-ac15
-rw-r--r--x11-toolkits/pango/files/patch-configure17
-rw-r--r--x11-toolkits/pango/pkg-descr6
-rw-r--r--x11-toolkits/pango/pkg-plist67
7 files changed, 171 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 20ac2e767..f655a9348 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -254,7 +254,7 @@ atk_LIB_DEPENDS= atk-1.0.1011:${PORTSDIR}/accessibility/atk
atk_DETECT= ${LOCALBASE}/libdata/pkgconfig/atk.pc
atk_USE_GNOME_IMPL= glib20
-pango_LIB_DEPENDS= pango-1.0.800:${PORTSDIR}/x11-toolkits/pango
+pango_LIB_DEPENDS= pango-1.0.900:${PORTSDIR}/x11-toolkits/pango
pango_DETECT= ${X11BASE}/libdata/pkgconfig/pango.pc
pango_USE_GNOME_IMPL= glib20
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
new file mode 100644
index 000000000..e5f9a0964
--- /dev/null
+++ b/x11-toolkits/pango/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: pango
+# Date Created: 18 July 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pango
+PORTVERSION= 1.9.0
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/1.9,} \
+ ftp://ftp.gtk.org/pub/gtk/v2.6/
+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/libXft \
+ cairo.1:${PORTSDIR}/graphics/cairo
+RUN_DEPENDS= ${FONTSCALE}:${X_FONTS_TTF_PORT} \
+ ${FONTENCOD}:${X_FONTS_ENCODINGS_PORT}
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER=15
+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..b4242e148
--- /dev/null
+++ b/x11-toolkits/pango/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/pango-1.9.0.tar.bz2) = d4948020be961217f2c3b0c0470762d1
+SIZE (gnome2/pango-1.9.0.tar.bz2) = 976197
diff --git a/x11-toolkits/pango/files/patch-ac b/x11-toolkits/pango/files/patch-ac
new file mode 100644
index 000000000..362dcd3f4
--- /dev/null
+++ b/x11-toolkits/pango/files/patch-ac
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- Makefile.in.orig Mon Aug 2 19:12:56 2004
++++ Makefile.in Mon Aug 2 19:13:11 2004
+@@ -234,7 +234,7 @@
+
+ AUTOMAKE_OPTIONS = 1.7
+
+-SUBDIRS = pango modules examples docs tools tests
++SUBDIRS = pango modules examples docs tools
+
+ EXTRA_DIST = \
+ pango.pc.in \
+
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/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..4105f2645
--- /dev/null
+++ b/x11-toolkits/pango/pkg-plist
@@ -0,0 +1,67 @@
+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-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
+include/pango-1.0/pango/pangox.h
+include/pango-1.0/pango/pangoxft-render.h
+include/pango-1.0/pango/pangoxft.h
+lib/libpango-1.0.a
+lib/libpango-1.0.so
+lib/libpango-1.0.so.900
+lib/libpangocairo-1.0.a
+lib/libpangocairo-1.0.so
+lib/libpangocairo-1.0.so.900
+lib/libpangoft2-1.0.a
+lib/libpangoft2-1.0.so
+lib/libpangoft2-1.0.so.900
+lib/libpangox-1.0.a
+lib/libpangox-1.0.so
+lib/libpangox-1.0.so.900
+lib/libpangoxft-1.0.a
+lib/libpangoxft-1.0.so
+lib/libpangoxft-1.0.so.900
+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-syriac-fc.so
+lib/pango/%%VERSION%%/modules/pango-thai-fc.so
+lib/pango/%%VERSION%%/modules/pango-tibetan-fc.so
+libdata/pkgconfig/pango.pc
+libdata/pkgconfig/pangocairo.pc
+libdata/pkgconfig/pangoft2.pc
+libdata/pkgconfig/pangox.pc
+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