summaryrefslogtreecommitdiff
path: root/emulators/x16-rom/Makefile
blob: 09ea111d8346418c7fab1dfc4b78ed3a72bd225c (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
PORTNAME=	x16-rom
DISTVERSION=	r38
CATEGORIES=	emulators

MAINTAINER=	makc@FreeBSD.org
COMMENT=	Commander X16 ROM

BUILD_DEPENDS=	cc65:devel/cc65

USES=		gmake

USE_GITHUB=	yes
GH_ACCOUNT=	commanderx16

DATADIR=	${PREFIX}/share/x16-emulator
PORTDATA=	rom.bin

post-patch:
	${REINPLACE_CMD} '1s,bash,sh,' ${WRKSRC}/scripts/symbolize.sh

do-install:
	${MKDIR} ${STAGEDIR}/${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/build/x16/rom.bin ${STAGEDIR}/${DATADIR}

.include <bsd.port.mk>