aboutsummaryrefslogtreecommitdiff
path: root/chinese/auto-cn-l10n/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-09-26 14:35:04 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-09-26 14:35:04 +0000
commit085c1a3bcbfc1a6099ba50f04af34d71a896aa87 (patch)
tree83d19ba96c927de4ba74fdf2098c79ef6ac86722 /chinese/auto-cn-l10n/Makefile
parentf930059b5be1ac49c193e6061f1927eda869faca (diff)
downloadports-085c1a3bcbfc1a6099ba50f04af34d71a896aa87.tar.gz
ports-085c1a3bcbfc1a6099ba50f04af34d71a896aa87.zip
Notes
Diffstat (limited to 'chinese/auto-cn-l10n/Makefile')
-rw-r--r--chinese/auto-cn-l10n/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/chinese/auto-cn-l10n/Makefile b/chinese/auto-cn-l10n/Makefile
index 8480ec9c2e21..e2b63ac39d38 100644
--- a/chinese/auto-cn-l10n/Makefile
+++ b/chinese/auto-cn-l10n/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= The automatic localization for Simplified Chinese zh_CN.eucCN locale
NO_BUILD= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
REINPLACE_ARGS= -i ""
OPTIONS_DEFINE= WQY FIREFLYTTF FCITX SCIM MINICHINPUT RELAXCONF
@@ -25,7 +25,6 @@ SCIM_DESC= Smart Common Input Method platform
MINICHINPUT_DESC= A tiny version of Chinput
RELAXCONF_DESC= A set of utilities for FreeBSD LiveCD
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MWQY}
@@ -58,12 +57,7 @@ post-patch:
s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dot.xselector ${WRKSRC}/dot.xinitrc
do-install:
- ${MKDIR} ${PREFIX}/share/skel/zh_CN.eucCN
- ${CP} ${WRKSRC}/* ${PREFIX}/share/skel/zh_CN.eucCN
-
-post-install:
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" \
- ${.CURDIR}/pkg-message > ${PKGMESSAGE}
- @${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/share/skel/zh_CN.eucCN
+ ${CP} ${WRKSRC}/* ${STAGEDIR}/${PREFIX}/share/skel/zh_CN.eucCN
.include <bsd.port.post.mk>