2012-05-20 15:38:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.56 2012/05/20 13:38:20 wiz Exp $
|
1999-03-06 22:11:01 +01:00
|
|
|
|
2012-05-20 15:38:20 +02:00
|
|
|
DISTNAME= audiofile-0.3.4
|
2012-01-12 17:34:28 +01:00
|
|
|
PKGNAME= lib${DISTNAME}
|
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://www.68k.org/~michael/audiofile/
|
1999-03-06 22:11:01 +01:00
|
|
|
|
2012-01-12 17:34:28 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://andromeda.68k.org/~michael/audiofile/
|
|
|
|
COMMENT= Sound library for SGI audio file
|
|
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
|
1999-03-06 22:11:01 +01:00
|
|
|
|
2004-01-05 21:48:01 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-11-05 18:06:43 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-01-05 21:48:01 +01:00
|
|
|
|
2012-01-12 17:34:28 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-11-29 20:39:30 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2012-01-12 17:34:28 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= audiofile.pc.in
|
1999-03-06 22:11:01 +01:00
|
|
|
|
2000-10-15 05:04:26 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/libaudiofile
|
|
|
|
|
2006-11-05 18:06:43 +01:00
|
|
|
INSTALLATION_DIRS= ${DOCDIR}
|
|
|
|
|
1999-10-26 01:26:46 +02:00
|
|
|
post-install:
|
2012-01-12 17:34:28 +01:00
|
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} af* sf* ${DESTDIR}${DOCDIR}
|
1999-10-26 01:26:46 +02:00
|
|
|
|
2011-12-22 08:47:43 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
. include "../../audio/alsa-lib/buildlink3.mk"
|
|
|
|
.endif
|
1999-08-29 19:55:16 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|