1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/x11/x3270/Makefile
Marcus Alves Grando a16de41c90 - Use GZIP_CMD instead of gzip
PR:		94799
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
2006-03-22 13:20:21 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: x3270
# Date created: 31 January 1995
# Whom: janek
#
# $FreeBSD$
#
PORTNAME= x3270
PORTVERSION= 3.3.4
CATEGORIES= x11 net
MASTER_SITES= http://x3270.bgp.nu/download/
DISTNAME= ${PORTNAME}-334
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= 3270 Terminal emulator
BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
USE_IMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-pr3287 --with-fontdir=local --disable-dbcs
.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS+= --disable-ssl
.else
USE_OPENSSL= yes
.endif
WRKSRC= ${WRKDIR}/x3270-3.3
MAN1= x3270.1 x3270if.1 x3270-script.1
MAN5= ibm_hosts.5
#MANCOMPRESSED= yes
pre-install:
.if !exists(${X11BASE}/lib/X11/fonts/local)
@${ECHO} "*********************************************************"
@${ECHO} "Please update your XFree86 to version 3.3.3 or later"
@${ECHO} "or add ${X11BASE}/lib/X11/fonts/local to your font path"
@${ECHO} "in /etc/XF86Config."
@${ECHO} "*********************************************************"
.endif
post-install:
${GZIP_CMD} ${MAN1PREFIX}/man/man1/x3270if.1
${GZIP_CMD} ${MAN1PREFIX}/man/man1/x3270-script.1
${GZIP_CMD} ${MAN5PREFIX}/man/man5/ibm_hosts.5
.include <bsd.port.mk>