1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-06-28 08:38:30 +00:00
parent af1d0bbef2
commit e2b26a2388
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390752
4 changed files with 13 additions and 50 deletions

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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