blob: 0d6098ec98d7957d96491e31ee393a9a4c89bbfc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PORTNAME= opencc
PORTVERSION= 11.5
CATEGORIES= chinese converters
PKGNAMEPREFIX= bsdconv-
MAINTAINER= buganini@gmail.com
COMMENT= OpenCC conversion module for bsdconv
WWW= https://github.com/buganini/bsdconv-opencc
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/bin/bsdconv-mktable:converters/bsdconv
LIB_DEPENDS= libbsdconv.so:converters/bsdconv \
libopencc.so: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>
|