summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-01-19 01:03:31 +0000
committerhubertf <hubertf@pkgsrc.org>1998-01-19 01:03:31 +0000
commit84b966243e0ace320fa59665eff80df7a6d00655 (patch)
tree1a59a61a5f5a50d2afd34aa35efd8b594701935a /audio
parent0f2a06ddcabe5a7f81c684166d97ec3e9ecd777c (diff)
downloadpkgsrc-84b966243e0ace320fa59665eff80df7a6d00655.tar.gz
portlint: install info pages propperly, RCS ID, no more USE_GMAKE, ...
Diffstat (limited to 'audio')
-rw-r--r--audio/rplay/Makefile27
-rw-r--r--audio/rplay/patches/patch-ac11
-rw-r--r--audio/rplay/patches/patch-ad13
-rw-r--r--audio/rplay/patches/patch-af13
-rw-r--r--audio/rplay/patches/patch-ag13
-rw-r--r--audio/rplay/patches/patch-ah13
-rw-r--r--audio/rplay/pkg/DESCR1
-rw-r--r--audio/rplay/pkg/PLIST10
8 files changed, 93 insertions, 8 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile
index ad2429e32d7..0183749b8c3 100644
--- a/audio/rplay/Makefile
+++ b/audio/rplay/Makefile
@@ -3,7 +3,8 @@
# Date created: 16 March 1995
# Whom: rmallory@csusb.edu
#
-# $Id: Makefile,v 1.1.1.1 1997/10/28 23:18:55 augustss Exp $
+# $NetBSD: Makefile,v 1.2 1998/01/19 01:03:31 hubertf Exp $
+# FreeBSD Id: Makefile,v 1.8 1997/06/13 16:17:01 ache Exp
#
DISTNAME= rplay-3.2.0b6
@@ -15,19 +16,33 @@ MAINTAINER= rmallory@csusb.edu
LIB_DEPENDS= gsm\\.1\\.0:${PORTSDIR}/audio/gsm
HAS_CONFIGURE= yes
-USE_GMAKE= yes
+CONFIGURE_ENV+= RPLAY_TARGET=generic # XXX
+#USE_GMAKE= yes
MAN1= rplay.1 xrplay.1 rplayd.1 rptp.1
MAN5= rplay.conf.5 rplay.hosts.5 rplay.servers.5
+pre-configure:
+ for f in `find ${WRKDIR} -type f -print|xargs $[GREP} -l '/usr/local'`; do \
+ ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
+ done
+ chmod +x ${WRKSRC}/configure
+
+post-build:
+ cd ${WRKSRC}/doc ; make info
+
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; \
+ ${ECHO} "Installing ${PREFIX}/etc/rc.d/rplayd.sh startup file."; \
+ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/rplayd.sh; \
+ ${ECHO} "[ -x ${PREFIX}/sbin/rplayd ] && ( ${PREFIX}/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; \
+ ${ECHO} localhost > ${PREFIX}/etc/rplay.hosts; \
fi
+ install-info ${PREFIX}/info/RPTP.info ${PREFIX}/info/dir
+ install-info ${PREFIX}/info/RPLAY.info ${PREFIX}/info/dir
+ install-info ${PREFIX}/info/rplay.info ${PREFIX}/info/dir
+ install-info ${PREFIX}/info/librplay.info ${PREFIX}/info/dir
.include <bsd.port.mk>
diff --git a/audio/rplay/patches/patch-ac b/audio/rplay/patches/patch-ac
new file mode 100644
index 00000000000..cd899e7ad77
--- /dev/null
+++ b/audio/rplay/patches/patch-ac
@@ -0,0 +1,11 @@
+--- lib/regex.h.orig Sun Jan 18 20:42:26 1998
++++ lib/regex.h Sun Jan 18 20:42:56 1998
+@@ -473,7 +473,7 @@
+ unsigned num_regs, regoff_t *starts, regoff_t *ends));
+
+ /* 4.2 bsd compatibility. */
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+ extern char *re_comp _RE_ARGS ((_CONST_ char *));
+ extern int re_exec _RE_ARGS ((_CONST_ char *));
+ #endif
diff --git a/audio/rplay/patches/patch-ad b/audio/rplay/patches/patch-ad
new file mode 100644
index 00000000000..52103fb47a8
--- /dev/null
+++ b/audio/rplay/patches/patch-ad
@@ -0,0 +1,13 @@
+--- doc/RPLAY.texi.orig Sun Jan 18 20:59:52 1998
++++ doc/RPLAY.texi Sun Jan 18 21:04:54 1998
+@@ -2,6 +2,10 @@
+ @c %**start of header
+ @setfilename RPLAY.info
+ @settitle The RPLAY Protocol
++@dircategory Network Audio Systems
++@direntry
++* RPLAY-Protocol: (RPLAY). The RPLAY Protocol
++@end direntry
+ @iftex
+ @finalout
+ @end iftex
diff --git a/audio/rplay/patches/patch-af b/audio/rplay/patches/patch-af
new file mode 100644
index 00000000000..06dcdee0f9e
--- /dev/null
+++ b/audio/rplay/patches/patch-af
@@ -0,0 +1,13 @@
+--- doc/RPTP.texi.orig Sun Jan 18 20:59:52 1998
++++ doc/RPTP.texi Sun Jan 18 21:04:57 1998
+@@ -3,6 +3,10 @@
+ @setfilename RPTP.info
+ @settitle The RPTP Protocol
+ @defindex ev
++@dircategory Network Audio Systems
++@direntry
++* RPTP: (RPTP). The RPTP Protocol
++@end direntry
+ @iftex
+ @finalout
+ @end iftex
diff --git a/audio/rplay/patches/patch-ag b/audio/rplay/patches/patch-ag
new file mode 100644
index 00000000000..b9241cb6143
--- /dev/null
+++ b/audio/rplay/patches/patch-ag
@@ -0,0 +1,13 @@
+--- doc/librplay.texi.orig Sun Jan 18 20:59:52 1998
++++ doc/librplay.texi Sun Jan 18 21:04:59 1998
+@@ -2,6 +2,10 @@
+ @c %**start of header
+ @setfilename librplay.info
+ @settitle The RPlay Programmer's Manual
++@dircategory Network Audio Systems
++@direntry
++* librplay: (librplay). The RPlay Programmer's Manual
++@end direntry
+ @iftex
+ @finalout
+ @end iftex
diff --git a/audio/rplay/patches/patch-ah b/audio/rplay/patches/patch-ah
new file mode 100644
index 00000000000..98b7e95e611
--- /dev/null
+++ b/audio/rplay/patches/patch-ah
@@ -0,0 +1,13 @@
+--- doc/rplay.texi.orig Sun Jan 18 20:59:52 1998
++++ doc/rplay.texi Sun Jan 18 21:05:01 1998
+@@ -2,6 +2,10 @@
+ @c %**start of header
+ @setfilename rplay.info
+ @settitle RPlay
++@dircategory Network Audio Systems
++@direntry
++* rplay: (rplay). RPlay
++@end direntry
+ @iftex
+ @finalout
+ @end iftex
diff --git a/audio/rplay/pkg/DESCR b/audio/rplay/pkg/DESCR
index 823d04938a9..87f5738b538 100644
--- a/audio/rplay/pkg/DESCR
+++ b/audio/rplay/pkg/DESCR
@@ -30,4 +30,3 @@ Version 3.2.0beta
(See `rplayd --help' for more details)
* HTML documentation.
-
diff --git a/audio/rplay/pkg/PLIST b/audio/rplay/pkg/PLIST
index bb608eee249..b8bb120451b 100644
--- a/audio/rplay/pkg/PLIST
+++ b/audio/rplay/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 1997/11/06 09:58:10 agc Exp $
+@comment $NetBSD: PLIST,v 1.3 1998/01/19 01:03:35 hubertf Exp $
etc/rc.d/rplayd.sh
etc/rplay.hosts
bin/rplay
@@ -8,10 +8,18 @@ bin/rptp
sbin/rplayd
include/rplay.h
lib/librplay.a
+@unexec install-info --delete %D/info/librplay.info %D/info/dir
+@unexec install-info --delete %D/info/rplay.info %D/info/dir
+@unexec install-info --delete %D/info/RPLAY.info %D/info/dir
+@unexec install-info --delete %D/info/RPTP.info %D/info/dir
info/librplay.info
info/rplay.info
info/RPLAY.info
info/RPTP.info
+@exec install-info %D/info/RPTP.info %D/info/dir
+@exec install-info %D/info/RPLAY.info %D/info/dir
+@exec install-info %D/info/rplay.info %D/info/dir
+@exec install-info %D/info/librplay.info %D/info/dir
man/man1/rplay.1.gz
man/man1/rplayd.1.gz
man/man1/xrplay.1.gz