aboutsummaryrefslogtreecommitdiff
path: root/chinese/librime/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-01-08 16:12:38 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-01-08 16:12:38 +0000
commite626c8d13315d30425377b538f25ac7a625b69d0 (patch)
tree0da1b8c272a6d06ef0ed14d754200a4dbb47cd5e /chinese/librime/Makefile
parenta57522f2297817b100d249152e58b983b1cdf751 (diff)
downloadports-e626c8d13315d30425377b538f25ac7a625b69d0.tar.gz
ports-e626c8d13315d30425377b538f25ac7a625b69d0.zip
Notes
Diffstat (limited to 'chinese/librime/Makefile')
-rw-r--r--chinese/librime/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile
index 2e0764ab80c7..112b8a6e6d5d 100644
--- a/chinese/librime/Makefile
+++ b/chinese/librime/Makefile
@@ -30,7 +30,6 @@ post-patch: .SILENT
${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \
-exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' '{}' \;
-NO_STAGE= yes
post-build:
@echo "building rime data."
@${MKDIR} ${DATASRC}
@@ -39,8 +38,8 @@ post-build:
${WRKSRC}/bin/rime_deployer --build ${DATASRC}
post-install:
- ${MKDIR} ${DATADIR}/data
- ${INSTALL_DATA} ${DATASRC}/*.kct ${DATASRC}/*.bin ${DATADIR}/data/
+ ${MKDIR} ${STAGEDIR}${DATADIR}/data
+ ${INSTALL_DATA} ${DATASRC}/*.kct ${DATASRC}/*.bin ${STAGEDIR}${DATADIR}/data/
PROJECTHOST= rimeime
DATA_VER= 0.16