aboutsummaryrefslogtreecommitdiff
path: root/emulators/vgb-bin/Makefile
blob: c6d4732a06cf456882bca91184d51c4e8a58fb8d (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: Mario S F Ferreira <lioux@linf.unb.br> et al.

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)

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>