aboutsummaryrefslogtreecommitdiffstats
path: root/x11/x3270/Makefile
blob: 5dceb684a30c78c0b4981a1e8a25b0ac8ce827d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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

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>