Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 11:26:27 +0100 (CET)
From:      Jochem Kossen <j.kossen@home.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31773: New port: audio/cplay, audioplayer for the console
Message-ID:  <200111051026.fA5AQRm00808@jochem.dyndns.org>

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

>Number:         31773
>Category:       ports
>Synopsis:       New port: audio/cplay, audioplayer for the console
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 02:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jochem Kossen
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD lisa.jochem.dyndns.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 2 22:06:03 CET 2001 root@lisa.jochem.dyndns.org:/usr/obj/usr/src/sys/LISA i386

>Description:
	cplay is a curses based front-end to various audioplayers like
	ogg123 and mpg123.
>How-To-Repeat:

>Fix:

# 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:
#
#	cplay/
#	cplay/files
#	cplay/files/patch-aa
#	cplay/pkg-comment
#	cplay/Makefile
#	cplay/distinfo
#	cplay/pkg-plist
#	cplay/pkg-descr
#
echo c - cplay/
mkdir -p cplay/ > /dev/null 2>&1
echo c - cplay/files
mkdir -p cplay/files > /dev/null 2>&1
echo x - cplay/files/patch-aa
sed 's/^X//' >cplay/files/patch-aa << 'END-of-cplay/files/patch-aa'
X--- Makefile.orig	Fri Nov  2 11:07:31 2001
X+++ Makefile	Fri Nov  2 11:10:33 2001
X@@ -14,5 +14,5 @@
X recursive-all recursive-install recursive-clean:
X 	@target=$@; \
X 	for i in $(SUBDIRS); do \
X-		(cd $$i && make $(ENV) $${target#recursive-}); \
X+		(cd $$i && $(MAKE) $(ENV) $${target#recursive-}); \
X 	done
END-of-cplay/files/patch-aa
echo x - cplay/pkg-comment
sed 's/^X//' >cplay/pkg-comment << 'END-of-cplay/pkg-comment'
XA curses based front-end for various audio players
END-of-cplay/pkg-comment
echo x - cplay/Makefile
sed 's/^X//' >cplay/Makefile << 'END-of-cplay/Makefile'
X# New ports collection makefile for:	cplay
X# Date created: 	1 November 2001
X# Whom: 		Jochem Kossen
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cplay
XPORTVERSION=	1.43
XCATEGORIES=	audio
XMASTER_SITES=	http://www.tf.hut.fi/~flu/cplay/
X
XMAINTAINER=	j.kossen@home.nl
X
XRUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123
X
XUSE_GMAKE=	yes
XUSE_PYTHON=	yes
XMAN1=		cplay.1
X
X.if defined(WITH_VORBIS)
XRUN_DEPENDS+=	ogg123:${PORTSDIR}/audio/vorbis-tools
X.endif
X
X.if defined(WITH_SOX)
XRUN_DEPENDS+=	play:${PORTSDIR}/audio/sox
X.endif
X
X.if defined(WITH_SPLAY)
XRUN_DEPENDS+=	splay:${PORTSDIR}/audio/splay
X.endif
X
Xpre-everything:
X.if !defined(WITH_VORBIS) || !defined(WITH_SOX) || !defined(WITH_SPLAY)
X	@${ECHO_MSG}
X.if !defined(WITH_VORBIS)
X	@${ECHO_MSG} "If you want to compile with OGG VORBIS support,"
X	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_VORBIS=yes\""
X	@${ECHO_MSG}
X.endif
X.if !defined(WITH_SOX)
X	@${ECHO_MSG} "If you want to compile with SOX support,"
X	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SOX=yes\""
X	@${ECHO_MSG}
X.endif
X.if !defined(WITH_SPLAY)
X	@${ECHO_MSG} "If you want to compile with SPLAY support,"
X	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SPLAY=yes\""
X	@${ECHO_MSG}
X.endif
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/cplay
X	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/cplay
X	${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/cplay
X	${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/cplay
X.endif
X
X.include <bsd.port.mk>
END-of-cplay/Makefile
echo x - cplay/distinfo
sed 's/^X//' >cplay/distinfo << 'END-of-cplay/distinfo'
XMD5 (cplay-1.43.tar.gz) = 0881f6131acbc93456703179440b221d
END-of-cplay/distinfo
echo x - cplay/pkg-plist
sed 's/^X//' >cplay/pkg-plist << 'END-of-cplay/pkg-plist'
Xbin/cplay
Xshare/locale/de/LC_MESSAGES/cplay.mo
X%%PORTDOCS%%share/doc/cplay/README
X%%PORTDOCS%%share/doc/cplay/ChangeLog
X%%PORTDOCS%%share/doc/cplay/TODO
X%%PORTDOCS%%@dirrm share/doc/cplay
X
END-of-cplay/pkg-plist
echo x - cplay/pkg-descr
sed 's/^X//' >cplay/pkg-descr << 'END-of-cplay/pkg-descr'
Xcplay is a curses based front-end to various audioplayers.
X
XSupported players currently include:
X	- mpg123
X	- ogg123
X	- sox
X	- splay
X
XWWW: http://www.tf.hut.fi/~flu/cplay/
END-of-cplay/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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