blob: a7acde8428e23a304a2d5f1865ef4cce0a543fb9 (
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
|
# $NetBSD: Makefile,v 1.11 2006/03/04 21:30:37 jlam Exp $
#
DISTNAME= putty-0.58
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://the.earth.li/~sgtatham/putty/latest/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
COMMENT= Free implementation of Telnet and SSH for Win32 and Unix platforms
USE_TOOLS+= gmake
BUILD_DIRS= ${WRKSRC}/unix
MAKEFILE= Makefile.gtk
.include "../../mk/bsd.prefs.mk"
.if empty(OPSYS:MLinux)
CFLAGS+= -DHAVE_NO_SETRESUID
.endif
.if !empty(USE_INET6:M[Yy][Ee][Ss])
CFLAGS+= -DIPV6
.endif
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
CFLAGS+= -DOMIT_UTMP
.endif
# Unix98 ptys were added some weeks ago in NetBSD -current,
# so use it if we have the device, otherwise use the old style.
.if !exists(/dev/ptmx)
CFLAGS+= -DBSD_PTYS
.endif
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|