aboutsummaryrefslogtreecommitdiff
path: root/chinese/bsdconv-opencc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-06-28 08:38:30 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-06-28 08:38:30 +0000
commite2b26a238821964950ccb8df60850e794f2eb3d6 (patch)
tree66f00ed3ada332ef2380a805b3feeaad16553a5f /chinese/bsdconv-opencc
parentaf1d0bbef2e598ed81330551ee332d563eb1a096 (diff)
downloadports-e2b26a238821964950ccb8df60850e794f2eb3d6.tar.gz
ports-e2b26a238821964950ccb8df60850e794f2eb3d6.zip
- Update to 11.3
- Strip shared library - Use PLIST_FILES Changes: https://github.com/buganini/bsdconv-opencc/releases PR: 201016 Submitted by: sunpoet (myself) Approved by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=390752
Diffstat (limited to 'chinese/bsdconv-opencc')
-rw-r--r--chinese/bsdconv-opencc/Makefile12
-rw-r--r--chinese/bsdconv-opencc/distinfo4
-rw-r--r--chinese/bsdconv-opencc/files/patch-Makefile17
-rw-r--r--chinese/bsdconv-opencc/pkg-plist30
4 files changed, 13 insertions, 50 deletions
diff --git a/chinese/bsdconv-opencc/Makefile b/chinese/bsdconv-opencc/Makefile
index 0e2ff591bc91..48909b315373 100644
--- a/chinese/bsdconv-opencc/Makefile
+++ b/chinese/bsdconv-opencc/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= opencc
-PORTVERSION= 11.1
+PORTVERSION= 11.3
CATEGORIES= chinese converters
PKGNAMEPREFIX= bsdconv-
@@ -15,8 +15,18 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/bsdconv-mktable:${PORTSDIR}/converters/bsdconv
LIB_DEPENDS= libbsdconv.so:${PORTSDIR}/converters/bsdconv \
libopencc.so:${PORTSDIR}/chinese/opencc
+PLIST_FILES= share/bsdconv/inter/OPENCC \
+ share/bsdconv/inter/OPENCC.man \
+ share/bsdconv/inter/OPENCC.so
+
USE_GITHUB= yes
GH_ACCOUNT= buganini
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/OPENCC.so
+
.include <bsd.port.mk>
diff --git a/chinese/bsdconv-opencc/distinfo b/chinese/bsdconv-opencc/distinfo
index 9e43c9cb4568..293ce72b0dd1 100644
--- a/chinese/bsdconv-opencc/distinfo
+++ b/chinese/bsdconv-opencc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (buganini-bsdconv-opencc-11.1_GH0.tar.gz) = 5110067f8e3540bcb93afe5d87b6146c029a00fbbf69efb7dd07e4753ef93fad
-SIZE (buganini-bsdconv-opencc-11.1_GH0.tar.gz) = 2826
+SHA256 (buganini-bsdconv-opencc-11.3_GH0.tar.gz) = d4520a1c49b367cacee1aa4c370271f9dadd34705ccf822fdf00db9e96eb50e2
+SIZE (buganini-bsdconv-opencc-11.3_GH0.tar.gz) = 2973
diff --git a/chinese/bsdconv-opencc/files/patch-Makefile b/chinese/bsdconv-opencc/files/patch-Makefile
deleted file mode 100644
index 230cd899ec1a..000000000000
--- a/chinese/bsdconv-opencc/files/patch-Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig 2013-09-20 02:35:00.000000000 +0800
-+++ Makefile 2014-01-07 14:26:54.000000000 +0800
-@@ -35,9 +35,10 @@ clean:
- rm -rf OPENCC OPENCC.so OPENCC-*
-
- install:
-+ mkdir -p $(DESTDIR)${PREFIX}/share/bsdconv/inter
- for item in ${CONFIGS} ; do \
-- install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
-- install -m 444 OPENCC-$${item}.so ${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
-+ install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
-+ install -m 444 OPENCC-$${item}.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
- done
-- install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC
-- install -m 444 OPENCC.so ${PREFIX}/share/bsdconv/inter/OPENCC.so
-+ install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC
-+ install -m 444 OPENCC.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC.so
diff --git a/chinese/bsdconv-opencc/pkg-plist b/chinese/bsdconv-opencc/pkg-plist
deleted file mode 100644
index f62f4ee6b202..000000000000
--- a/chinese/bsdconv-opencc/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-share/bsdconv/inter/OPENCC
-share/bsdconv/inter/OPENCC-MIX2ZHS
-share/bsdconv/inter/OPENCC-MIX2ZHS.so
-share/bsdconv/inter/OPENCC-MIX2ZHT
-share/bsdconv/inter/OPENCC-MIX2ZHT.so
-share/bsdconv/inter/OPENCC-ZHS2ZHT
-share/bsdconv/inter/OPENCC-ZHS2ZHT.so
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_P
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_P.so
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_V
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_V.so
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP.so
-share/bsdconv/inter/OPENCC-ZHT2ZHS
-share/bsdconv/inter/OPENCC-ZHT2ZHS.so
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_P
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_P.so
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_V
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_V.so
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP.so
-share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S
-share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S.so
-share/bsdconv/inter/OPENCC-ZHTW2ZHCN_T
-share/bsdconv/inter/OPENCC-ZHTW2ZHCN_T.so
-share/bsdconv/inter/OPENCC-ZHTW2ZHS
-share/bsdconv/inter/OPENCC-ZHTW2ZHS.so
-share/bsdconv/inter/OPENCC-ZHTW2ZHT
-share/bsdconv/inter/OPENCC-ZHTW2ZHT.so
-share/bsdconv/inter/OPENCC.so