aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-25 10:54:18 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-25 10:54:18 +0000
commitd4e087ffcc2965eae490737e8dae97fe90ace3a2 (patch)
tree07b80b40f44bd71f4343f0f096b2c68a3b3dfedd /audio
parentb6d473b7f1beea59f4feba42a563cb3087d789b7 (diff)
downloadports-d4e087ffcc2965eae490737e8dae97fe90ace3a2.tar.gz
ports-d4e087ffcc2965eae490737e8dae97fe90ace3a2.zip
Add cplay-1.45
cplay is a curses based front-end to various audioplayers. Supported players currently include: - mpg123 - ogg123 - madplay - mikmod - mpg321 - splay Submitted by: Jochem Kossen <j.kossen@home.nl> PR: ports/31773
Notes
Notes: svn path=/head/; revision=59971
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/cplay/Makefile81
-rw-r--r--audio/cplay/distinfo1
-rw-r--r--audio/cplay/files/patch-aa9
-rw-r--r--audio/cplay/pkg-comment1
-rw-r--r--audio/cplay/pkg-descr11
-rw-r--r--audio/cplay/pkg-plist6
-rw-r--r--audio/cplay/pkg-plist.orig9
8 files changed, 119 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 656d82bc1078..0dbbc1858cc7 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -29,6 +29,7 @@
SUBDIR += cheesetracker
SUBDIR += chordpack
SUBDIR += cmp3
+ SUBDIR += cplay
SUBDIR += csound
SUBDIR += csound-manual
SUBDIR += cymbaline
diff --git a/audio/cplay/Makefile b/audio/cplay/Makefile
new file mode 100644
index 000000000000..e1f26df4ae18
--- /dev/null
+++ b/audio/cplay/Makefile
@@ -0,0 +1,81 @@
+# New ports collection makefile for: cplay
+# Date created: 1 November 2001
+# Whom: Jochem Kossen
+#
+# $FreeBSD$
+#
+
+PORTNAME= cplay
+PORTVERSION= 1.45
+CATEGORIES= audio
+MASTER_SITES= http://www.tf.hut.fi/~flu/cplay/
+
+MAINTAINER= j.kossen@home.nl
+
+RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
+
+USE_GMAKE= yes
+USE_PYTHON= yes
+MAN1= cplay.1
+
+MAKE_ARGS+= PREFIX="${PREFIX}"
+
+.if defined(WITH_VORBIS)
+RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
+.endif
+
+.if defined(WITH_MADPLAY)
+RUN_DEPENDS+= madplay:${PORTSDIR}/audio/mad
+.endif
+
+.if defined(WITH_MIKMOD)
+RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod
+.endif
+
+.if defined(WITH_MPG321)
+RUN_DEPENDS+= mpg321:$(PORTSDIR)/audio/mpg321
+.endif
+
+.if defined(WITH_SPLAY)
+RUN_DEPENDS+= splay:${PORTSDIR}/audio/splay
+.endif
+
+pre-everything:
+.if !defined(WITH_VORBIS) || !defined(WITH_MADPLAY) || !defined(WITH_MIKMOD) || defined(WITH_MPG321) || !defined(WITH_SPLAY)
+ @${ECHO_MSG}
+.if !defined(WITH_VORBIS)
+ @${ECHO_MSG} "If you want to have OGG VORBIS support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_VORBIS=yes\""
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_MADPLAY)
+ @${ECHO_MSG} "If you want to have MADPLAY support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MADPLAY=yes\""
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_MIKMOD)
+ @${ECHO_MSG} "If you want to have MIKMOD support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MIKMOD=yes\""
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_MPG321)
+ @${ECHO_MSG} "If you want to have MPG321 support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MPG321=yes\""
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_SPLAY)
+ @${ECHO_MSG} "If you want to have SPLAY support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SPLAY=yes\""
+ @${ECHO_MSG}
+.endif
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/cplay
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/cplay
+ ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/cplay
+ ${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/cplay
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/cplay/distinfo b/audio/cplay/distinfo
new file mode 100644
index 000000000000..e735f9eee236
--- /dev/null
+++ b/audio/cplay/distinfo
@@ -0,0 +1 @@
+MD5 (cplay-1.45.tar.gz) = 79d2157739dc38e91312a037b9885dc8
diff --git a/audio/cplay/files/patch-aa b/audio/cplay/files/patch-aa
new file mode 100644
index 000000000000..b426888c9b65
--- /dev/null
+++ b/audio/cplay/files/patch-aa
@@ -0,0 +1,9 @@
+--- Makefile.orig Fri Nov 2 11:07:31 2001
++++ Makefile Fri Nov 2 11:10:33 2001
+@@ -14,5 +14,5 @@
+ recursive-all recursive-install recursive-clean:
+ @target=$@; \
+ for i in $(SUBDIRS); do \
+- (cd $$i && make $(ENV) $${target#recursive-}); \
++ (cd $$i && $(MAKE) $(ENV) $${target#recursive-}); \
+ done
diff --git a/audio/cplay/pkg-comment b/audio/cplay/pkg-comment
new file mode 100644
index 000000000000..287ac6e8b19a
--- /dev/null
+++ b/audio/cplay/pkg-comment
@@ -0,0 +1 @@
+A curses based front-end for various audio players
diff --git a/audio/cplay/pkg-descr b/audio/cplay/pkg-descr
new file mode 100644
index 000000000000..26fe3811e5f9
--- /dev/null
+++ b/audio/cplay/pkg-descr
@@ -0,0 +1,11 @@
+cplay is a curses based front-end to various audioplayers.
+
+Supported players currently include:
+ - mpg123
+ - ogg123
+ - madplay
+ - mikmod
+ - mpg321
+ - splay
+
+WWW: http://www.tf.hut.fi/~flu/cplay/
diff --git a/audio/cplay/pkg-plist b/audio/cplay/pkg-plist
new file mode 100644
index 000000000000..0c59ffbbac2b
--- /dev/null
+++ b/audio/cplay/pkg-plist
@@ -0,0 +1,6 @@
+bin/cplay
+%%PORTDOCS%%share/doc/cplay/README
+%%PORTDOCS%%share/doc/cplay/ChangeLog
+%%PORTDOCS%%share/doc/cplay/TODO
+share/locale/de/LC_MESSAGES/cplay.mo
+%%PORTDOCS%%@dirrm share/doc/cplay
diff --git a/audio/cplay/pkg-plist.orig b/audio/cplay/pkg-plist.orig
new file mode 100644
index 000000000000..2943ccc6afaf
--- /dev/null
+++ b/audio/cplay/pkg-plist.orig
@@ -0,0 +1,9 @@
+bin/cplay
+%%PORTDOCS%%share/doc/cplay/README
+%%PORTDOCS%%share/doc/cplay/ChangeLog
+%%PORTDOCS%%share/doc/cplay/TODO
+share/locale/de/LC_MESSAGES/cplay.mo
+%%PORTDOCS%%share@dirrm share/doc/cplay
+@dirrm share/locale/de/LC_MESSAGES
+@dirrm share/locale/de
+@dirrm share/locale