mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
44 lines
915 B
Makefile
44 lines
915 B
Makefile
|
# New ports collection makefile for: putty
|
||
|
# Date created: 13 Feb 2004
|
||
|
# Whom: dirk.meyer@dinoex.sub.org
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
PORTNAME= putty
|
||
|
PORTVERSION= 0.54
|
||
|
CATEGORIES= security
|
||
|
MASTER_SITES= http://the.earth.li/~sgtatham/putty/%SUBDIR%/
|
||
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
||
|
|
||
|
MAINTAINER= dinoex@FreeBSD.org
|
||
|
COMMENT= Secure shell and telnet client
|
||
|
|
||
|
USE_GMAKE= yes
|
||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
||
|
MAKEFILE= Makefile.gtk
|
||
|
CFLAGS+= -DOMIT_UTMP
|
||
|
CFLAGS= -DBSD_PTYS -DOMIT_UTMP
|
||
|
|
||
|
PLIST_FILES= bin/plink bin/pscp bin/psftp
|
||
|
MAN1= plink.1
|
||
|
|
||
|
.ifndef WITHOUT_GTK
|
||
|
USE_GNOME= gtk12
|
||
|
PLIST_FILES+= bin/pterm bin/putty bin/puttygen bin/puttytel
|
||
|
MAN1+= pterm.1 putty.1 puttygen.1 puttytel.1
|
||
|
MAKE_ENV+= PUTTY_WITH_GTK=yes
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.pre.mk>
|
||
|
|
||
|
.if ${OSVERSION} < 500000
|
||
|
CFLAGS+= -DFREEBSD_MB_SUPPORT
|
||
|
|
||
|
do-configure:
|
||
|
${CP} ${FILESDIR}/wcrtomb.c ${FILESDIR}/mbrtowc.c \
|
||
|
${WRKSRC}/
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.post.mk>
|