summaryrefslogtreecommitdiff
path: root/x11/kterm/Makefile
blob: ecb1ab100cf406e8a270db6075c86e1222b00419 (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
37
38
39
40
41
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.21 2003/03/03 04:17:45 jschauma Exp $

DISTNAME=	kterm-6.2.0
PKGREVISION=	1
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_BUILDLINK2=	YES
USE_PKGINSTALL=	YES
USE_IMAKE=	YES

_SETUID_ROOT=	${ROOT_USER} ${ROOT_GROUP} 4711
SPECIAL_PERMS=	${PREFIX}/bin/kterm ${_SETUID_ROOT}

BUILD_DEFS+=	KTERM_USE_WALLPAPER

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

.if defined(KTERM_USE_WALLPAPER)
.  if ${KTERM_USE_WALLPAPER} == "imlib"
SITES_KTerm-BGP-Imlib-1.0.patch.gz=	http://delegate.uec.ac.jp:8081/club/mma/%7Etakkun/fun/handling/
PATCHFILES+=	KTerm-BGP-Imlib-1.0.patch.gz
BUILDLINK_DEPENDS.imlib?=	imlib>=1.9.4
.    include "../../graphics/imlib/buildlink2.mk"
.  elif ${KTERM_USE_WALLPAPER} == "YES"
SITES_KTerm-BGP-1.0.patch.gz=	http://delegate.uec.ac.jp:8081/club/mma/%7Etakkun/fun/handling/
PATCHFILES+=	KTerm-BGP-1.0.patch.gz
.    include "../../graphics/xpm/buildlink2.mk"
.  endif
.endif

.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
post-patch:
	@${ECHO_MSG}  "===>  Applying Xaw scrollbar patch"
	@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-xaw3d
.endif

.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"