blob: 2a7fc36d81da9e45c38183d5e44f013a839914e5 (
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
31
32
|
# Created by: buganini@gmail.com
# $FreeBSD$
PORTNAME= opencc
PORTVERSION= 11.5
CATEGORIES= chinese converters
PKGNAMEPREFIX= bsdconv-
MAINTAINER= buganini@gmail.com
COMMENT= OpenCC conversion module for bsdconv
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>
|