mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
a77a3c279b
(a) Its name was changed from Wnn to FreeWnn because Wnn6 which is a commercial software exits (b) Its license was changed to GPL. (c) The method to configure was changed from imake to GNU configure. (d) Relatively to the original Wnn, the Wnn in the ports tree were modified by me a lot. Most of the modifications were adopted into FreeWnn. (c) Header and library files are installed into ${LOCALBASE}/{lib,include} instead of ${X11BASE}/{lib,include}. (2) FreeWnn is divided into two ports FreeWnn-lib and FreeWnn-server in chinese, korean and japanese categories. The former is for libwnn and header files to compile client commands, and the files used in client commands. The latter is for a server to convert KANA to KANJI (Chinese character), and dictionaries and files used by the server.
71 lines
2.9 KiB
Makefile
71 lines
2.9 KiB
Makefile
# New ports collection makefile for: XEmacs for Japanese
|
|
# Date created: 5 Dec 1997
|
|
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# This is the MASTER port of Japanese XEmacs slave ports
|
|
# (japanese/xemacs${XEMACS_MAJOR_VER}-*) and provides `Architecture Dependent' parts
|
|
# of xemacs binary.
|
|
#
|
|
# Caracteristic variables of XEmacs Mule ports family:
|
|
# MULE_PORT : Mule port if defined(means COMMN or SLAVE)
|
|
# MULE_COMMON : COMMON port if defined
|
|
# MULE_SLAVE : SLAVE port if defined
|
|
# SITE_INCLUDES : site include path(configure arguments)
|
|
# SITE_LIBRARIES : site libraries path(configure arguments)
|
|
# WITH_INPUT_METHOD : input methods(configure arguments)
|
|
# LIB_INPUT_METHOD : LIB_DEPENDS list of Input Methods
|
|
# BUILD_INPUT_METHOD: BUILD_DEPENDS list of Input Methods
|
|
# WITH_XIM : X Input Method(configure arguments)
|
|
|
|
CATEGORIES= japanese
|
|
|
|
MANLANG= ja
|
|
MAN1= xemacs-ja.1
|
|
COMMENT?= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/pkg/COMMENT
|
|
DESCR= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/pkg/DESCR
|
|
|
|
XEMACS_MAJOR_VER?= 21
|
|
DESCR_TMPL= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/files/DESCR.tmpl
|
|
.if defined(CANNA) && defined(FREEWNN)
|
|
PKGNAMESUFFIX= -canna+freewnn
|
|
SITE_INCLUDES= ${LOCALBASE}/include/wnn
|
|
WITH_INPUT_METHOD= --with-canna --with-wnn --with-wnn6=no
|
|
LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna \
|
|
wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
|
|
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and FreeWnn support
|
|
.elif defined(CANNA) && defined(WNN6)
|
|
PKGNAMESUFFIX= -canna+wnn6
|
|
WITH_INPUT_METHOD= --with-canna --with-wnn6
|
|
LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna
|
|
BUILD_INPUT_METHOD= ${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
|
|
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and Wnn6 support
|
|
.elif defined(FREEWNN)
|
|
PKGNAMESUFFIX= -freewnn
|
|
SITE_INCLUDES= ${LOCALBASE}/include/wnn
|
|
WITH_INPUT_METHOD= --with-wnn --with-canna=no --with-wnn6=no
|
|
LIB_INPUT_METHOD= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
|
|
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and FreeWnn support
|
|
.elif defined(WNN6)
|
|
PKGNAMESUFFIX= -wnn6
|
|
WITH_INPUT_METHOD= --with-wnn6 --with-canna=no
|
|
BUILD_INPUT_METHOD= ${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
|
|
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Wnn6 support
|
|
.else
|
|
PKGNAMESUFFIX= -canna
|
|
WITH_INPUT_METHOD= --with-canna --with-wnn=no --with-wnn6=no
|
|
LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna
|
|
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Canna support
|
|
.endif
|
|
|
|
# If you need XIM support, set this to "xlib" or "motif".
|
|
WITH_XIM?= no
|
|
|
|
post-install::
|
|
@${MKDIR} ${PREFIX}/man/ja/man1
|
|
@${INSTALL_MAN} ${WRKSRC}/etc/xemacs-ja.1 ${PREFIX}/man/ja/man1
|
|
|
|
.include "${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}-mule/Makefile"
|