mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
d75b2b67b8
Submitted by: "Yonatan Bokovza" <Yonatan@xpert.com>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# 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= Yonatan@xpert.com
|
|
COMMENT= 3270 Terminal emulator
|
|
|
|
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
|
|
USE_REINPLACE= 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
|
|
|
|
#
|
|
# This patch is to make sure that mkversion.sh can be ran on FreeBSD 4-STABLE
|
|
# which will get $(CLIENTENVSETUP) in its CC macro.
|
|
#
|
|
post-configure:
|
|
${REINPLACE_CMD} \
|
|
-e 's,sh \./mkversion\.sh $$(CC),$$(CLIENTENVSETUP) sh ./mkversion.sh %%CC%%,' \
|
|
-e 's,%%CC%%,${CC},' \
|
|
${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.post.mk>
|