summaryrefslogtreecommitdiff
path: root/audio/play
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-07-25 21:36:10 +0000
committerSteve Price <steve@FreeBSD.org>1998-07-25 21:36:10 +0000
commit3ff28ed47782a2759d0a36416ce14be43b76cbbc (patch)
treee4a236843ec2e7b35d85d9096fced89aebb43b0c /audio/play
parentMoving play to ports/audio. (diff)
A simple audio file player. Moved from ports/japanese.
Notes
Notes: svn path=/head/; revision=12124
Diffstat (limited to 'audio/play')
-rw-r--r--audio/play/Makefile18
-rw-r--r--audio/play/distinfo1
-rw-r--r--audio/play/files/patch-aa12
-rw-r--r--audio/play/files/patch-ab15
-rw-r--r--audio/play/files/patch-ac13
-rw-r--r--audio/play/pkg-comment1
-rw-r--r--audio/play/pkg-descr2
-rw-r--r--audio/play/pkg-plist2
8 files changed, 64 insertions, 0 deletions
diff --git a/audio/play/Makefile b/audio/play/Makefile
new file mode 100644
index 000000000000..d15c6c11ac4a
--- /dev/null
+++ b/audio/play/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: play
+# Version required: 1.0
+# Date created: 20 May 1998
+# Whom: Masanori Kiriake <seiken@nbs.co.jp>
+#
+# $Id: Makefile,v 1.1.1.1 1998/07/20 04:03:16 steve Exp $
+#
+
+DISTNAME= play-1.0
+CATEGORIES= audio
+MASTER_SITES= ftp://jaz.jp.FreeBSD.org/pub/incoming/PUT-here/
+
+MAINTAINER= seiken@nbs.co.jp
+
+MANLANG= ja
+MAN1= play.1
+MANCOMPRESSED = YES
+.include <bsd.port.mk>
diff --git a/audio/play/distinfo b/audio/play/distinfo
new file mode 100644
index 000000000000..9f04e07e5d71
--- /dev/null
+++ b/audio/play/distinfo
@@ -0,0 +1 @@
+MD5 (play-1.0.tar.gz) = c9a14a7647d58d1cbdbecc281df7a051
diff --git a/audio/play/files/patch-aa b/audio/play/files/patch-aa
new file mode 100644
index 000000000000..6f11414e8534
--- /dev/null
+++ b/audio/play/files/patch-aa
@@ -0,0 +1,12 @@
+*** play.c.orig Wed May 20 11:42:42 1998
+--- play.c Wed May 20 13:21:15 1998
+***************
+*** 4,9 ****
+--- 4,10 ----
+
+ #include <stdio.h>
+ #include <stdlib.h>
++ #include <unistd.h>
+ #include <fcntl.h>
+ #include <err.h>
+ #include <signal.h>
diff --git a/audio/play/files/patch-ab b/audio/play/files/patch-ab
new file mode 100644
index 000000000000..0b3574323d0e
--- /dev/null
+++ b/audio/play/files/patch-ab
@@ -0,0 +1,15 @@
+*** Makefile.orig Wed Mar 26 00:29:45 1997
+--- Makefile Wed May 20 13:27:36 1998
+***************
+*** 10,14 ****
+ CFLAGS = -O
+ DESTDIR = /usr/local
+ BINDIR = /bin
+! MANDIR = /man/ja_JP.EUC/man
+
+--- 10,14 ----
+ CFLAGS = -O
+ DESTDIR = /usr/local
+ BINDIR = /bin
+! MANDIR = /man/ja/man
+
diff --git a/audio/play/files/patch-ac b/audio/play/files/patch-ac
new file mode 100644
index 000000000000..b2fbef870046
--- /dev/null
+++ b/audio/play/files/patch-ac
@@ -0,0 +1,13 @@
+*** encode_riff.c.orig Wed Mar 26 00:25:07 1997
+--- encode_riff.c Wed May 20 22:45:03 1998
+***************
+*** 163,168 ****
+--- 163,170 ----
+ warn("read");
+ stat = FAIL; goto failplay2;
+ }
++ /* printf("len = %10d, len = %10d\n", stat, len); */
++ stat = (len < stat)? len : stat;
+ if (write(devfd, bufp, stat) < 0) {
+ warn("write");
+ stat = FAIL; goto failplay2;
diff --git a/audio/play/pkg-comment b/audio/play/pkg-comment
new file mode 100644
index 000000000000..9441d7306e92
--- /dev/null
+++ b/audio/play/pkg-comment
@@ -0,0 +1 @@
+a simple audio file player
diff --git a/audio/play/pkg-descr b/audio/play/pkg-descr
new file mode 100644
index 000000000000..78bb4437982d
--- /dev/null
+++ b/audio/play/pkg-descr
@@ -0,0 +1,2 @@
+play is a command-line based audio player.
+support format: RIFF and U-Law
diff --git a/audio/play/pkg-plist b/audio/play/pkg-plist
new file mode 100644
index 000000000000..de13e1f45c3f
--- /dev/null
+++ b/audio/play/pkg-plist
@@ -0,0 +1,2 @@
+bin/play
+man/ja/man1/play.1.gz