waveplay port (from FreeBSD) - submitted by gus@monkey.org

This commit is contained in:
dugsong 1999-08-30 20:42:16 +00:00
parent f8500e26d0
commit 9aba06e324
7 changed files with 77 additions and 0 deletions

27
audio/waveplay/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: waveplay
# Version required: 1.0
# Date created: 23 Jan 1999
# Whom: ysonoda@dontaku.csce.kyushu-u.ac.jp
#
# $FreeBSD: ports/audio/waveplay/Makefile,v 1.2 1999/08/25 04:36:16 obrien Exp $
#
DISTNAME= waveplay-19990123
PKGNAME= waveplay-1.0
CATEGORIES= audio
MASTER_SITES= http://dontaku.csce.kyushu-u.ac.jp/~ysonoda/archives/program/FreeBSD/
MAINTAINER= ysonoda@dontaku.csce.kyushu-u.ac.jp
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/waveplay ${PREFIX}/bin/waveplay
post-install:
strip ${PREFIX}/bin/waveplay
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/waveplay
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/waveplay/
${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/waveplay/
.endif
.include <bsd.port.mk>

1
audio/waveplay/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (waveplay-19990123.tar.gz) = 12b76087af671b65aeb07679fd719b1e

View File

@ -0,0 +1,20 @@
*** Makefile.orig Mon Aug 30 12:51:51 1999
--- Makefile Mon Aug 30 12:52:10 1999
***************
*** 1,7 ****
#CC = gcc28
CC = cc #egcc
#CFLAGS = -g -O -Wall -DDEBUG
! CFLAGS = -O -Wall
SRC = waveplay.c
OBJS = waveplay.o
HDR = wavefmt.h
--- 1,8 ----
#CC = gcc28
CC = cc #egcc
#CFLAGS = -g -O -Wall -DDEBUG
! CFLAGS = -O -Wall
! LDFLAGS = -lossaudio
SRC = waveplay.c
OBJS = waveplay.o
HDR = wavefmt.h

View File

@ -0,0 +1,21 @@
*** waveplay.c.orig Wed Sep 9 01:24:05 1998
--- waveplay.c Mon Aug 30 12:58:21 1999
***************
*** 11,17 ****
#include <sys/types.h>
#include <sys/ioctl.h>
! #if defined (__FreeBSD__)
#include <machine/soundcard.h>
#elif defined (linux)
#include <linux/soundcard.h>
--- 11,19 ----
#include <sys/types.h>
#include <sys/ioctl.h>
! #if defined(__OpenBSD__)
! #include <soundcard.h>
! #elif defined (__FreeBSD__)
#include <machine/soundcard.h>
#elif defined (linux)
#include <linux/soundcard.h>

View File

@ -0,0 +1 @@
A simple wav file player

3
audio/waveplay/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
waveplay is a simple audio player.
supported formats: RIFF WAV, Raw

4
audio/waveplay/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
bin/waveplay
share/doc/waveplay/README
share/doc/waveplay/README.jp
@dirrm share/doc/waveplay