1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/security/putty/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

44 lines
985 B
Makefile

# New ports collection makefile for: putty
# Date created: 13 Feb 2004
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#
PORTNAME= putty
PORTVERSION= 0.59
PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= http://the.earth.li/~sgtatham/putty/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= Secure shell and telnet client
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
MAKEFILE= Makefile.gtk
CFLAGS+= -DBSD_PTYS -DOMIT_UTMP
PLIST_FILES= bin/plink bin/pscp bin/psftp bin/puttygen
MAN1= plink.1 pscp.1 psftp.1 puttygen.1
.if !defined(WITHOUT_GTK)
USE_GNOME= gtk12
PLIST_FILES+= bin/pterm bin/putty bin/puttytel
MAN1+= pterm.1 putty.1 puttytel.1
MAKE_ENV+= PUTTY_WITH_GTK=yes
CFLAGS+= `${GTK_CONFIG} --cflags`
.endif
.if !defined(WITHOUT_IPV6)
CFLAGS+= -DIPV6
.endif
post-patch:
@${REINPLACE_CMD} -e 's,gtk-config,${GTK_CONFIG},g; \
s,prefix=/usr/local,prefix=${PREFIX},' \
${WRKSRC}/${MAKEFILE}
.include <bsd.port.mk>