Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2005 14:17:57 +0200 (CEST)
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83556: new port: audio/penguinsap - A command line player for playing .sap audio files 
Message-ID:  <200507161217.j6GCHvoY099174@beaver.critical.ch>
Resent-Message-ID: <200507161220.j6GCKMSY021862@freefall.freebsd.org>

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

>Number:         83556
>Category:       ports
>Synopsis:       new port: audio/penguinsap - A command line player for playing .sap audio files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 16 12:20:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #0: Wed Jul  6 20:05:27 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386


	
>Description:
new port: audio/penguinsap - A command line player for playing .sap audio files

A simple command line player for playing 8bit Atari(TM) .sap (Slight Atari
Player) audio files.

Attention:
There is a [ctrl-v][return] in the post-patch section. I need to replace CR/LF's
or else gcc 2.95.4 will fail. I didn't want to pull in unnecessary dependencies
like perl or gsed.

>How-To-Repeat:
	
>Fix:

	



--- penguinsap.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:
#
#	penguinsap
#	penguinsap/Makefile
#	penguinsap/pkg-descr
#	penguinsap/distinfo
#	penguinsap/pkg-message
#
echo c - penguinsap
mkdir -p penguinsap > /dev/null 2>&1
echo x - penguinsap/Makefile
sed 's/^X//' >penguinsap/Makefile << 'END-of-penguinsap/Makefile'
X# New ports collection makefile for:	penguinsap
X# Date created:				16 Jul 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	penguinsap
XPORTVERSION=	0.1
XCATEGORIES=	audio
XMASTER_SITES=	http://critical.ch/distfiles/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A command line Atari(TM) .sap player
X
XUSE_REINPLACE=	yes
X
XSOURCES=	sapPokey pokey1 sapCpu sapEngine main pokey0
XCXXFLAGS+=	--no-exceptions
X
X.if !defined(WITHOUT_OPTIMIZED_COMPILER_FLAGS)
XEXTRAFLAGS=	-ffast-math -malign-double -finline-limit-1000000 \
X		-funroll-loops -fstrength-reduce -finline-functions
X.endif
X
XPLIST_FILES=	bin/sap
X
Xpost-patch:
X# gcc 2.95.4 does not like CR/LFs
X	@${FIND} ${WRKSRC} -type f -exec \
X		${REINPLACE_CMD} -E -e 's|
||' {} \;
X	@${REINPLACE_CMD} -e 's|linux/soundcard\.h|sys/soundcard\.h|' \
X		${WRKSRC}/main.cpp
X
Xdo-build:
X.for f in ${SOURCES}
X	${CXX} ${CXXFLAGS} ${EXTRAFLAGS} -c ${WRKSRC}/${f}.cpp \
X		-o ${WRKSRC}/${f}.o
X.endfor
X	${CC} ${CFLAGS} ${EXTRAFLAGS} ${SOURCES:C/(.*)/${WRKSRC}\/\1.o/} \
X		-o ${WRKSRC}/sap
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/sap ${PREFIX}/bin
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-penguinsap/Makefile
echo x - penguinsap/pkg-descr
sed 's/^X//' >penguinsap/pkg-descr << 'END-of-penguinsap/pkg-descr'
XA simple command line player for playing 8bit Atari(TM) .sap (Slight Atari
XPlayer) audio files.
X
XWWW: http://asma.atari.org/
X
X- ehaupt
Xehaupt@critical.ch
END-of-penguinsap/pkg-descr
echo x - penguinsap/distinfo
sed 's/^X//' >penguinsap/distinfo << 'END-of-penguinsap/distinfo'
XMD5 (penguinsap-0.1.tar.gz) = 800f818d3ef1b93346b07a5861bb1e17
XSIZE (penguinsap-0.1.tar.gz) = 44057
END-of-penguinsap/distinfo
echo x - penguinsap/pkg-message
sed 's/^X//' >penguinsap/pkg-message << 'END-of-penguinsap/pkg-message'
X===============================================================================
XA huge .sap file collection can be found at: http://asma.atari.org/
X===============================================================================
END-of-penguinsap/pkg-message
exit
--- penguinsap.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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