summaryrefslogtreecommitdiff
path: root/audio/nas-auscope
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-03-24 13:47:48 +0000
committermarkd <markd@pkgsrc.org>2007-03-24 13:47:48 +0000
commitf680cde353da369a4cb475363891f3b5911d9132 (patch)
treeea438c19b6989bd4111b80ee2714367e6c2ab02f /audio/nas-auscope
parent6744c06d7b66b877731cd10ec7af4f4bb857076f (diff)
downloadpkgsrc-f680cde353da369a4cb475363891f3b5911d9132.tar.gz
Reimport the nas auscope script as a separate package.
Diffstat (limited to 'audio/nas-auscope')
-rw-r--r--audio/nas-auscope/DESCR1
-rw-r--r--audio/nas-auscope/Makefile28
-rw-r--r--audio/nas-auscope/PLIST3
-rw-r--r--audio/nas-auscope/distinfo6
-rw-r--r--audio/nas-auscope/patches/patch-aa13
5 files changed, 51 insertions, 0 deletions
diff --git a/audio/nas-auscope/DESCR b/audio/nas-auscope/DESCR
new file mode 100644
index 00000000000..170dc436404
--- /dev/null
+++ b/audio/nas-auscope/DESCR
@@ -0,0 +1 @@
+auscope script from the Network Audio System.
diff --git a/audio/nas-auscope/Makefile b/audio/nas-auscope/Makefile
new file mode 100644
index 00000000000..3e2a348fc03
--- /dev/null
+++ b/audio/nas-auscope/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/24 13:47:48 markd Exp $
+
+DISTNAME= nas-1.8.src
+PKGNAME= nas-auscope-1.8
+CATEGORIES= audio
+MASTER_SITES= http://nas.codebrilliance.com/nas/ \
+ ftp://ftp.uni-duisburg.de/Sound/NAS/
+
+MAINTAINER= markd@NetBSD.org
+HOMEPAGE= http://radscan.com/nas.html
+COMMENT= Network Audio System's auscope script
+
+DEPENDS+= p5-perl-headers-${OS_VERSION}{,nb*}:../../devel/p5-perl-headers
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}/clients/audio/auscope
+USE_TOOLS+= perl:run
+REPLACE_PERL= auscope
+
+NO_BUILD= yes
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/auscope ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/auscope.man ${PREFIX}/${PKGMANDIR}/man1/auscope.1
+
+.include "../../audio/nas/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/nas-auscope/PLIST b/audio/nas-auscope/PLIST
new file mode 100644
index 00000000000..e0c5202d59c
--- /dev/null
+++ b/audio/nas-auscope/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/24 13:47:48 markd Exp $
+bin/auscope
+man/man1/auscope.1
diff --git a/audio/nas-auscope/distinfo b/audio/nas-auscope/distinfo
new file mode 100644
index 00000000000..4c22ab6ffdb
--- /dev/null
+++ b/audio/nas-auscope/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/24 13:47:48 markd Exp $
+
+SHA1 (nas-1.8.src.tar.gz) = 6752861196f0b11db93572d935dc87bc6c0da348
+RMD160 (nas-1.8.src.tar.gz) = c7c99d7c3f66d8255bd5708325bd5c71c73b0a47
+Size (nas-1.8.src.tar.gz) = 1290578 bytes
+SHA1 (patch-aa) = 1b504906166df26b57d39c8c7e0099ddad7308b2
diff --git a/audio/nas-auscope/patches/patch-aa b/audio/nas-auscope/patches/patch-aa
new file mode 100644
index 00000000000..38ed68674b1
--- /dev/null
+++ b/audio/nas-auscope/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/03/24 13:47:48 markd Exp $
+
+--- auscope.orig 2003-07-13 20:03:00.000000000 +0930
++++ auscope 2003-07-13 20:03:10.000000000 +0930
+@@ -31,7 +31,7 @@
+ require "getopts.pl";
+ require "sys/socket.ph";
+
+-$disableTimestamp = !defined($t = eval 'require "syscall.ph"');
++$disableTimestamp = !defined($t = eval 'require "sys/syscall.ph"');
+ print "Warning: time stamping disabled due to $@" if $disableTimestamp;
+
+ @errorStrings = ('Success', 'BadRequest', 'BadValue', 'BadDevice', 'BadBucket',