aboutsummaryrefslogtreecommitdiff
path: root/japanese/kinput2-freewnn/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-10-26 20:00:25 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-10-26 20:00:25 +0000
commit7157a16e821c71257af1bb45456165df9c1e17cd (patch)
treedcc47891eac01bfa3295595ad1993c84f41accfb /japanese/kinput2-freewnn/Makefile
parent1f997d2be886359f6912449935fafda7ae335012 (diff)
downloadports-7157a16e821c71257af1bb45456165df9c1e17cd.tar.gz
ports-7157a16e821c71257af1bb45456165df9c1e17cd.zip
Notes
Diffstat (limited to 'japanese/kinput2-freewnn/Makefile')
-rw-r--r--japanese/kinput2-freewnn/Makefile86
1 files changed, 0 insertions, 86 deletions
diff --git a/japanese/kinput2-freewnn/Makefile b/japanese/kinput2-freewnn/Makefile
deleted file mode 100644
index 94a37933b61a..000000000000
--- a/japanese/kinput2-freewnn/Makefile
+++ /dev/null
@@ -1,86 +0,0 @@
-# New ports collection makefile for: kinput2-freewnn
-# Date created: 19 Dec 1997
-# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= kinput2
-PORTVERSION= 3.1
-PORTREVISION= 3
-PKGNAMESUFFIX= ${INPUT_METHOD}
-CATEGORIES= japanese x11
-MASTER_SITES= ftp://ftp.sra.co.jp/pub/x11/kinput2/
-DISTNAME= kinput2-v3.1
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT?= Input server of Japanese text (FreeWnn)
-
-LIB_DEPENDS= ${LIB_INPUT_METHOD}
-BUILD_DEPENDS= ${BUILD_INPUT_METHOD}
-
-PATCHDIR= ${.CURDIR}/../kinput2-freewnn/files
-FILESDIR= ${.CURDIR}/../kinput2-freewnn/files
-USE_IMAKE= yes
-MAN1= kinput2.1
-
-.if !defined(CANNA) && !defined(SJ3) && !defined(FREEWNN) && !defined(WNN6) && !defined(WNN7)
-# For this port
-FREEWNN= yes
-.endif
-#
-# Specifying a velue INPUT_METHOD, and seting values BUILD_DEPENDS,
-# LIB_DEPENDS, etc.
-.if defined(CANNA)
-INPUT_METHOD+= canna
-LIB_INPUT_METHOD+= canna16.1:${PORTSDIR}/japanese/Canna
-KINPUT2_DEF+= -DUseCanna -Dport_CANNASRC=${LOCALBASE}/include \
- -Dport_CANNALIB="-L${LOCALBASE}/lib -lcanna16"
-.endif
-.if defined(SJ3)
-INPUT_METHOD+= sj3
-BUILD_INPUT_METHOD+= sj3serv:${PORTSDIR}/japanese/sj3
-KINPUT2_DEF+= -DUseSj3 -Dport_SJ3SRC=${LOCALBASE}/include \
- -Dport_SJ3LIB="-L${LOCALBASE}/lib -lsj3lib"
-.endif
-.if defined(FREEWNN)
-INPUT_METHOD+= freewnn
-LIB_INPUT_METHOD+= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
-KINPUT2_DEF+= -DUseWnn -Dport_WNNINCDIR=$(LOCALBASE)/include/wnn \
- -Dport_WNNLIB="-L$(LOCALBASE)/lib -lwnn -lcrypt"
-.elif defined(WNN6)
-INPUT_METHOD+= wnn6
-LIB_INPUT_METHOD+= wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
-KINPUT2_DEF+= -DUseWnn -DUseWnn6 -Dport_WNNINCDIR=$(LOCALBASE)/include/wnn6/wnn \
- -Dport_WNNLIB="-L$(LOCALBASE)/lib -lwnn6 -lcrypt"
-.elif defined(WNN7)
-INPUT_METHOD+= wnn7
-LIB_INPUT_METHOD+= wnn7.1:${PORTSDIR}/japanese/Wnn7-lib
-KINPUT2_DEF+= -DUseWnn -DUseWnn6 -Dport_WNNINCDIR=$(LOCALBASE)/include/wnn7/wnn \
- -Dport_WNNLIB="-L$(LOCALBASE)/lib -lwnn7 -lcrypt"
-.endif
-#
-# Make a value of INPUT_METHOD
-.if defined(INPUT_METHOD)
-INPUT_METHOD!= echo ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g'
-.endif
-#
-# Redefine $(IMAKE_CMD) with $(PORT_IMAKE_DEFINES) in ${WRKSRC}/Kinput2.conf
-MAKE_ENV+= PORT_IMAKE_DEFINES='${KINPUT2_DEF}'
-
-pre-configure:
- if [ -f ${WRKSRC}/Kinput2.conf ]; then \
- ${MV} -f ${WRKSRC}/Kinput2.conf ${WRKSRC}/Kinput2.conf.org; \
- fi
- ${CP} ${FILESDIR}/Kinput2.conf ${WRKSRC}/Kinput2.conf
-
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}
-
-post-install:
-# For FreeWnn or Wnn6
- @if [ -e ${PKGMESSAGE} ]; then \
- ${CAT} ${PKGMESSAGE}; \
- fi
-
-.include <bsd.port.mk>