aboutsummaryrefslogtreecommitdiff
path: root/emulators/vgb-bin/Makefile
blob: 348fad88b2106994cc597c54ff448ff01ea11fba (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
PORTNAME=	vgb
PORTVERSION=	3.0
PORTREVISION=	5
PORTEPOCH=	1
CATEGORIES=	emulators
MASTER_SITES=	http://fms.komkon.org/VGB/
PKGNAMESUFFIX=	-bin
DISTNAME=	VGB${PORTVERSION:S/.//}-FreeBSD-80x86-bin
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Nintendo GameBoy(tm) emulator (closed binary version of vgb)
WWW=		https://fms.komkon.org/VGB/

ONLY_FOR_ARCHS=	i386
ONLY_FOR_ARCHS_REASON=	required i386 dependencies

LIB_DEPENDS=	libc.so.5:misc/compat5x

IA32_BINARY_PORT=	yes
NO_BUILD=	no
NO_WRKSUBDIR=	no
USES=		xorg
USE_XORG=	x11 xext

PLIST_FILES=	bin/vgb
PORTDATA=	CART.GB
PORTDOCS=	VGB.html

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/vgb ${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/CART.GB ${STAGEDIR}${DATADIR}

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/VGB.html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>