Update to libhangul-0.1.0

While here:
- update MASTER_SITES
- drop the gettext module
- add a patch already committed upstream (found in the FreeBSD port)

Patch from Nils Reusse
This commit is contained in:
jca 2017-04-18 16:50:34 +00:00
parent 09d5195c27
commit 38ee392569
4 changed files with 31 additions and 13 deletions

View File

@ -1,27 +1,26 @@
# $OpenBSD: Makefile,v 1.8 2016/04/09 20:14:48 naddy Exp $
# $OpenBSD: Makefile,v 1.9 2017/04/18 16:50:34 jca Exp $
COMMENT= hangul input library
DISTNAME= libhangul-0.0.10
REVISION = 1
DISTNAME= libhangul-0.1.0
DISTFILES= 3442-${DISTNAME}${EXTRACT_SUFX}
SHARED_LIBS= hangul 0.1 # .1.0
SHARED_LIBS= hangul 1.0 # .1.0
CATEGORIES= korean inputmethods
HOMEPAGE= http://kldp.net/projects/hangul/
HOMEPAGE= http://kldp.net/hangul/
# LGPLv2.1+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= iconv
WANTLIB += c iconv intl
LIB_DEPENDS= converters/libiconv
LIB_DEPENDS= converters/libiconv \
devel/gettext
MASTER_SITES= http://kldp.net/frs/download.php/5417/
MASTER_SITES= http://kldp.net/hangul/release/
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (libhangul-0.0.10.tar.gz) = rwciASYyqyr8IBaqZkO9aXnhQPrMVqkRpaRfl/5h1MU=
SIZE (libhangul-0.0.10.tar.gz) = 2828525
SHA256 (3442-libhangul-0.1.0.tar.gz) = WQWqXFV9jUbhkP7Br911ur87wIbvKGtCAHVycDZYKVo=
SIZE (3442-libhangul-0.1.0.tar.gz) = 2899845

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-hangul_hangulctype_c,v 1.1 2017/04/18 16:50:34 jca Exp $
https://github.com/choehwanjin/libhangul/commit/3e59c64a985a1355d116319d69973b29d0d8ec66
--- hangul/hangulctype.c.orig Sun Aug 28 16:06:23 2011
+++ hangul/hangulctype.c Thu Apr 13 20:02:34 2017
@@ -518,6 +518,10 @@ hangul_jamo_to_cjamo(ucschar c)
0x0000, /* 0xd7c4 */
0x0000, /* 0xd7c5 */
0x0000, /* 0xd7c6 */
+ 0x0000, /* 0xd7c7 */
+ 0x0000, /* 0xd7c8 */
+ 0x0000, /* 0xd7c9 */
+ 0x0000, /* 0xd7ca */
0x0000, /* 0xd7cb */
0x0000, /* 0xd7cc */
0x3138, /* 0xd7cd */

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.3 2015/03/16 18:07:49 naddy Exp $
@comment $OpenBSD: PLIST,v 1.4 2017/04/18 16:50:34 jca Exp $
@bin bin/hangul
include/hangul-1.0/
include/hangul-1.0/hangul.h
lib/libhangul.a
@ -8,3 +9,4 @@ lib/pkgconfig/libhangul.pc
share/libhangul/
share/libhangul/hanja/
share/libhangul/hanja/hanja.txt
share/locale/ko/LC_MESSAGES/libhangul.mo