aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/vgb/Makefile
blob: bfa7f1826f8b8df6aecc2e87047e40b7bbe799a1 (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
# New ports collection makefile for:   vgb
# Date created:        31 October 1996
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   vgb
PORTVERSION=    0.7
PORTREVISION=   2
CATEGORIES= emulators
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor
DISTNAME=   VGB
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Nintendo GameBoy(tm) emulator

WRKSRC=     ${WRKDIR}/GB

USE_XORG=   x11 xext

do-configure:
    @${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${FILESDIR}/vgb.sh \
        > ${WRKSRC}/vgb.sh

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gblist ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/libexec/VGB ${PREFIX}/share/VGB
    ${INSTALL_PROGRAM} ${WRKSRC}/vgb ${PREFIX}/libexec/VGB
    ${INSTALL_DATA} ${WRKSRC}/CART.GB ${PREFIX}/share/VGB
    ${INSTALL_SCRIPT} ${WRKSRC}/vgb.sh ${PREFIX}/bin/vgb

.include <bsd.port.mk>