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

PORTNAME=   x3270
PORTVERSION=    3.3.7
PORTREVISION=   1
CATEGORIES= x11 net
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    3270 Terminal emulator

BUILD_DEPENDS=  bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
        mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
        mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale

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
MAKE_ARGS+= COMPRESSMANCMD="${DO_NADA}" \
        INSTALL="${INSTALL}" INSTALLFLAGS="${COPY}" \
        INSTPGMFLAGS="${STRIP} ${_BINOWNGRP} -m ${BINMODE}" \
        INSTBINFLAGS="${_BINOWNGRP} -m ${BINMODE}" \
        INSTDATFLAGS="${_SHROWNGRP} -m ${SHAREMODE}" \
        INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}"

WRKSRC=     ${WRKDIR}/x3270-${PORTVERSION:R}
MAN1=       x3270.1 x3270if.1 x3270-script.1
MAN5=       ibm_hosts.5
MANCOMPRESSED=  no

post-patch:
    ${REINPLACE_CMD} -e 's|\$$(INSTALL) -c|$$(INSTALL) $$(INSTALLFLAGS)|g' \
        ${WRKSRC}/Imakefile.in

.include <bsd.port.mk>