ports/82694: new port: audio/gbsplay - Emulates the sound hardware of the Nintendo(TM) Gameboy(TM)
Emanuel Haupt
ehaupt at critical.ch
Mon Jun 27 12:20:01 UTC 2005
>Number: 82694
>Category: ports
>Synopsis: new port: audio/gbsplay - Emulates the sound hardware of the Nintendo(TM) Gameboy(TM)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 27 12:20:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 5.4-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Fri Jun 10 23:25:47 CEST 2005 root at beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386
>Description:
new port: audio/gbsplay - Emulates the sound hardware of the Nintendo(TM) Gameboy(TM)
Gbsplay emulates the sound hardware of the Nintendo(TM) Gameboy(TM). It is able
to play the sounds from a Gameboy(TM) module dump (.GBS format) over /dev/dsp.
>How-To-Repeat:
>Fix:
--- gbsplay.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gbsplay
# gbsplay/Makefile
# gbsplay/pkg-descr
# gbsplay/distinfo
# gbsplay/pkg-plist
#
echo c - gbsplay
mkdir -p gbsplay > /dev/null 2>&1
echo x - gbsplay/Makefile
sed 's/^X//' >gbsplay/Makefile << 'END-of-gbsplay/Makefile'
X# New ports collection makefile for: gbsplay
X# Date created: 25 Jun 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gbsplay
XDISTVERSION= 0.0.7
XCATEGORIES= audio
XMASTER_SITES= http://download.berlios.de/gbsplay/
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= Emulates the sound hardware of the Nintendo(TM) Gameboy(TM)
X
XUSE_GMAKE= yes
XUSE_REINPLACE= yes
XGNU_CONFIGURE= yes
X
XCONFIGURE_TARGET= # nada
XCONFIGURE_ARGS+= --without-xmmsplugin
X
XMAN1= gbsplay.1 gbsinfo.1
XMAN5= gbsplayrc.5
XPORTDOCS= README HISTORY COPYRIGHT
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|/\(etc/gbsplayrc\)|${PREFIX}/\1|' \
X ${WRKSRC}/gbsplay.c \
X ${WRKSRC}/gbsplay.in.1 \
X ${WRKSRC}/gbsplayrc.in.5
X
Xdo-install:
X.for f in ${PORTNAME} gbsinfo
X ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
X.endfor
X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X ${INSTALL_MAN} ${WRKSRC}/gbsinfo.1 ${MANPREFIX}/man/man1
X ${INSTALL_MAN} ${WRKSRC}/gbsplayrc.5 ${MANPREFIX}/man/man5
X ${MKDIR} ${EXAMPLESDIR}
X ${INSTALL_DATA} ${WRKSRC}/examples/nightmode.gbs ${EXAMPLESDIR}
X
X ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample ${PREFIX}/etc/gbsplayrc.default
X.if !exists(${PREFIX}/etc/gbsplayrc)
X ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample ${PREFIX}/etc/gbsplayrc
X.endif
X
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-gbsplay/Makefile
echo x - gbsplay/pkg-descr
sed 's/^X//' >gbsplay/pkg-descr << 'END-of-gbsplay/pkg-descr'
XGbsplay emulates the sound hardware of the Nintendo(TM) Gameboy(TM). It is able
Xto play the sounds from a Gameboy(TM) module dump (.GBS format) over /dev/dsp.
X
XWWW: http://gbsplay.berlios.de/
X
X- ehaupt
Xehaupt at critical.ch
END-of-gbsplay/pkg-descr
echo x - gbsplay/distinfo
sed 's/^X//' >gbsplay/distinfo << 'END-of-gbsplay/distinfo'
XMD5 (gbsplay-0.0.7.tar.gz) = bdd9143422c52d00a8aeeda171621cec
XSIZE (gbsplay-0.0.7.tar.gz) = 50466
END-of-gbsplay/distinfo
echo x - gbsplay/pkg-plist
sed 's/^X//' >gbsplay/pkg-plist << 'END-of-gbsplay/pkg-plist'
Xbin/gbsplay
Xbin/gbsinfo
X at unexec if cmp -s %D/etc/gbsplayrc %D/etc/gbsplayrc.default; then rm -f %D/etc/gbsplayrc; fi
Xetc/gbsplayrc.default
X at exec [ -f %B/gbsplayrc ] || cp %B/%f %B/gbsplayrc
X%%EXAMPLESDIR%%/nightmode.gbs
X at dirrm %%EXAMPLESDIR%%
END-of-gbsplay/pkg-plist
exit
--- gbsplay.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list