mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Update to 0.5.1 and take maintainership of chinese/libchewing.
ok sthen@
This commit is contained in:
+21
-10
@@ -1,24 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2016/03/11 19:59:12 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2017/11/13 13:21:35 kevlo Exp $
|
||||
|
||||
COMMENT= intelligent phonetic input method library
|
||||
COMMENT = intelligent phonetic input method library
|
||||
|
||||
V = 0.3.3
|
||||
DISTNAME= libchewing-$V
|
||||
PKGNAME= zh-libchewing-$V
|
||||
REVISION = 2
|
||||
V = 0.5.1
|
||||
DISTNAME = libchewing-$V
|
||||
PKGNAME = zh-libchewing-$V
|
||||
|
||||
SHARED_LIBS= chewing 0.0 # .3.1
|
||||
SHARED_LIBS = chewing 0.1 # .3.3
|
||||
|
||||
CATEGORIES= chinese inputmethods
|
||||
CATEGORIES = chinese inputmethods
|
||||
|
||||
HOMEPAGE= http://chewing.im/
|
||||
HOMEPAGE = http://chewing.im/
|
||||
|
||||
MAINTAINER = Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
# LGPLv2.1 only
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += m pthread sqlite3
|
||||
|
||||
MASTER_SITES = https://github.com/chewing/libchewing/releases/download/v$V/
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
BUILD_DEPENDS = print/texinfo
|
||||
LIB_DEPENDS = databases/sqlite3
|
||||
|
||||
MAKE_FLAGS = MAKEINFO=${LOCALBASE}/bin/gmakeinfo
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (libchewing-0.3.3.tar.bz2) = cqDeErhsTV9kaKaNiMc2In/xb6epFfhZX/5aMcrpXq4=
|
||||
SIZE (libchewing-0.3.3.tar.bz2) = 1798134
|
||||
SHA256 (libchewing-0.5.1.tar.bz2) = lwjGNBX6YDRDXA84EA59MNDhuskn9nvsbf6z/vAWFys=
|
||||
SIZE (libchewing-0.5.1.tar.bz2) = 3141084
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-configure,v 1.4 2017/11/13 13:21:35 kevlo Exp $
|
||||
|
||||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -15425,7 +15425,7 @@ fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_undefined" >&5
|
||||
$as_echo "$ac_cv_no_undefined" >&6; }
|
||||
if test x$ac_cv_no_undefined = "xyes"; then :
|
||||
- NO_UNDEFINED_LDFLAGS="-Wl,--no-undefined"
|
||||
+ NO_UNDEFINED_LDFLAGS=""
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_hash_c,v 1.1 2011/05/02 06:55:07 kevlo Exp $
|
||||
--- src/hash.c.orig Mon May 2 12:34:53 2011
|
||||
+++ src/hash.c Mon May 2 13:05:53 2011
|
||||
@@ -524,7 +524,7 @@ int InitHash( const char *path )
|
||||
} else {
|
||||
sprintf( hashfilename, "%s" PLAT_SEPARATOR "%s", path, HASH_FILE );
|
||||
}
|
||||
- memset( hashtable, (int) NULL, HASH_TABLE_SIZE );
|
||||
+ memset( hashtable, 0, HASH_TABLE_SIZE );
|
||||
|
||||
open_hash_file:
|
||||
dump = _load_hash_file( hashfilename, &fsize );
|
||||
@@ -1,20 +1,18 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2015/03/16 18:07:37 naddy Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2017/11/13 13:21:35 kevlo Exp $
|
||||
include/chewing/
|
||||
include/chewing/chewing-compat.h
|
||||
include/chewing/chewing.h
|
||||
include/chewing/chewingio.h
|
||||
include/chewing/global.h
|
||||
include/chewing/mod_aux.h
|
||||
@info info/libchewing.info
|
||||
lib/libchewing.a
|
||||
lib/libchewing.la
|
||||
@lib lib/libchewing.so.${LIBchewing_VERSION}
|
||||
lib/pkgconfig/chewing.pc
|
||||
share/chewing/
|
||||
share/chewing/ch_index_begin.dat
|
||||
share/chewing/ch_index_phone.dat
|
||||
share/chewing/dict.dat
|
||||
share/chewing/fonetree.dat
|
||||
share/chewing/ph_index.dat
|
||||
share/chewing/pinyin.tab
|
||||
share/chewing/swkb.dat
|
||||
share/chewing/symbols.dat
|
||||
share/chewing/us_freq.dat
|
||||
share/libchewing/
|
||||
share/libchewing/dictionary.dat
|
||||
share/libchewing/index_tree.dat
|
||||
share/libchewing/pinyin.tab
|
||||
share/libchewing/swkb.dat
|
||||
share/libchewing/symbols.dat
|
||||
|
||||
Reference in New Issue
Block a user