summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-06-13 16:17:05 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-06-13 16:17:05 +0000
commitb7e65fee3afaa60d4941cc17d767f1cf93aaf382 (patch)
treea2f71287778b2cac5fae382fb07e0d21b7b7f044 /audio
parentForce the compilation of the SVGA server in all cases: other servers share (diff)
Upgrade to b6
Install rplayd automatically Use gsm library from ports Fix PLIST
Notes
Notes: svn path=/head/; revision=6908
Diffstat (limited to 'audio')
-rw-r--r--audio/rplay/Makefile20
-rw-r--r--audio/rplay/distinfo2
-rw-r--r--audio/rplay/files/patch-ab39
-rw-r--r--audio/rplay/pkg-plist16
4 files changed, 68 insertions, 9 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile
index 9a6d694ae29d..94692413e133 100644
--- a/audio/rplay/Makefile
+++ b/audio/rplay/Makefile
@@ -1,19 +1,33 @@
# New ports collection makefile for: rplay - Network audio player
-# Version required: 3.2.0b3
+# Version required: 3.2.0b6
# Date created: 16 March 1995
# Whom: rmallory@csusb.edu
#
-# $Id: Makefile,v 1.6 1996/11/15 23:14:10 obrien Exp $
+# $Id: Makefile,v 1.7 1996/11/18 13:56:44 asami Exp $
#
-DISTNAME= rplay-3.2.0b5
+DISTNAME= rplay-3.2.0b6
CATEGORIES= audio
MASTER_SITES= ftp://ftp.sdsu.edu/pub/rplay/
MAINTAINER= rmallory@csusb.edu
+LIB_DEPENDS= gsm\\.1\\.0:${PORTSDIR}/audio/gsm
+
HAS_CONFIGURE= yes
USE_GMAKE= yes
+MAN1= rplay.1 xrplay.1 rplayd.1 rptp.1
MAN5= rplay.conf.5 rplay.hosts.5 rplay.servers.5
+post-install:
+ @if [ ! -f ${PREFIX}/etc/rc.d/rplayd.sh ]; then \
+ echo "Installing ${PREFIX}/etc/rc.d/rplayd.sh startup file."; \
+ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/rplayd.sh; \
+ echo "[ -x /usr/local/sbin/rplayd ] && ( /usr/local/sbin/rplayd & ) && echo -n ' rplayd'" >> ${PREFIX}/etc/rc.d/rplayd.sh; \
+ chmod 751 ${PREFIX}/etc/rc.d/rplayd.sh; \
+ fi
+ @if [ ! -f ${PREFIX}/etc/rplay.hosts ]; then \
+ echo localhost > ${PREFIX}/etc/rplay.hosts; \
+ fi
+
.include <bsd.port.mk>
diff --git a/audio/rplay/distinfo b/audio/rplay/distinfo
index 86b58f94bd51..ffa04ed9101c 100644
--- a/audio/rplay/distinfo
+++ b/audio/rplay/distinfo
@@ -1 +1 @@
-MD5 (rplay-3.2.0b5.tar.gz) = 4eee3794119d0a52dd3f2a742c40cf27
+MD5 (rplay-3.2.0b6.tar.gz) = d8346e6f132193d076341de0d9fa35ca
diff --git a/audio/rplay/files/patch-ab b/audio/rplay/files/patch-ab
new file mode 100644
index 000000000000..8770cd19979f
--- /dev/null
+++ b/audio/rplay/files/patch-ab
@@ -0,0 +1,39 @@
+*** rplayd/Makefile.in.orig Fri Feb 2 03:13:57 1996
+--- rplayd/Makefile.in Fri Jun 13 19:31:38 1997
+***************
+*** 1,4 ****
+--- 1,5 ----
+ include @RPLAY_TOP@/Makefile.config
++ bindir= $(exec_prefix)/sbin
+
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+***************
+*** 9,21 ****
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
+ CPPFLAGS= $(CC_OPTIONS) -I. -I../include -I@srcdir@ -I@srcdir@/../include -I@srcdir@/../lib \
+! -I@srcdir@/../adpcm -I@srcdir@/../gsm @DEFS@
+
+ .c.o:
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+
+ LDFLAGS= $(LD_OPTIONS) -L../librplay -lrplay -L../lib -lrp \
+! -L../adpcm -ladpcm -L../gsm -lgsm @LDFLAGS@ @LIBS@ -lm
+
+ TARGET= rplayd
+
+--- 10,22 ----
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
+ CPPFLAGS= $(CC_OPTIONS) -I. -I../include -I@srcdir@ -I@srcdir@/../include -I@srcdir@/../lib \
+! -I@srcdir@/../adpcm -I/usr/local/include @DEFS@
+
+ .c.o:
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+
+ LDFLAGS= $(LD_OPTIONS) -L../librplay -lrplay -L../lib -lrp \
+! -L../adpcm -ladpcm -L/usr/local/lib -lgsm @LDFLAGS@ @LIBS@ -lm
+
+ TARGET= rplayd
+
diff --git a/audio/rplay/pkg-plist b/audio/rplay/pkg-plist
index b145a703aad4..fc8d4d0fbd32 100644
--- a/audio/rplay/pkg-plist
+++ b/audio/rplay/pkg-plist
@@ -1,14 +1,20 @@
+etc/rc.d/rplayd.sh
+etc/rplay.hosts
bin/rplay
bin/rptp
@comment requires XForms
@comment bin/xrplay
-bin/rplayd
+sbin/rplayd
include/rplay.h
lib/librplay.a
-@comment where did these go?
-@comment man/man1/rplay.1
-@comment man/man1/rplayd.1
-@comment man/man1/rptp.1
+info/librplay.info
+info/rplay.info
+info/RPLAY.info
+info/RPTP.info
+man/man1/rplay.1.gz
+man/man1/rplayd.1.gz
+man/man1/xrplay.1.gz
+man/man1/rptp.1.gz
man/man5/rplay.conf.5.gz
man/man5/rplay.hosts.5.gz
man/man5/rplay.servers.5.gz