diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-06-28 16:38:30 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-06-28 16:38:30 +0800 |
commit | b64b1d80aff6504914e50eb3ca20a84e5e489d6d (patch) | |
tree | 66f00ed3ada332ef2380a805b3feeaad16553a5f /chinese/bsdconv-opencc | |
parent | 0f35db0de9ee31bebd64c8be0a86557498342410 (diff) | |
download | freebsd-ports-gnome-b64b1d80aff6504914e50eb3ca20a84e5e489d6d.tar.gz freebsd-ports-gnome-b64b1d80aff6504914e50eb3ca20a84e5e489d6d.tar.zst freebsd-ports-gnome-b64b1d80aff6504914e50eb3ca20a84e5e489d6d.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)
Diffstat (limited to 'chinese/bsdconv-opencc')
-rw-r--r-- | chinese/bsdconv-opencc/Makefile | 12 | ||||
-rw-r--r-- | chinese/bsdconv-opencc/distinfo | 4 | ||||
-rw-r--r-- | chinese/bsdconv-opencc/files/patch-Makefile | 17 | ||||
-rw-r--r-- | chinese/bsdconv-opencc/pkg-plist | 30 |
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 |