summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-12-17 00:54:11 +0000
committermarino <marino@pkgsrc.org>2011-12-17 00:54:11 +0000
commit84dd07059838d2e2e589919ddab32b8e8a6fa09b (patch)
tree7fd1f42fb454c4735d84ffa9691d35cbc04f79a8 /inputmethod
parente8122429de010d5a0a79a5934c6c8e5d8bd0ecca (diff)
downloadpkgsrc-84dd07059838d2e2e589919ddab32b8e8a6fa09b.tar.gz
inputmethod/sskinput: DragonFly-specific handling of PLIST
DragonFly dumps the documention in man1 instead of cat1. (Not sure why it's different from NetBSD). PLIST substitution handles both cases.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/skkinput/Makefile10
-rw-r--r--inputmethod/skkinput/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/inputmethod/skkinput/Makefile b/inputmethod/skkinput/Makefile
index 3a11c98af70..6d254dbf7f0 100644
--- a/inputmethod/skkinput/Makefile
+++ b/inputmethod/skkinput/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/12/08 11:52:41 obache Exp $
+# $NetBSD: Makefile,v 1.16 2011/12/17 00:54:11 marino Exp $
DISTNAME= skkinput-2.06.4
CATEGORIES= japanese inputmethod
@@ -19,6 +19,14 @@ DOCSDIR= share/doc/${PKGBASE}
INSTALLATION_DIRS= ${DOCSDIR}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+PLIST_SUBST+= CATMAN=man1
+.else
+PLIST_SUBST+= CATMAN=cat1
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/README.jis ${DESTDIR}${PREFIX}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/FAQ.jis ${DESTDIR}${PREFIX}/${DOCSDIR}
diff --git a/inputmethod/skkinput/PLIST b/inputmethod/skkinput/PLIST
index 57f8c8e4f38..1ae5a64c3c4 100644
--- a/inputmethod/skkinput/PLIST
+++ b/inputmethod/skkinput/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 18:01:32 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2011/12/17 00:54:11 marino Exp $
bin/skkinput
lib/X11/app-defaults/Skkinput
${IMAKE_MAN_DIR}/skkinput.${IMAKE_MAN_SUFFIX}
-man/ja_JP.EUC/cat1/skkinput.${IMAKE_MAN_SUFFIX}
+man/ja_JP.EUC/${CATMAN}/skkinput.${IMAKE_MAN_SUFFIX}
share/doc/skkinput/BUGS.jis
share/doc/skkinput/FAQ.jis
share/doc/skkinput/README.jis