summaryrefslogtreecommitdiff
path: root/audio/nas/Makefile
diff options
context:
space:
mode:
authormarkd <markd>2005-06-04 23:43:51 +0000
committermarkd <markd>2005-06-04 23:43:51 +0000
commit9327ddea8e52bf618f787c319fff70ca15fa648f (patch)
treed6710970bab3b6293fcb0c150dc225e3d31b83fe /audio/nas/Makefile
parent5ddc6ca5c9fdfe6ff09d666899a9d026564312af (diff)
downloadpkgsrc-9327ddea8e52bf618f787c319fff70ca15fa648f.tar.gz
Update to version 1.7b
6/3/2005 1.7b (devel) - applied patch from 'Inma', correcting a connection hang in Solaris 9. This reworks some of the very old and primitive fd_set stuff in Aulibint.c . - updated config/config.sub and config.guess to properly detect DragonFly systems. - Applied patch from Mark Davies and Joerg Sonnenberger correcting some BSD issues and adding DragonFly support. Then nasd.conf man page is always installed in $FILEMANDIR for all systems. 4/10/2005 1.7a (devel) - applied patch from Mark Davies correcting audio/Imakefile to properly define BSD44SOCKETS on NetBSD systems. - Applied patch from Steve McIntyre correcting CYWIN -> CYGWIN typo in server/dda/voxware/auvoxware.c - applied patch from Steve McIntyre Correcting some Gcc 4.0 and AMD64 issues.
Diffstat (limited to 'audio/nas/Makefile')
-rw-r--r--audio/nas/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index 9f209ff5e43..718eac0d53c 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2005/05/22 20:07:39 jlam Exp $
+# $NetBSD: Makefile,v 1.55 2005/06/04 23:43:51 markd Exp $
-DISTNAME= nas-1.7.src
+DISTNAME= nas-1.7b.src
PKGNAME= ${DISTNAME:S/.src//}
-PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://nas.codebrilliance.com/nas/ \
ftp://ftp.uni-duisburg.de/Sound/NAS/
@@ -24,12 +23,6 @@ PKG_SYSCONFSUBDIR= nas
REPLACE_PERL= clients/audio/auscope/auscope
-post-patch:
- @for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \
- ${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \
- && ${MV} $$f.patch $$f; \
- done
-
pre-configure:
@cd ${WRKSRC}; for file in \
config/NetAudio.def; \
@@ -56,6 +49,11 @@ pre-configure:
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+post-install:
+ ${LN} -s ${PREFIX}/lib/libaudio.so.2.3 ${PREFIX}/lib/libaudio.so.2
+.endif
+
PLIST_SRC= ${PKGDIR}/PLIST.clients
.if ${OPSYS} != "Interix"
@@ -63,8 +61,11 @@ PLIST_SRC= ${PKGDIR}/PLIST.clients
(${MACHINE_ARCH} == "sparc")
. include "../../mk/ossaudio.buildlink3.mk"
EGDIR= ${PREFIX}/share/examples/nas
-PLIST_SRC+= ${PKGDIR}/PLIST.voxware
CONF_FILES= ${EGDIR}/nasd.conf.eg ${PKG_SYSCONFDIR}/nasd.conf
+. if ${OPSYS} != "SunOS"
+PLIST_SRC+= ${PKGDIR}/PLIST.voxware
+. endif
+PLIST_SRC+= ${PKGDIR}/PLIST.server
. endif
.endif