pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/nas amd64 trys to build the server so add oss de...
details: https://anonhg.NetBSD.org/pkgsrc/rev/68d53b8e8a41
branches: trunk
changeset: 510675:68d53b8e8a41
user: markd <markd%pkgsrc.org@localhost>
date: Sun Apr 02 02:07:38 2006 +0000
description:
amd64 trys to build the server so add oss dependency so it can. Bump
PKGREVISION.
Also do some pkglint cleanups.
diffstat:
audio/nas/Makefile | 43 +++++++++++++++++--------------------------
1 files changed, 17 insertions(+), 26 deletions(-)
diffs (68 lines):
diff -r 582ce11d35a5 -r 68d53b8e8a41 audio/nas/Makefile
--- a/audio/nas/Makefile Sun Apr 02 02:01:58 2006 +0000
+++ b/audio/nas/Makefile Sun Apr 02 02:07:38 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.59 2006/03/09 21:04:41 jlam Exp $
+# $NetBSD: Makefile,v 1.60 2006/04/02 02:07:38 markd Exp $
DISTNAME= nas-1.7b.src
PKGNAME= ${DISTNAME:S/.src//}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://nas.codebrilliance.com/nas/ \
ftp://ftp.uni-duisburg.de/Sound/NAS/
@@ -21,31 +21,21 @@
PKG_SYSCONFSUBDIR= nas
-REPLACE_PERL= clients/audio/auscope/auscope
+REPLACE_PERL+= clients/audio/auscope/auscope
+
+SUBST_CLASSES+= sysconf ossaudio mungeman
+
+SUBST_STAGE.sysconf= pre-configure
+SUBST_FILES.sysconf= config/NetAudio.def
+SUBST_SED.sysconf= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
-pre-configure:
- @cd ${WRKSRC}; for file in \
- config/NetAudio.def; \
- do \
- ${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
- $${file} >> $${file}.fixed; \
- ${MV} -f $${file}.fixed $${file}; \
- done
- @cd ${WRKSRC}; for file in \
- server/nasd.conf.eg \
- server/dda/voxware/auvoxware.c; \
- do \
- ${SED} -e "s|@DEVOSSAUDIO@|${DEVOSSAUDIO}|g" \
- $${file} >> $${file}.fixed; \
- ${MV} -f $${file}.fixed $${file}; \
- done
- @cd ${WRKSRC}; for file in \
- config/mungeman; \
- do \
- ${SED} -e "s|^[ ]*#|#|g" \
- $${file} >> $${file}.fixed; \
- ${MV} -f $${file}.fixed $${file}; \
- done
+SUBST_STAGE.ossaudio= pre-configure
+SUBST_FILES.ossaudio= server/nasd.conf.eg server/dda/voxware/auvoxware.c
+SUBST_SED.ossaudio= -e "s|@DEVOSSAUDIO@|${DEVOSSAUDIO}|g"
+
+SUBST_STAGE.mungeman= pre-configure
+SUBST_FILES.mungeman= config/mungeman
+SUBST_SED.mungeman= -e 's|^ *\#|\#|g'
.include "../../mk/bsd.prefs.mk"
@@ -58,6 +48,7 @@
.if ${OPSYS} != "Interix"
. if (${MACHINE_ARCH} == "i386") || \
+ (${MACHINE_ARCH} == "x86_64") || \
(${MACHINE_ARCH} == "sparc")
. include "../../mk/oss.buildlink3.mk"
EGDIR= ${PREFIX}/share/examples/nas
Home |
Main Index |
Thread Index |
Old Index