summaryrefslogtreecommitdiffstats
path: root/devel/tvision/Makefile
blob: ece59335fcb1d44163a56f859cad4662996b388d (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
# New ports collection makefile for:	tvision
# Date created:				16 February 1997
# Whom:					Sandro Sigala
#
# $FreeBSD$
#

PORTNAME=	tvision
PORTVERSION=	0.8
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SUNSITE} \
		http://www.sigala.it/sergio/tvision/mysource/
MASTER_SITE_SUBDIR=	devel/lang/c++

MAINTAINER=	libh@FreeBSD.org
COMMENT=	The Turbo Vision C++ CUI library for UNIX

USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB=	yes
USE_GCC=	3.2

.include <bsd.port.pre.mk>

post-extract:
	@${MV} ${WRKSRC}/myendian.h ${WRKSRC}/lib

post-patch:
	@${REINPLACE_CMD} -e 's,myendian.h,tvision/myendian.h,g' \
		${WRKSRC}/lib/drawbuf.h ${WRKSRC}/lib/system.h
	@${REINPLACE_CMD} -e 's,menus.h msgbox.h,menus.h msgbox.h myendian.h,' \
		${WRKSRC}/lib/Makefile.in

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud