1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/tvision/Makefile
Max Khon bff473b08f USE_GMAKE as a temporary band-aid for make(1) in FreeBSD 7 that now
remakes makefiles but cycles on lib/Makefile from tvision sources.

GNU make does not consider a target that exists, has no commands, is
older than its sources as out-of-date if no sources were actually remade and
thus does not cycle on such Makefiles. The fix for make(1) is coming soon.
2007-03-13 17:38:15 +00:00

42 lines
930 B
Makefile

# New ports collection makefile for: tvision
# Date created: 16 February 1997
# Whom: Sandro Sigala
#
# $FreeBSD$
#
PORTNAME= tvision
PORTVERSION= 0.8
PORTREVISION= 6
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.sigala.it/sergio/tvision/mysource/
MASTER_SITE_SUBDIR= devel/lang/c++
MAINTAINER= ports@FreeBSD.org
COMMENT= The Turbo Vision C++ CUI library for UNIX
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
USE_GCC= 3.3
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
USE_GCC= 3.4
.endif
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>