summaryrefslogtreecommitdiff
path: root/security/putty/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-10-29 23:00:30 +0000
committerxtraeme <xtraeme>2004-10-29 23:00:30 +0000
commit58d1a0870af6be66fb1516d5539e3afebd6618a1 (patch)
tree5f31e745c1ca21a82fb9534f034266cc4687260e /security/putty/Makefile
parent095ec6bbe13678ddcb2b928dfb057fd31a98c6e7 (diff)
downloadpkgsrc-58d1a0870af6be66fb1516d5539e3afebd6618a1.tar.gz
Initial import of putty-0.56 from pkgsrc-wip.
PuTTY is a client program for the SSH, Telnet and Rlogin network protocols. These protocols are all used to run a remote session on a computer, over a network. PuTTY implements the client end of that session: the end at which the session is displayed, rather than the end at which it runs.
Diffstat (limited to 'security/putty/Makefile')
-rw-r--r--security/putty/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/security/putty/Makefile b/security/putty/Makefile
new file mode 100644
index 00000000000..3501cecbb15
--- /dev/null
+++ b/security/putty/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/29 23:00:30 xtraeme Exp $
+#
+
+DISTNAME= putty-0.56
+CATEGORIES= security
+MASTER_SITES= http://the.earth.li/~sgtatham/putty/latest/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
+COMMENT= Free implementation of Telnet and SSH for Win32 and Unix platforms
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_X11= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/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)
+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"