2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2006/03/04 21:30:37 jlam Exp $
|
2004-10-30 01:00:30 +02:00
|
|
|
#
|
|
|
|
|
2005-04-06 23:51:13 +02:00
|
|
|
DISTNAME= putty-0.58
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2004-10-30 01:00:30 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://the.earth.li/~sgtatham/putty/latest/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-10-30 01:00:30 +02:00
|
|
|
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
|
|
|
|
COMMENT= Free implementation of Telnet and SSH for Win32 and Unix platforms
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-04-13 18:45:46 +02:00
|
|
|
BUILD_DIRS= ${WRKSRC}/unix
|
2004-10-30 01:00:30 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2006-02-23 21:28:54 +01:00
|
|
|
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
|
2004-10-30 01:00:30 +02:00
|
|
|
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"
|