1 # $NetBSD: Makefile,v 1.29 2012/10/23 18:16:52 asau Exp $
7 MASTER_SITES
= http
://the.earth.li
/~sgtatham
/putty
/0.62/
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://www.chiark.greenend.org.uk
/~sgtatham
/putty
/
11 COMMENT
= Free implementation of Telnet and SSH for Win32 and Unix platforms
14 USE_TOOLS
+= gmake pkg-config
17 MAKE_FILE
= Makefile.gtk
18 MAKE_FLAGS
+= mandir=${PREFIX}/${PKGMANDIR}
20 INSTALLATION_DIRS
= bin
${PKGMANDIR}/man1
24 .if empty
(OPSYS
:MLinux
)
25 CFLAGS
+= -DHAVE_NO_SETRESUID
28 .if
!empty
(OPSYS
:M
*BSD
) ||
${OPSYS} == "DragonFly" ||
${OPSYS} == "Darwin"
32 # Unix98 ptys were added some time ago in NetBSD -current,
33 # so use it if we have the device, otherwise use the old style.
34 .if
!exists
(/dev
/ptmx
)
38 LDFLAGS.SunOS
+= -lsocket
-lnsl
39 CFLAGS.SunOS
+= -DBSD_COMP
41 .
include "../../x11/gtk2/buildlink3.mk"
42 .
include "../../mk/dlopen.buildlink3.mk"
43 .
include "../../mk/bsd.pkg.mk"