1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/emulators/adamem/Makefile
Mark Linimon bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Jeremy Karlson
# $FreeBSD$
PORTNAME= adamem
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= http://www.komkon.org/~dekogel/files/coleco/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= ADAMEm is a portable Coleco ADAM and ColecoVision emulator
BROKEN_aarch64= fails to build: regparm is not valid on this platform
BROKEN_armv6= fails to build: regparm is not valid on this platform
BROKEN_armv7= fails to build: regparm is not valid on this platform
NO_WRKSUBDIR= yes
USE_XORG= sm x11 xau xext xfixes xi xrandr
MAKE_ARGS= CC="${CC}" LD="${CC}"
ALL_TARGET= x
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/ADAMEm.c \
${WRKSRC}/Coleco.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/adamem ${STAGEDIR}${PREFIX}/bin
${LN} -s adamem ${STAGEDIR}${PREFIX}/bin/cvem
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in adamem.snd OS7.rom WP.rom EOS.rom
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/adamem.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>