aboutsummaryrefslogtreecommitdiff
path: root/emulators/dtcyber/Makefile
blob: 100e0761d116a6312e841487c861f7763e0d2ea0 (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
# Created by: trasz <trasz@pin.if.uz.zgora.pl>

PORTNAME=	dtcyber
PORTVERSION=	2.0b1
PORTREVISION=	3
CATEGORIES=	emulators
MASTER_SITES=	http://members.iinet.net.au/~tom-hunter/ \
		LOCAL/trasz
DISTNAME=	dtcyber20b1

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Desktop CYBER Emulator

USES=		dos2unix zip xorg
USE_XORG=	x11
NO_WRKSUBDIR=	yes
INSTALL_TARGET=
MAKEFILE=	Makefile.x11
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

CFLAGS+=		-fcommon

DEPRECATED=	Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01

SUB_FILES=	pkg-message
PLIST_FILES=	bin/dtcyber %%EXAMPLESDIR%%/cyber.ini %%EXAMPLESDIR%%/cos.tap

BROKEN_aarch64=		Fails to compile: error: Unable to determine size of basic data types
BROKEN_armv6=		Fails to compile: error: Unable to determine size of basic data types
BROKEN_armv7=		Fails to compile: error: Unable to determine size of basic data types
BROKEN_mips64=		Fails to compile: error: Unable to determine size of basic data types
BROKEN_riscv64=		Fails to compile: error: Unable to determine size of basic data types

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dtcyber ${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/cyber.ini ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/Os/cos.tap ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>