blob: 8d571b24258501c79b72f46f48c354df45e1f39d (
plain)
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
41
42
43
44
45
46
47
48
49
|
# 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>
|