summaryrefslogtreecommitdiff
path: root/x11/kterm/Makefile
blob: 6e15e4f4d23e0df9a7d91261633a706055bd82b1 (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
# $NetBSD: Makefile,v 1.1.1.1 1999/06/09 11:34:01 sakamoto Exp $

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

PATCH_SITES=	ftp://ftp.sra.co.jp/pub/x11/kterm/ \
		ftp://ftp.ics.nara-wu.ac.jp/pub/wd/src/kterm/
PATCHFILES=	kterm-6.2.0.NFS-xauth.patch \
		kterm-6.2.0-6.2.0.wd0.2.patch.gz
PATCH_DIST_STRIP= -p1

MAINTAINER=	sakamoto@netbsd.org

USE_IMAKE=	yes

.if defined(USE_XAW3DLIB) && ${USE_XAW3DLIB} == YES
DEPENDS+=	Xaw3d-1.5:../../x11/Xaw3d
.endif

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

post-patch:
.if defined(USE_XAW3DLIB)
	@${ECHO_MSG}  "===>  Applying Xaw3d scrollbar patch"
	@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-xaw3d
.endif

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