aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-02-06 04:35:48 +0800
committeralepulver <alepulver@FreeBSD.org>2007-02-06 04:35:48 +0800
commit0a88fe190b625c5a4a1c46a708fceaad4e660e34 (patch)
treed5fd4d99764f7c55e308b45183f72d37ef5952f2 /korean
parentdfd8f40fe2f623582d96c4764fc7145df6f565a8 (diff)
downloadfreebsd-ports-graphics-0a88fe190b625c5a4a1c46a708fceaad4e660e34.tar.gz
freebsd-ports-graphics-0a88fe190b625c5a4a1c46a708fceaad4e660e34.tar.zst
freebsd-ports-graphics-0a88fe190b625c5a4a1c46a708fceaad4e660e34.zip
A library for hangul processing.
--- WWW: http://kldp.net/projects/hangul/ PR: ports/108590 Submitted by: Hyogeol, Lee <hyogeollee at gmail.com>
Diffstat (limited to 'korean')
-rw-r--r--korean/Makefile1
-rw-r--r--korean/libhangul/Makefile21
-rw-r--r--korean/libhangul/distinfo3
-rw-r--r--korean/libhangul/files/patch-Makefile.in11
-rw-r--r--korean/libhangul/files/patch-test29
-rw-r--r--korean/libhangul/pkg-descr4
-rw-r--r--korean/libhangul/pkg-plist10
7 files changed, 79 insertions, 0 deletions
diff --git a/korean/Makefile b/korean/Makefile
index 0fc860d6b7b..32a8e727a52 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -39,6 +39,7 @@
SUBDIR += johabfonts
SUBDIR += kaistfonts
SUBDIR += kde3-i18n
+ SUBDIR += libhangul
SUBDIR += linuxdoc-sgml
SUBDIR += man-doc
SUBDIR += mizifont
diff --git a/korean/libhangul/Makefile b/korean/libhangul/Makefile
new file mode 100644
index 00000000000..d86dd7d0a4b
--- /dev/null
+++ b/korean/libhangul/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: libhangul
+# Date created: 31 Januaray 2007
+# Whom: Hyogeol, Lee <hyogeollee@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libhangul
+PORTVERSION= 0.0.4
+CATEGORIES= korean
+MASTER_SITES= http://kldp.net/frs/download.php/3733/
+
+MAINTAINER= hyogeollee@gmail.com
+COMMENT= A library for hangul processing
+
+USE_ICONV= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/korean/libhangul/distinfo b/korean/libhangul/distinfo
new file mode 100644
index 00000000000..290b16e3594
--- /dev/null
+++ b/korean/libhangul/distinfo
@@ -0,0 +1,3 @@
+MD5 (libhangul-0.0.4.tar.gz) = a32301e03a381917cb2ec836a43a9664
+SHA256 (libhangul-0.0.4.tar.gz) = 939bbcacd49487f830cd9d8bf56f81043f519bb7bfbcfb568fd87bf484120a10
+SIZE (libhangul-0.0.4.tar.gz) = 689104
diff --git a/korean/libhangul/files/patch-Makefile.in b/korean/libhangul/files/patch-Makefile.in
new file mode 100644
index 00000000000..1033d63d71c
--- /dev/null
+++ b/korean/libhangul/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Wed Jan 31 14:43:16 2007
++++ Makefile.in Wed Jan 31 14:45:23 2007
+@@ -134,7 +134,7 @@
+ target_alias = @target_alias@
+ SUBDIRS = hangul data bindings test
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libhangul.pc
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/korean/libhangul/files/patch-test b/korean/libhangul/files/patch-test
new file mode 100644
index 00000000000..673233ca0a4
--- /dev/null
+++ b/korean/libhangul/files/patch-test
@@ -0,0 +1,29 @@
+diff -ruN libhangul-0.0.4_orig/test/Makefile.in libhangul-0.0.4/test/Makefile.in
+--- test/Makefile.in.orig Sat Jan 6 15:06:17 2007
++++ test/Makefile.in Wed Jan 31 14:25:46 2007
+@@ -153,11 +153,11 @@
+ am_hangul_OBJECTS = hangul-hangul.$(OBJEXT)
+ hangul_OBJECTS = $(am_hangul_OBJECTS)
+ hangul_DEPENDENCIES = ../hangul/libhangul.la
+-hangul_LDFLAGS =
++hangul_LDFLAGS = -liconv
+ am_hanja_OBJECTS = hanja-hanja.$(OBJEXT)
+ hanja_OBJECTS = $(am_hanja_OBJECTS)
+ hanja_DEPENDENCIES = ../hangul/libhangul.la
+-hanja_LDFLAGS =
++hanja_LDFLAGS = -liconv
+
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+diff -ruN libhangul-0.0.4_orig/test/hangul.c libhangul-0.0.4/test/hangul.c
+--- test/hangul.c.orig Thu Jan 4 22:37:09 2007
++++ test/hangul.c Wed Jan 31 14:25:53 2007
+@@ -2,7 +2,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <iconv.h>
+-#include <endian.h>
++#include <sys/endian.h>
+
+ #include "../hangul/hangul.h"
+
diff --git a/korean/libhangul/pkg-descr b/korean/libhangul/pkg-descr
new file mode 100644
index 00000000000..7278d685ff7
--- /dev/null
+++ b/korean/libhangul/pkg-descr
@@ -0,0 +1,4 @@
+A library for hangul processing.
+
+---
+WWW: http://kldp.net/projects/hangul/
diff --git a/korean/libhangul/pkg-plist b/korean/libhangul/pkg-plist
new file mode 100644
index 00000000000..e2d3a4bf4a3
--- /dev/null
+++ b/korean/libhangul/pkg-plist
@@ -0,0 +1,10 @@
+include/hangul-1.0/hangul.h
+%%DATADIR%%/hanja/hanja.txt
+lib/libhangul.a
+lib/libhangul.la
+lib/libhangul.so
+lib/libhangul.so.0
+libdata/pkgconfig/libhangul.pc
+@dirrm %%DATADIR%%/hanja
+@dirrm %%DATADIR%%
+@dirrm include/hangul-1.0