aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vgb-bin/Makefile
blob: cf51d061ba4cd88cea7611e95a55a90c9f1b09c9 (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
# 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=    3.0
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_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} < 502100
IGNORE=     Does not work for FreeBSD versions prior to 5.2.1R
.endif

.include <bsd.port.post.mk>