summaryrefslogtreecommitdiff
path: root/x11/kterm/Makefile
blob: ad6f23391d6a4aa3c272c847326b51f913456201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.12 2001/07/06 05:32:09 itojun Exp $

DISTNAME=	kterm-6.2.0
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XCONTRIB:=applications/}

# the following patch includes NFS xauth patch, and kamo's wd0.2 patch.
PATCH_SITES+=	ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES+=	kterm-620-0213-20010706.diff.gz
PATCH_DIST_STRIP= -p1

MAINTAINER=	sakamoto@netbsd.org
COMMENT=	Multi-lingual terminal emulator for X

USE_IMAKE=	YES
USE_XAW=	YES

BUILD_DEFS+=	KTERM_USE_WALLPAPER

.include "../../mk/bsd.prefs.mk"

XAW_TYPE?=	standard

.if defined(KTERM_USE_WALLPAPER) && ${KTERM_USE_WALLPAPER} == YES
USE_XPM=	YES
PATCH_SITES+=	http://delegate.uec.ac.jp:8081/club/mma/%7Etakkun/fun/handling/
PATCHFILES+=	KTerm-BGP-1.0.patch.gz
.endif

post-patch:
.if ${XAW_TYPE} != "standard"
	@${ECHO_MSG}  "===>  Applying Xaw scrollbar patch"
	@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-xaw3d
.endif

.include "../../mk/bsd.pkg.mk"