diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-28 18:12:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-28 18:12:29 +0000 |
commit | 4e104a3d58932c73c7614cf9701864a15f5f3435 (patch) | |
tree | 3a05d95e3d7e7aea69857c4a148b911f5a010bd5 /inputmethod/xcin/Makefile | |
parent | d4c7d212fc68e33f2a9fb5d04f2adc5557055c10 (diff) | |
download | pkgsrc-4e104a3d58932c73c7614cf9701864a15f5f3435.tar.gz |
Add DragonFly support. Handle the different locale names in PLIST.
Based on patch from Jeffrey Hsu in private mail.
Diffstat (limited to 'inputmethod/xcin/Makefile')
-rw-r--r-- | inputmethod/xcin/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/inputmethod/xcin/Makefile b/inputmethod/xcin/Makefile index 7312305f22e..c98ac9eef9e 100644 --- a/inputmethod/xcin/Makefile +++ b/inputmethod/xcin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2006/04/13 18:23:34 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2006/04/28 18:12:29 joerg Exp $ # DISTNAME= xcin-2.5.3.pre2 @@ -29,6 +29,17 @@ INSTALLATION_DIRS= share/doc/xcin EGDIR= ${PREFIX}/share/examples/xcin CONF_FILES= ${EGDIR}/xcinrc ${PKG_SYSCONFDIR}/xcinrc +.if ${OPSYS} == "NetBSD" +EUC_LOCALE= euccn +.else +EUC_LOCALE= euc +.endif + +PLIST_SUBST+= EUC_LOCALE=${EUC_LOCALE} + +post-extract: + ${CP} ${FILESDIR}/xcinrc.DRAGONFLY ${WRKSRC}/etc + post-install: cd ${WRKSRC}/doc && ${PAX} -rw \ -s ',^\./man$$,,' -s ',^\./man/.*,,' \ |