summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-09-08 09:02:55 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-09-08 09:02:55 +0000
commit1170f93e1fe46ae70ab2655df2f5c5a2fcf73d95 (patch)
treecbeb3e49c1a01e815522d4a17f892bb26c46c8d3 /japanese
parent1b0e3d87abf6d8393f75a26a3cd28ad95f120406 (diff)
downloadpkgsrc-1170f93e1fe46ae70ab2655df2f5c5a2fcf73d95.tar.gz
Separate PLIST.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kinput2/Makefile8
-rw-r--r--japanese/kinput2/pkg/PLIST-common4
-rw-r--r--japanese/kinput2/pkg/PLIST-freewnn (renamed from japanese/kinput2/pkg/PLIST)11
-rw-r--r--japanese/kinput2/pkg/PLIST-sj37
4 files changed, 18 insertions, 12 deletions
diff --git a/japanese/kinput2/Makefile b/japanese/kinput2/Makefile
index 4177b127c4d..fa74b317ef6 100644
--- a/japanese/kinput2/Makefile
+++ b/japanese/kinput2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/09/03 04:11:07 sakamoto Exp $
+# $NetBSD: Makefile,v 1.5 1999/09/08 09:02:55 sakamoto Exp $
# FreeBSD Id: Makefile,v 1.4 1999/06/06 13:19:49 taoka Exp $
DISTNAME= kinput2-v3
@@ -10,6 +10,8 @@ MAINTAINER= tech-pkg-ja@jp.netbsd.org
USE_IMAKE= YES
+PLIST_SRC= ${PKGDIR}/PLIST-common
+
.include "../../mk/bsd.prefs.mk"
.if defined(USE_CANNA) && ${USE_CANNA} != YES && \
defined(USE_WNN4) && ${USE_WNN4} != YES && \
@@ -20,7 +22,7 @@ IGNORE= "is ignored. because USE_CANNA,USE_WNN4,USE_WNN6,USE_SJ3 are \"NO\""
.if !defined(USE_CANNA) || ${USE_CANNA} == YES
DEPENDS+= Canna-lib-3.5b2:../../japanese/canna-lib
-KINPUT2_DEF+= -DUseCanna -Dport_CANNASRC=${LOCALBASE}/include/canna \
+KINPUT2_DEF+= -DUseCanna -Dport_CANNASRC=${LOCALBASE}/include \
-Dport_CANNALIB="${LDFLAGS} -lcanna16"
.endif
@@ -33,12 +35,14 @@ KINPUT2_DEF+= -DUseCanna -Dport_CANNASRC=${LOCALBASE}/include/canna \
DEPENDS+= ja-FreeWnn-lib-1.10:../../japanese/freewnn-lib
KINPUT2_DEF+= -DUseWnn -Dport_WNNINCDIR=${LOCALBASE}/include/wnn \
-Dport_WNNLIB="${LDFLAGS} -lwnn -lcrypt"
+PLIST_SRC+= ${PKGDIR}/PLIST-freewnn
.endif
.if !defined(USE_SJ3) || ${USE_SJ3} == YES
DEPENDS+= sj3-lib-2.0.1.20:../../japanese/sj3-lib
KINPUT2_DEF+= -DUseSj3 -Dport_SJ3SRC=${LOCALBASE}/include \
-Dport_SJ3LIB="${LDFLAGS} -lsj3lib"
+PLIST_SRC+= ${PKGDIR}/PLIST-sj3
.endif
MAKE_ENV+= PORT_IMAKE_DEFINES='${KINPUT2_DEF}'
diff --git a/japanese/kinput2/pkg/PLIST-common b/japanese/kinput2/pkg/PLIST-common
new file mode 100644
index 00000000000..4ff93af42d2
--- /dev/null
+++ b/japanese/kinput2/pkg/PLIST-common
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST-common,v 1.1 1999/09/08 09:02:56 sakamoto Exp $
+bin/kinput2
+lib/X11/app-defaults/Kinput2
+man/cat1/kinput2.0
diff --git a/japanese/kinput2/pkg/PLIST b/japanese/kinput2/pkg/PLIST-freewnn
index 8f95700877e..efbb5660085 100644
--- a/japanese/kinput2/pkg/PLIST
+++ b/japanese/kinput2/pkg/PLIST-freewnn
@@ -1,6 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 1999/08/02 11:41:13 sakamoto Exp $
-bin/kinput2
-lib/X11/app-defaults/Kinput2
+@comment $NetBSD: PLIST-freewnn,v 1.1 1999/09/08 09:02:56 sakamoto Exp $
lib/X11/ccdef/ccdef.kinput2
lib/X11/ccdef/rule.eggfunc
lib/X11/ccdef/rule.func
@@ -14,11 +12,4 @@ lib/X11/ccdef/ccdef.kinput2.egg
lib/X11/ccdef/rule.hiragana.egg
lib/X11/ccdef/rule.katakana.egg
lib/X11/ccdef/rule.kigou.egg
-lib/X11/sj3def/sjhk
-lib/X11/sj3def/sjrc
-lib/X11/sj3def/sjrk
-lib/X11/sj3def/sjsb
-lib/X11/sj3def/sjzh
-man/cat1/kinput2.0
-@dirrm lib/X11/sj3def
@dirrm lib/X11/ccdef
diff --git a/japanese/kinput2/pkg/PLIST-sj3 b/japanese/kinput2/pkg/PLIST-sj3
new file mode 100644
index 00000000000..cf6fe34b9f5
--- /dev/null
+++ b/japanese/kinput2/pkg/PLIST-sj3
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST-sj3,v 1.1 1999/09/08 09:02:56 sakamoto Exp $
+lib/X11/sj3def/sjhk
+lib/X11/sj3def/sjrc
+lib/X11/sj3def/sjrk
+lib/X11/sj3def/sjsb
+lib/X11/sj3def/sjzh
+@dirrm lib/X11/sj3def