c2b3eeac5f
Sponsored By: The FreeBSD Foundation Approved by: ygy (implicit)
36 lines
815 B
Makefile
36 lines
815 B
Makefile
# Created by: Ka Ho Ng <khng300@gmail.com>
|
|
|
|
PORTNAME= rime-essay
|
|
DISTVERSION= g20210805
|
|
CATEGORIES= chinese textproc
|
|
|
|
MAINTAINER= khng@FreeBSD.org
|
|
COMMENT= Essay - the shared vocabulary and language model for Rime
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rime
|
|
GH_TAGNAME= 8882482d07f38b5713ea3f49cb593eed94e671dd
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= AUTHORS README.md
|
|
|
|
PLIST_FILES= share/rime-data/essay.txt
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/rime-data
|
|
${INSTALL_DATA} ${WRKSRC}/essay.txt ${STAGEDIR}${PREFIX}/share/rime-data
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/AUTHORS ${STAGEDIR}/${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|