pkgsrc/audio/nas/Makefile
abs b7e4d4cfe3 if defined(USE_GCC3) include "../../lang/gcc3/buildlink2.mk"
Fixes gcc3 'Canadian' build issue (Can now find gcc_eh)
No change to non gcc3 compiled packages
2003-06-12 15:48:17 +00:00

52 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2003/06/12 15:48:17 abs Exp $
DISTNAME= nas-1.6.src
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 1
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CATEGORIES= audio
MASTER_SITES= http://radscan.com/nas/ \
ftp://ftp.uni-duisburg.de/Sound/NAS/ \
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://radscan.com/nas.html
COMMENT= Network Audio System
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
USE_IMAKE= yes
USE_X11BASE= yes
PKG_SYSCONFSUBDIR= nas
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
PLIST_SRC= ${PKGDIR}/PLIST.clients
.if (${MACHINE_ARCH} == "i386") || \
(${MACHINE_ARCH} == "sparc")
. include "../../mk/ossaudio.buildlink2.mk"
EGDIR= ${PREFIX}/share/examples/nas
PLIST_SRC+= ${PKGDIR}/PLIST.voxware
CONF_FILES= ${EGDIR}/nasd.conf.eg ${PKG_SYSCONFDIR}/nasd.conf
.endif
.if defined(USE_GCC3)
. include "../../lang/gcc3/buildlink2.mk"
.endif
.include "../../mk/bsd.pkg.mk"