aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-03-06 16:51:18 +0800
committerhrs <hrs@FreeBSD.org>2014-03-06 16:51:18 +0800
commit423bb163511b8bdd758e31bd1460994fa38595d9 (patch)
treeeb5c756c25ca80c096fe3a878b95fd4235f7e724 /japanese
parent5562de76f53e14123d72a995934880f30701910a (diff)
downloadfreebsd-ports-gnome-423bb163511b8bdd758e31bd1460994fa38595d9.tar.gz
freebsd-ports-gnome-423bb163511b8bdd758e31bd1460994fa38595d9.tar.zst
freebsd-ports-gnome-423bb163511b8bdd758e31bd1460994fa38595d9.zip
- STAGEDIR support.
- Use new syntax for LIB_DEPENDS.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kinput2/Makefile18
-rw-r--r--japanese/kinput2/pkg-plist2
2 files changed, 7 insertions, 13 deletions
diff --git a/japanese/kinput2/Makefile b/japanese/kinput2/Makefile
index c8e99b1ff32f..014547c9de77 100644
--- a/japanese/kinput2/Makefile
+++ b/japanese/kinput2/Makefile
@@ -18,8 +18,6 @@ USE_XORG= ice sm x11 xaw xext xmu xpm xt
SUB_FILES= Kinput2.conf
PLIST_FILES= ${PLIST_ALL}
-MAN1= kinput2.1
-
OPTIONS_DEFINE= CANNA FREEWNN WNN6 WNN7 SJ3 TCP
OPTIONS_DEFAULT=CANNA FREEWNN SJ3
CANNA_DESC= Canna support
@@ -29,29 +27,29 @@ WNN7_DESC= Wnn7 support
SJ3_DESC= SJ3 support
TCP_DESC= TCP transport support (not needed for most cases)
-LIB_DEPENDS.CANNA= canna16.1:${PORTSDIR}/japanese/canna-lib
+CANNA_LIB_DEPENDS= libcanna16.so:${PORTSDIR}/japanese/canna-lib
CONF.CANNA= '\#define UseCanna' \
CANNASRC=${LOCALBASE}/include \
CANNALIB="-L${LOCALBASE}/lib -lcanna16"
-LIB_DEPENDS.WNN6= wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
+WNN6_LIB_DEPENDS= libwnn6.so:${PORTSDIR}/japanese/Wnn6-lib
CONF.WNN6= '\#define UseWnn' \
'\#define UseWnn6' \
WNNINCDIR=$(LOCALBASE)/include/wnn6/wnn \
WNNLIB="-L$(LOCALBASE)/lib -lwnn6 -lcrypt"
-LIB_DEPENDS.WNN7= wnn7.1:${PORTSDIR}/japanese/Wnn7-lib
+WNN7_LIB_DEPENDS= libwnn7.so:${PORTSDIR}/japanese/Wnn7-lib
CONF.WNN7= '\#define UseWnn' \
'\#define UseWnn6' \
WNNINCDIR=$(LOCALBASE)/include/wnn7/wnn \
WNNLIB="-L$(LOCALBASE)/lib -lwnn7 -lcrypt"
-LIB_DEPENDS.FREEWNN= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
+FREEWNN_LIB_DEPENDS= libwnn.so:${PORTSDIR}/japanese/FreeWnn-lib
CONF.FREEWNN+= '\#define UseWnn' \
WNNINCDIR=$(LOCALBASE)/include/wnn \
WNNLIB="-L$(LOCALBASE)/lib -lwnn -lcrypt"
-LIB_DEPENDS.SJ3= sj3lib.1:${PORTSDIR}/japanese/sj3-lib
+SJ3_LIB_DEPENDS= libsj3lib.so:${PORTSDIR}/japanese/sj3-lib
CONF.SJ3+= '\#define UseSj3' \
SJ3SRC=${LOCALBASE}/include \
SJ3LIB="-L${LOCALBASE}/lib -lsj3lib" \
@@ -76,7 +74,6 @@ PLIST.WNN= lib/X11/ccdef/ccdef.kinput2 \
lib/X11/ccdef/rule.katakana.egg \
lib/X11/ccdef/rule.kigou.egg
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFREEWNN} || \
@@ -87,8 +84,6 @@ PLIST_ALL+= ${PLIST.WNN}
.for I in ${OPTIONS_DEFINE:NTCP}
.if ${PORT_OPTIONS:M${I}}
-LIB_DEPENDS+= ${LIB_DEPENDS.${I}}
-BUILD_DEPENDS+= ${BUILD_DEPENDS.${I}}
CONF+= ${CONF.${I}}
PLIST_ALL+= ${PLIST.${I}}
.endif
@@ -102,7 +97,4 @@ pre-configure: apply-slist
${INSTALL_DATA} ${WRKDIR}/Kinput2.conf ${WRKSRC}/Kinput2.conf
${PRINTF} "%s\n" ${CONF} > ${WRKSRC}/Kinput2_im.conf
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
diff --git a/japanese/kinput2/pkg-plist b/japanese/kinput2/pkg-plist
index 0565f6d9ea72..1ad42162267d 100644
--- a/japanese/kinput2/pkg-plist
+++ b/japanese/kinput2/pkg-plist
@@ -1,3 +1,5 @@
+@comment $FreeBSD$
bin/kinput2
lib/X11/app-defaults/Kinput2
@dirrmtry lib/X11/ccdef
+man/man1/kinput2.1.gz