Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / putty / Makefile
blobd16ba9512224d148c656f8d7c51278d88ffe87fb
1 # $NetBSD: Makefile,v 1.29 2012/10/23 18:16:52 asau Exp $
4 DISTNAME= putty-0.62
5 PKGREVISION= 6
6 CATEGORIES= security
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
12 LICENSE= mit
14 USE_TOOLS+= gmake pkg-config
15 BUILD_DIRS= unix
17 MAKE_FILE= Makefile.gtk
18 MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
20 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
22 .include "options.mk"
24 .if empty(OPSYS:MLinux)
25 CFLAGS+= -DHAVE_NO_SETRESUID
26 .endif
28 .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
29 CFLAGS+= -DOMIT_UTMP
30 .endif
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)
35 CFLAGS+= -DBSD_PTYS
36 .endif
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"