aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/kinput2
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2008-11-11 22:53:17 +0800
committerhrs <hrs@FreeBSD.org>2008-11-11 22:53:17 +0800
commit9a07c616ee0bfe05107df00efa7677c5896ccd72 (patch)
tree887c73943efac93484872980c42530a92a466778 /japanese/kinput2
parent0ba82fcae6a6d8ca1e0e434ab7b8b776c5b8daca (diff)
downloadfreebsd-ports-graphics-9a07c616ee0bfe05107df00efa7677c5896ccd72.tar.gz
freebsd-ports-graphics-9a07c616ee0bfe05107df00efa7677c5896ccd72.tar.zst
freebsd-ports-graphics-9a07c616ee0bfe05107df00efa7677c5896ccd72.zip
Stop using :u modifier because old make(1) does not understand it.
Spotted by: ume
Diffstat (limited to 'japanese/kinput2')
-rw-r--r--japanese/kinput2/Makefile33
1 files changed, 18 insertions, 15 deletions
diff --git a/japanese/kinput2/Makefile b/japanese/kinput2/Makefile
index 8a104812788..8ba0b99f8ea 100644
--- a/japanese/kinput2/Makefile
+++ b/japanese/kinput2/Makefile
@@ -17,7 +17,7 @@ COMMENT= A Japanese text input server for X11 applications
USE_IMAKE= yes
SUB_FILES= Kinput2.conf
-PLIST_FILES= ${PLIST_ALL:O:u}
+PLIST_FILES= ${PLIST_ALL}
MAN1= kinput2.1
@@ -38,20 +38,30 @@ CONF.WNN6= '\#define UseWnn' \
'\#define UseWnn6' \
WNNINCDIR=$(LOCALBASE)/include/wnn6/wnn \
WNNLIB="-L$(LOCALBASE)/lib -lwnn6 -lcrypt"
-PLIST.WNN6= ${PLIST.FREEWNN}
LIB_DEPENDS.WNN7= wnn7.1:${PORTSDIR}/japanese/Wnn7-lib
CONF.WNN7= '\#define UseWnn' \
'\#define UseWnn6' \
WNNINCDIR=$(LOCALBASE)/include/wnn7/wnn \
WNNLIB="-L$(LOCALBASE)/lib -lwnn6 -lcrypt"
-PLIST.WNN7= ${PLIST.FREEWNN}
LIB_DEPENDS.FREEWNN= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
CONF.FREEWNN+= '\#define UseWnn' \
WNNINCDIR=$(LOCALBASE)/include/wnn \
WNNLIB="-L$(LOCALBASE)/lib -lwnn -lcrypt"
-PLIST.FREEWNN+= lib/X11/ccdef/ccdef.kinput2 \
+
+LIB_DEPENDS.SJ3= sj3lib.1:${PORTSDIR}/japanese/sj3-lib
+CONF.SJ3+= '\#define UseSj3' \
+ SJ3SRC=${LOCALBASE}/include \
+ SJ3LIB="-L${LOCALBASE}/lib -lsj3lib" \
+ SJ3DEF_DIR=\$${LIBDIR}/ccdef
+PLIST.SJ3= lib/X11/ccdef/sjhk \
+ lib/X11/ccdef/sjrc \
+ lib/X11/ccdef/sjrk \
+ lib/X11/ccdef/sjsb \
+ lib/X11/ccdef/sjzh
+
+PLIST.WNN= lib/X11/ccdef/ccdef.kinput2 \
lib/X11/ccdef/rule.eggfunc \
lib/X11/ccdef/rule.func \
lib/X11/ccdef/rule.greek \
@@ -65,19 +75,12 @@ PLIST.FREEWNN+= lib/X11/ccdef/ccdef.kinput2 \
lib/X11/ccdef/rule.katakana.egg \
lib/X11/ccdef/rule.kigou.egg
-LIB_DEPENDS.SJ3= sj3lib.1:${PORTSDIR}/japanese/sj3-lib
-CONF.SJ3+= '\#define UseSj3' \
- SJ3SRC=${LOCALBASE}/include \
- SJ3LIB="-L${LOCALBASE}/lib -lsj3lib" \
- SJ3DEF_DIR=\$${LIBDIR}/ccdef
-PLIST.SJ3= lib/X11/ccdef/sjhk \
- lib/X11/ccdef/sjrc \
- lib/X11/ccdef/sjrk \
- lib/X11/ccdef/sjsb \
- lib/X11/ccdef/sjzh
-
.include <bsd.port.pre.mk>
+.if defined(WITH_FREEWNN) || defined(WITH_WNN6) || defined(WITH_WNN7)
+PLIST_ALL+= ${PLIST.WNN}
+.endif
+
.for I in WITH_CANNA WITH_FREEWNN WITH_WNN6 WITH_WNN7 WITH_SJ3
.if defined(${I})
LIB_DEPENDS+= ${LIB_DEPENDS.${I:S/^WITH_//}}