aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vgb-bin/Makefile
blob: 542144ff10901c5638b96f008c211df3e33611a6 (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
43
44
# New ports collection makefile for:   vgb-bin
# Date created:     04 Aug 2000
# Whom:         Mario S F Ferreira <lioux@linf.unb.br> et al.
#
# $FreeBSD$
#

PORTNAME=   vgb
PORTVERSION=    2.2
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= lioux@FreeBSD.org
COMMENT=    Nintendo GameBoy(tm) emulator (closed binary version of vgb)

ONLY_FOR_ARCHS= i386
USE_X_PREFIX=   yes
NO_BUILD=   no
NO_WRKSUBDIR=   no

INSTALL_DIR=    ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP}

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/vgb ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/vgb-debug ${PREFIX}/bin
    @${INSTALL_DIR} ${PREFIX}/share/vgb
    @${INSTALL_DATA} ${WRKSRC}/CART.GB ${PREFIX}/share/vgb
.if !defined(NOPORTDOCS)
    @${INSTALL_DIR} ${PREFIX}/share/doc/vgb
    @${INSTALL_DATA} ${WRKSRC}/VGB.html ${PREFIX}/share/doc/vgb
.endif # !defined(NOPORTDOCS)

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
LIB_DEPENDS+=   c_r.4:${PORTSDIR}/misc/compat4x
.endif

.include <bsd.port.post.mk>