aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-03-06 14:19:19 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-03-06 14:19:19 +0800
commit307d9f1d16c9caaa3180ffd623c6c0c2f29c5845 (patch)
tree4a312fbea8f79c33d0cc59998c36e6427a0873fc /chinese
parent2b31ecd6fb3c6ce70398e2493d92b365fbce8b65 (diff)
downloadfreebsd-ports-gnome-307d9f1d16c9caaa3180ffd623c6c0c2f29c5845.tar.gz
freebsd-ports-gnome-307d9f1d16c9caaa3180ffd623c6c0c2f29c5845.tar.zst
freebsd-ports-gnome-307d9f1d16c9caaa3180ffd623c6c0c2f29c5845.zip
- Update to 0.6.3
- Update LICENSE - Update WWW Changes: https://github.com/xiaoyjy/cconv/releases
Diffstat (limited to 'chinese')
-rw-r--r--chinese/cconv/Makefile13
-rw-r--r--chinese/cconv/distinfo4
-rw-r--r--chinese/cconv/files/patch-configure.ac (renamed from chinese/cconv/files/patch-configure)11
-rw-r--r--chinese/cconv/pkg-plist1
4 files changed, 17 insertions, 12 deletions
diff --git a/chinese/cconv/Makefile b/chinese/cconv/Makefile
index 1da095d8051d..8ec8537f4f58 100644
--- a/chinese/cconv/Makefile
+++ b/chinese/cconv/Makefile
@@ -2,20 +2,23 @@
# $FreeBSD$
PORTNAME= cconv
-PORTVERSION= 0.6.2
-PORTREVISION= 4
+PORTVERSION= 0.6.3
+DISTVERSIONPREFIX= v
CATEGORIES= chinese converters
-MASTER_SITES= GOOGLE_CODE
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simplified-Traditional Chinese conversion tool
-LICENSE= GPLv2
+LICENSE= MIT
+LICNESE_FILE= ${WRKSRC}/License
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-USES= iconv libtool
+USES= autoreconf iconv libtool
+
+GH_ACCOUNT= xiaoyjy
+USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|unicode.h||; s|libcconv_la_LDFLAGS|cconv_LDFLAGS|' ${WRKSRC}/Makefile.in
diff --git a/chinese/cconv/distinfo b/chinese/cconv/distinfo
index 81a1cb4e1201..385e6c96a477 100644
--- a/chinese/cconv/distinfo
+++ b/chinese/cconv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cconv-0.6.2.tar.gz) = f463da66c2ae18407441e12716f5f1c6cdea4e417ebfd475ec4c6dc6ad250c9d
-SIZE (cconv-0.6.2.tar.gz) = 538414
+SHA256 (xiaoyjy-cconv-v0.6.3_GH0.tar.gz) = 82f46a94829f5a8157d6f686e302ff5710108931973e133d6e19593061b81d84
+SIZE (xiaoyjy-cconv-v0.6.3_GH0.tar.gz) = 446465
diff --git a/chinese/cconv/files/patch-configure b/chinese/cconv/files/patch-configure.ac
index 1af92b894160..227dc1274a44 100644
--- a/chinese/cconv/files/patch-configure
+++ b/chinese/cconv/files/patch-configure.ac
@@ -1,13 +1,14 @@
---- configure.orig 2010-02-08 03:55:22 UTC
-+++ configure
-@@ -19129,10 +19129,6 @@ fi
+--- configure.ac.orig 2015-12-11 11:19:25 UTC
++++ configure.ac
+@@ -27,11 +27,6 @@ AC_TYPE_SIZE_T
OS_TYPE="-D"`uname -s`
-
+ AC_SUBST(OS_TYPE)
-for i in /usr/local/iconv /usr/local /usr; do
- (test -f $i/lib/libiconv.so ||\
- test -f $i/lib/libiconv.a) && ICONV_DIR=$i && break
-done
-
+-
if test -z "$ICONV_DIR"; then
ICONV_LIBS=""
+ ICONV_INCLUDES=""
diff --git a/chinese/cconv/pkg-plist b/chinese/cconv/pkg-plist
index 376d26a13431..b1cfcc1e6582 100644
--- a/chinese/cconv/pkg-plist
+++ b/chinese/cconv/pkg-plist
@@ -1,5 +1,6 @@
bin/cconv
include/cconv.h
+include/unicode.h
lib/libcconv.a
lib/libcconv.so
lib/libcconv.so.0