# New ports collection makefile for: vgb # Date created: 31 October 1996 # Whom: Yukihiro Nakai # # $FreeBSD$ # PORTNAME= vgb PORTVERSION= 0.7 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= asami/LOCAL_PORTS DISTNAME= VGB EXTRACT_SUFX= .tar.Z MAINTAINER= nakai@FreeBSD.org COMMENT= Nintendo GameBoy(tm) emulator WRKSRC= ${WRKDIR}/GB USE_X_PREFIX= yes 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