Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 00:49:07 +0200 (CEST)
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81537: new port: audio/sidplayer
Message-ID:  <200505262249.j4QMn7fT024935@beaver.critical.ch>
Resent-Message-ID: <200505262250.j4QMo0qY076626@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81537
>Category:       ports
>Synopsis:       new port: audio/sidplayer
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 26 22:50:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Fri May 13 17:48:58 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386


	
>Description:
SIDPlayer is a replayer program for C64 music (SID tunes). You can think of it
as being a stripped-down C64 emulator that only emulates the processor and the
sound chip of the C64. It also supports the SID option of the
Catweasel MK3 PCI card.

>How-To-Repeat:
	
>Fix:
-- start: audio-sidplayer.shar --
# 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:
#
#	sidplayer
#	sidplayer/Makefile
#	sidplayer/pkg-descr
#	sidplayer/distinfo
#	sidplayer/pkg-plist
#
echo c - sidplayer
mkdir -p sidplayer > /dev/null 2>&1
echo x - sidplayer/Makefile
sed 's/^X//' >sidplayer/Makefile << 'END-of-sidplayer/Makefile'
X# New ports collection makefile for:   sidplayer
X# Date created:		27 May 2005
X# Whom:			Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sidplayer
XPORTVERSION=	4.4
XCATEGORIES=	audio
XMASTER_SITES=	http://wwwthep.physik.uni-mainz.de/~cbauer/
XDISTNAME=	SIDPlayer-${PORTVERSION}
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A C64 SID tune player
X
XUSE_SDL=	yes
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
X
XSDLINCLUDEDIR=	SDL11
X
XCONFIGURE_ENV=	CFLAGS="${CFLAGS} ${CPPFLAGS}" \
X		CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
X		CPPFLAGS="${CPPFLAGS}" \
X		LDFLAGS="${LDFLAGS}"
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|SDL/SDL_endian\.h|${SDLINCLUDEDIR}/SDL_endian\.h|' \
X		${WRKSRC}/src/main_sdl.cpp
X
Xdo-install:
X	${INSTALL} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${CP} ${WRKSRC}/PSID\ Demo/* ${DOCSDIR}/
X.endif
X
Xpost-install:
X	@${ECHO_MSG} "=============================================================="
X	@${ECHO_MSG} "A huge SID tune archive can be found at http://hvsc.c64.org/"
X.if !defined(NOPORTDOCS)
X	@${ECHO_MSG} "You can find a few examples in ${DOCSDIR}"
X.endif
X	@${ECHO_MSG} "=============================================================="
X
X.include <bsd.port.mk>
END-of-sidplayer/Makefile
echo x - sidplayer/pkg-descr
sed 's/^X//' >sidplayer/pkg-descr << 'END-of-sidplayer/pkg-descr'
XSIDPlayer is a replayer program for C64 music (SID tunes). You can think of it
Xas being a stripped-down C64 emulator that only emulates the processor and the
Xsound chip of the C64. It also supports the SID option of the
XCatweasel MK3 PCI card.
X
XWWW: http://www.students.uni-mainz.de/bauec002/SPMain.html
X
X- ehaupt
Xehaupt@critical.ch
END-of-sidplayer/pkg-descr
echo x - sidplayer/distinfo
sed 's/^X//' >sidplayer/distinfo << 'END-of-sidplayer/distinfo'
XMD5 (SIDPlayer-4.4.tar.gz) = bf066aa9b83b561a72ebf19947eb764c
XSIZE (SIDPlayer-4.4.tar.gz) = 230703
END-of-sidplayer/distinfo
echo x - sidplayer/pkg-plist
sed 's/^X//' >sidplayer/pkg-plist << 'END-of-sidplayer/pkg-plist'
Xbin/sidplayer
X%%PORTDOCS%%%%DOCSDIR%%/Antics
X%%PORTDOCS%%%%DOCSDIR%%/Arkanoid
X%%PORTDOCS%%%%DOCSDIR%%/Bombo
X%%PORTDOCS%%%%DOCSDIR%%/Bulldog
X%%PORTDOCS%%%%DOCSDIR%%/Cybernoid_II
X%%PORTDOCS%%%%DOCSDIR%%/Dance_At_Night
X%%PORTDOCS%%%%DOCSDIR%%/Deflektor
X%%PORTDOCS%%%%DOCSDIR%%/F1_Simulator
X%%PORTDOCS%%%%DOCSDIR%%/Geir_Tjelta-01
X%%PORTDOCS%%%%DOCSDIR%%/Immortal_Flash_2
X%%PORTDOCS%%%%DOCSDIR%%/Lightforce
X%%PORTDOCS%%%%DOCSDIR%%/Master_Of_Magic
X%%PORTDOCS%%%%DOCSDIR%%/Ocean_Loader_v3.0
X%%PORTDOCS%%%%DOCSDIR%%/Parallax
X%%PORTDOCS%%%%DOCSDIR%%/Spellbound
X%%PORTDOCS%%%%DOCSDIR%%/Thrust
X%%PORTDOCS%%%%DOCSDIR%%/Times_of_Lore
X%%PORTDOCS%%%%DOCSDIR%%/W.A.R
X%%PORTDOCS%%%%DOCSDIR%%/Yie_Ar_Kung_Fu
X%%PORTDOCS%%%%DOCSDIR%%/Zoids
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-sidplayer/pkg-plist
exit

-- end: audio-sidplayer.shar --
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505262249.j4QMn7fT024935>