summaryrefslogtreecommitdiffstats
path: root/devel/libunicode
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 20:34:54 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 20:34:54 +0800
commit2fea55032339985e6ec7ab360cfd7895f5d59bbc (patch)
tree0b191352634e2e0780c9917994f486baac3554f8 /devel/libunicode
parent0325264b81ca8c91adde22d2984f2688495bff67 (diff)
downloadmarcuscom-ports-2fea55032339985e6ec7ab360cfd7895f5d59bbc.tar
marcuscom-ports-2fea55032339985e6ec7ab360cfd7895f5d59bbc.tar.gz
marcuscom-ports-2fea55032339985e6ec7ab360cfd7895f5d59bbc.tar.bz2
marcuscom-ports-2fea55032339985e6ec7ab360cfd7895f5d59bbc.tar.lz
marcuscom-ports-2fea55032339985e6ec7ab360cfd7895f5d59bbc.tar.xz
marcuscom-ports-2fea55032339985e6ec7ab360cfd7895f5d59bbc.tar.zst
marcuscom-ports-2fea55032339985e6ec7ab360cfd7895f5d59bbc.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6622 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libunicode')
-rw-r--r--devel/libunicode/Makefile29
-rw-r--r--devel/libunicode/distinfo3
-rw-r--r--devel/libunicode/files/patch-aa11
-rw-r--r--devel/libunicode/files/patch-iso8859.c11
-rw-r--r--devel/libunicode/files/patch-latin1.c11
-rw-r--r--devel/libunicode/pkg-descr5
-rw-r--r--devel/libunicode/pkg-plist7
7 files changed, 77 insertions, 0 deletions
diff --git a/devel/libunicode/Makefile b/devel/libunicode/Makefile
new file mode 100644
index 000000000..2e0921bae
--- /dev/null
+++ b/devel/libunicode/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: libunicode
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= libunicode
+PORTVERSION= 0.4
+PORTREVISION= 6
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/libunicode/0.4
+DISTNAME= ${PORTNAME}-${PORTVERSION}.gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A library for manipulating Unicode characters and strings
+
+USE_GMAKE= yes
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/libunicode/distinfo b/devel/libunicode/distinfo
new file mode 100644
index 000000000..7c8767c9a
--- /dev/null
+++ b/devel/libunicode/distinfo
@@ -0,0 +1,3 @@
+MD5 (libunicode-0.4.gnome.tar.gz) = 78bca1168d7f180e9cc8a3388bf7374e
+SHA256 (libunicode-0.4.gnome.tar.gz) = a4466a63c6501aa3137fdf309dc044bbb48186136ab86ea87c09653789ebcffd
+SIZE (libunicode-0.4.gnome.tar.gz) = 211622
diff --git a/devel/libunicode/files/patch-aa b/devel/libunicode/files/patch-aa
new file mode 100644
index 000000000..2c39e59e3
--- /dev/null
+++ b/devel/libunicode/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Wed Sep 20 17:44:12 2000
++++ Makefile.in Thu Sep 21 10:54:20 2000
+@@ -94,7 +94,7 @@
+ EXTRA_DIST = libunicode.spec.in unicodeConf.sh.in
+
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = unicodeConf.sh
+
+ CLEAN_FILES = unicodeConf.sh
diff --git a/devel/libunicode/files/patch-iso8859.c b/devel/libunicode/files/patch-iso8859.c
new file mode 100644
index 000000000..afe3101c5
--- /dev/null
+++ b/devel/libunicode/files/patch-iso8859.c
@@ -0,0 +1,11 @@
+--- iso8859.c.orig Fri Oct 29 15:15:19 1999
++++ iso8859.c Wed Jun 5 02:43:26 2002
+@@ -271,6 +271,8 @@
+ #define ISO_DEFINE(Num) \
+ static char * n ## Num [] = { "8859-" # Num, \
+ "ISO-8859-" # Num, \
++ "ISO_8859-1" # Num, \
++ "ISO8859-" # Num, \
+ NULL }; \
+ unicode_encoding_t P3 (unicode_iso8859_, Num, _encoding) = \
+ { \
diff --git a/devel/libunicode/files/patch-latin1.c b/devel/libunicode/files/patch-latin1.c
new file mode 100644
index 000000000..5196870a1
--- /dev/null
+++ b/devel/libunicode/files/patch-latin1.c
@@ -0,0 +1,11 @@
+--- latin1.c.orig Wed Jun 5 02:41:15 2002
++++ latin1.c Wed Jun 5 02:41:34 2002
+@@ -89,7 +89,7 @@
+ }
+
+ /* The encoding descriptor for Latin1. */
+-static char *l1n[] = { "8859-1", "ISO-8859-1", NULL };
++static char *l1n[] = { "8859-1", "ISO8859-1", "ISO_8859-1", "ISO-8859-1", NULL };
+ unicode_encoding_t unicode_latin1_encoding =
+ {
+ l1n,
diff --git a/devel/libunicode/pkg-descr b/devel/libunicode/pkg-descr
new file mode 100644
index 000000000..b27a4d6b0
--- /dev/null
+++ b/devel/libunicode/pkg-descr
@@ -0,0 +1,5 @@
+libunicode is a library for manipulating Unicode characters and
+strings. It understands both the UTF-8 and UCS-2 encodings, and has a
+framework for adding support for new encodings.
+
+WWW: http://www.gnome.org/
diff --git a/devel/libunicode/pkg-plist b/devel/libunicode/pkg-plist
new file mode 100644
index 000000000..ea1954412
--- /dev/null
+++ b/devel/libunicode/pkg-plist
@@ -0,0 +1,7 @@
+bin/unicode-config
+etc/unicodeConf.sh
+include/unicode.h
+lib/libunicode.a
+lib/libunicode.la
+lib/libunicode.so
+lib/libunicode.so.0