[23742] trunk/dports/x11
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 7 23:53:56 PDT 2007
Revision: 23742
http://trac.macosforge.org/projects/macports/changeset/23742
Author: markd at macports.org
Date: 2007-04-07 23:53:52 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
New port.
Added Paths:
-----------
trunk/dports/x11/libhangul/
trunk/dports/x11/libhangul/Portfile
trunk/dports/x11/libhangul/files/
trunk/dports/x11/libhangul/files/patch-Makefile
trunk/dports/x11/libhangul/files/patch-test
Added: trunk/dports/x11/libhangul/Portfile
===================================================================
--- trunk/dports/x11/libhangul/Portfile (rev 0)
+++ trunk/dports/x11/libhangul/Portfile 2007-04-08 06:53:52 UTC (rev 23742)
@@ -0,0 +1,27 @@
+PortSystem 1.0
+name libhangul
+version 0.0.4
+categories x11
+platforms darwin
+maintainers nomaintainer at macports.org
+description A library for hangul processing.
+long_description ${description}
+
+homepage http://nabi.kldp.net
+master_sites http://kldp.net/frs/download.php/3733/
+
+depends_lib port:libiconv
+checksums md5 a32301e03a381917cb2ec836a43a9664
+patchfiles patch-Makefile patch-test
+
+configure.env CPPFLAGS="-I${prefix}/include" LIBS="-L${prefix}/lib"
+
+post-patch {
+ reinplace "s|__PLATFORM__|ppc|g" \
+ ${worksrcpath}/test/hangul.c
+
+if { [variant_isset i386] } {
+ reinplace "s|__PLATFORM__|i386|g" \
+ ${worksrcpath}/test/hangul.c
+}
+}
Property changes on: trunk/dports/x11/libhangul/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/x11/libhangul/files/patch-Makefile
===================================================================
--- trunk/dports/x11/libhangul/files/patch-Makefile (rev 0)
+++ trunk/dports/x11/libhangul/files/patch-Makefile 2007-04-08 06:53:52 UTC (rev 23742)
@@ -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)/lib/pkgconfig
+ pkgconfig_DATA = libhangul.pc
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
Added: trunk/dports/x11/libhangul/files/patch-test
===================================================================
--- trunk/dports/x11/libhangul/files/patch-test (rev 0)
+++ trunk/dports/x11/libhangul/files/patch-test 2007-04-08 06:53:52 UTC (rev 23742)
@@ -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 <__PLATFORM__/endian.h>
+
+ #include "../hangul/hangul.h"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070407/97e2f898/attachment.html
More information about the macports-changes
mailing list