openbsd-ports/japanese/kterm/Makefile
2002-05-13 23:31:24 +00:00

37 lines
778 B
Makefile

# $OpenBSD: Makefile,v 1.16 2002/05/13 23:31:24 espie Exp $
COMMENT= "Japanese-capable xterm"
DISTNAME= kterm-6.2.0
PKGNAME= ja-kterm-6.2.0
CATEGORIES= japanese x11
NEED_VERSION= 1.515
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=applications/}
# License: X
PERMIT_PACKAGE_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
MASTER_SITES0= ftp://ftp.sra.co.jp/pub/x11/kterm/
PATCHFILES= kterm-6.2.0.NFS-xauth.patch:0
CONFIGURE_STYLE=imake
MAKE_FLAGS= CDEBUGFLAGS=-O2
FLAVORS=xaw3d tek
FLAVOR?=
.if ${FLAVOR:L:Mxaw3d}
LIB_DEPENDS= Xaw3d.6.1::x11/Xaw3d
MAKE_ENV=EXTRA_DEFINES=-DKTERM_XAW3D
.endif
.if ${FLAVOR:L:Mtek}
pre-configure:
perl -pi.bak -e 's/define KTERM_NOTEK/undef KTERM_NOTEK/;' \
${WRKSRC}/kterm.h
.endif
.include <bsd.port.mk>