2004-02-13 17:45:39 +00:00
|
|
|
# New ports collection makefile for: putty
|
|
|
|
# Date created: 13 Feb 2004
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= putty
|
2007-05-25 12:34:15 +00:00
|
|
|
PORTVERSION= 0.60
|
2004-02-15 07:52:59 +00:00
|
|
|
CATEGORIES= security ipv6
|
2004-02-13 17:45:39 +00:00
|
|
|
MASTER_SITES= http://the.earth.li/~sgtatham/putty/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
|
|
|
|
2005-07-11 16:47:16 +00:00
|
|
|
MAINTAINER= garga@FreeBSD.org
|
2004-02-13 17:45:39 +00:00
|
|
|
COMMENT= Secure shell and telnet client
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
|
|
|
MAKEFILE= Makefile.gtk
|
2004-02-15 07:52:59 +00:00
|
|
|
CFLAGS+= -DBSD_PTYS -DOMIT_UTMP
|
2005-04-30 15:17:39 +00:00
|
|
|
|
2007-03-15 17:59:02 +00:00
|
|
|
PLIST_FILES= bin/plink bin/pscp bin/psftp bin/puttygen
|
|
|
|
MAN1= plink.1 pscp.1 psftp.1 puttygen.1
|
2004-02-13 17:45:39 +00:00
|
|
|
|
2007-02-11 17:10:03 +00:00
|
|
|
.if !defined(WITHOUT_GTK)
|
2004-02-13 17:45:39 +00:00
|
|
|
USE_GNOME= gtk12
|
2007-03-15 17:59:02 +00:00
|
|
|
PLIST_FILES+= bin/pterm bin/putty bin/puttytel
|
|
|
|
MAN1+= pterm.1 putty.1 puttytel.1
|
2004-02-13 17:45:39 +00:00
|
|
|
MAKE_ENV+= PUTTY_WITH_GTK=yes
|
2007-02-11 17:10:03 +00:00
|
|
|
CFLAGS+= `${GTK_CONFIG} --cflags`
|
2004-02-13 17:45:39 +00:00
|
|
|
.endif
|
|
|
|
|
2007-03-15 17:59:02 +00:00
|
|
|
.if !defined(WITHOUT_IPV6)
|
|
|
|
CFLAGS+= -DIPV6
|
|
|
|
.endif
|
|
|
|
|
2004-02-15 19:29:43 +00:00
|
|
|
post-patch:
|
2007-02-11 17:10:03 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,gtk-config,${GTK_CONFIG},g; \
|
2005-04-30 15:17:39 +00:00
|
|
|
s,prefix=/usr/local,prefix=${PREFIX},' \
|
2007-02-11 17:10:03 +00:00
|
|
|
${WRKSRC}/${MAKEFILE}
|
2004-02-15 19:29:43 +00:00
|
|
|
|
2007-02-03 13:18:30 +00:00
|
|
|
.include <bsd.port.mk>
|