View | Details | Raw Unified | Return to bug 201016
Collapse All | Expand All

(-)chinese/bsdconv-opencc/Makefile (-1 / +11 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	opencc
4
PORTNAME=	opencc
5
PORTVERSION=	11.1
5
PORTVERSION=	11.3
6
CATEGORIES=	chinese converters
6
CATEGORIES=	chinese converters
7
PKGNAMEPREFIX=	bsdconv-
7
PKGNAMEPREFIX=	bsdconv-
8
8
Lines 15-22 Link Here
15
LIB_DEPENDS=	libbsdconv.so:${PORTSDIR}/converters/bsdconv \
15
LIB_DEPENDS=	libbsdconv.so:${PORTSDIR}/converters/bsdconv \
16
		libopencc.so:${PORTSDIR}/chinese/opencc
16
		libopencc.so:${PORTSDIR}/chinese/opencc
17
17
18
PLIST_FILES=	share/bsdconv/inter/OPENCC \
19
		share/bsdconv/inter/OPENCC.man \
20
		share/bsdconv/inter/OPENCC.so
21
18
USE_GITHUB=	yes
22
USE_GITHUB=	yes
19
GH_ACCOUNT=	buganini
23
GH_ACCOUNT=	buganini
20
GH_PROJECT=	${PKGNAMEPREFIX}${PORTNAME}
24
GH_PROJECT=	${PKGNAMEPREFIX}${PORTNAME}
21
25
26
pre-install:
27
	${MKDIR} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/
28
29
post-install:
30
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/OPENCC.so
31
22
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)chinese/bsdconv-opencc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (buganini-bsdconv-opencc-11.1_GH0.tar.gz) = 5110067f8e3540bcb93afe5d87b6146c029a00fbbf69efb7dd07e4753ef93fad
1
SHA256 (buganini-bsdconv-opencc-11.3_GH0.tar.gz) = d4520a1c49b367cacee1aa4c370271f9dadd34705ccf822fdf00db9e96eb50e2
2
SIZE (buganini-bsdconv-opencc-11.1_GH0.tar.gz) = 2826
2
SIZE (buganini-bsdconv-opencc-11.3_GH0.tar.gz) = 2973
(-)chinese/bsdconv-opencc/files/patch-Makefile (-17 lines)
Lines 1-17 Link Here
1
--- Makefile.orig	2013-09-20 02:35:00.000000000 +0800
2
+++ Makefile	2014-01-07 14:26:54.000000000 +0800
3
@@ -35,9 +35,10 @@ clean:
4
 	rm -rf OPENCC OPENCC.so OPENCC-*
5
 
6
 install:
7
+	mkdir -p $(DESTDIR)${PREFIX}/share/bsdconv/inter
8
 	for item in ${CONFIGS} ; do \
9
-		install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
10
-		install -m 444 OPENCC-$${item}.so ${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
11
+		install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
12
+		install -m 444 OPENCC-$${item}.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
13
 	done
14
-	install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC
15
-	install -m 444 OPENCC.so ${PREFIX}/share/bsdconv/inter/OPENCC.so
16
+	install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC
17
+	install -m 444 OPENCC.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC.so
(-)chinese/bsdconv-opencc/pkg-plist (-30 lines)
Lines 1-30 Link Here
1
share/bsdconv/inter/OPENCC
2
share/bsdconv/inter/OPENCC-MIX2ZHS
3
share/bsdconv/inter/OPENCC-MIX2ZHS.so
4
share/bsdconv/inter/OPENCC-MIX2ZHT
5
share/bsdconv/inter/OPENCC-MIX2ZHT.so
6
share/bsdconv/inter/OPENCC-ZHS2ZHT
7
share/bsdconv/inter/OPENCC-ZHS2ZHT.so
8
share/bsdconv/inter/OPENCC-ZHS2ZHTW_P
9
share/bsdconv/inter/OPENCC-ZHS2ZHTW_P.so
10
share/bsdconv/inter/OPENCC-ZHS2ZHTW_V
11
share/bsdconv/inter/OPENCC-ZHS2ZHTW_V.so
12
share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP
13
share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP.so
14
share/bsdconv/inter/OPENCC-ZHT2ZHS
15
share/bsdconv/inter/OPENCC-ZHT2ZHS.so
16
share/bsdconv/inter/OPENCC-ZHT2ZHTW_P
17
share/bsdconv/inter/OPENCC-ZHT2ZHTW_P.so
18
share/bsdconv/inter/OPENCC-ZHT2ZHTW_V
19
share/bsdconv/inter/OPENCC-ZHT2ZHTW_V.so
20
share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP
21
share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP.so
22
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S
23
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S.so
24
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_T
25
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_T.so
26
share/bsdconv/inter/OPENCC-ZHTW2ZHS
27
share/bsdconv/inter/OPENCC-ZHTW2ZHS.so
28
share/bsdconv/inter/OPENCC-ZHTW2ZHT
29
share/bsdconv/inter/OPENCC-ZHTW2ZHT.so
30
share/bsdconv/inter/OPENCC.so

Return to bug 201016