From ehaupt@beaver.critical.ch  Mon Jun 27 12:17:24 2005
Return-Path: <ehaupt@beaver.critical.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2655416A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Jun 2005 12:17:24 +0000 (GMT)
	(envelope-from ehaupt@beaver.critical.ch)
Received: from beaver.critical.ch (217-162-251-247.dclient.hispeed.ch [217.162.251.247])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 96BB543D55
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Jun 2005 12:17:23 +0000 (GMT)
	(envelope-from ehaupt@beaver.critical.ch)
Received: from beaver.critical.ch (localhost [127.0.0.1])
	by beaver.critical.ch (8.13.3/8.13.1) with ESMTP id j5RCHKVW001645
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Jun 2005 14:17:20 +0200 (CEST)
	(envelope-from ehaupt@beaver.critical.ch)
Received: (from ehaupt@localhost)
	by beaver.critical.ch (8.13.3/8.13.1/Submit) id j5RCHKgb001644;
	Mon, 27 Jun 2005 14:17:20 +0200 (CEST)
	(envelope-from ehaupt)
Message-Id: <200506271217.j5RCHKgb001644@beaver.critical.ch>
Date: Mon, 27 Jun 2005 14:17:20 +0200 (CEST)
From: Emanuel Haupt <ehaupt@critical.ch>
Reply-To: Emanuel Haupt <ehaupt@critical.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: audio/gbsplay - Emulates the sound hardware of the Nintendo(TM) Gameboy(TM) 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    jylefort
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 27 12:20:00 GMT 2005
>Closed-Date:    Tue Jun 28 18:15:25 GMT 2005
>Last-Modified:  Tue Jun 28 18:15:25 GMT 2005
>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@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@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@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@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@unexec if cmp -s %D/etc/gbsplayrc %D/etc/gbsplayrc.default; then rm -f %D/etc/gbsplayrc; fi
Xetc/gbsplayrc.default
X@exec [ -f %B/gbsplayrc ] || cp %B/%f %B/gbsplayrc
X%%EXAMPLESDIR%%/nightmode.gbs
X@dirrm %%EXAMPLESDIR%%
END-of-gbsplay/pkg-plist
exit
--- gbsplay.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jylefort 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Mon Jun 27 19:07:39 GMT 2005 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82694 
State-Changed-From-To: open->closed 
State-Changed-By: jylefort 
State-Changed-When: Tue Jun 28 18:15:12 GMT 2005 
State-Changed-Why:  
Committed with several modifications, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82694 
>Unformatted:
