aboutsummaryrefslogtreecommitdiffstats
path: root/x11/x3270/Makefile
blob: dbb2fc37c73d47994d83c87c46bc9de74e635ab8 (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
# New ports collection makefile for:    x3270
# Date created:     31 January 1995
# Whom:         janek
#
# $FreeBSD$
#

PORTNAME=   x3270
PORTVERSION=    3.1.1.6
CATEGORIES= x11
MASTER_SITES=   ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications

MAINTAINER= volf@oasis.IAEhv.nl

USE_IMAKE=  yes

.include <bsd.port.pre.mk>

.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS=  bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS=    mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif

WRKSRC=     ${WRKDIR}/x3270-3.1.1
MAN1=       x3270.1 x3270if.1 x3270-script.1 ibm_hosts.1
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

.include <bsd.port.post.mk>