mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
fce2b1c5c2
PR: 210840 Submitted by: Iblis Lin <iblis at hs dot ntnu dot edu dot tw> Approved by: maintainer
33 lines
739 B
Makefile
33 lines
739 B
Makefile
# 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>
|