summaryrefslogtreecommitdiff
path: root/audio/libao
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-04-11 19:11:09 +0000
committerjmmv <jmmv@pkgsrc.org>2003-04-11 19:11:09 +0000
commit566e0509760c6ec10139ab5b4a1eaa8c4b3c1956 (patch)
treee8e52f78046d18ea0943860d6b33b586eebebd56 /audio/libao
parent4b041343c957430b3b24d89bc8e510968b954490 (diff)
downloadpkgsrc-566e0509760c6ec10139ab5b4a1eaa8c4b3c1956.tar.gz
Split Makefile for plugin support.
Diffstat (limited to 'audio/libao')
-rw-r--r--audio/libao/Makefile21
-rw-r--r--audio/libao/Makefile.common24
2 files changed, 27 insertions, 18 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index 6f6efdf8713..a3f36674b09 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -1,24 +1,9 @@
-# $NetBSD: Makefile,v 1.17 2003/04/11 17:26:17 jmmv Exp $
+# $NetBSD: Makefile,v 1.18 2003/04/11 19:11:09 jmmv Exp $
+
+.include "Makefile.common"
-DISTNAME= libao-0.8.3
PKGREVISION= 1
-CATEGORIES= audio devel
-MASTER_SITES= http://www.vorbis.com/files/1.0/unix/
MAINTAINER= lukem@netbsd.org
-COMMENT= cross-platform audio library
-
-PLIST_SUBST+= VERSION="${DISTNAME}"
-
-USE_BUILDLINK2= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-alsa
-CONFIGURE_ARGS+= --disable-arts
-CONFIGURE_ARGS+= --disable-esd
-
-USE_GMAKE= yes
-USE_LIBTOOL= yes
-LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libao/Makefile.common b/audio/libao/Makefile.common
new file mode 100644
index 00000000000..ff70d9fb2ec
--- /dev/null
+++ b/audio/libao/Makefile.common
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile.common,v 1.1 2003/04/11 19:11:09 jmmv Exp $
+
+DISTNAME= libao-0.8.3
+CATEGORIES= audio devel
+MASTER_SITES= http://www.vorbis.com/files/1.0/unix/
+
+COMMENT= cross-platform audio library
+
+DISTINFO_FILE= ${.CURDIR}/../../audio/libao/distinfo
+PATCHDIR= ${.CURDIR}/../../audio/libao/patches
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+CONFIGURE_ARGS+= --disable-alsa
+CONFIGURE_ARGS+= --disable-alsa09
+CONFIGURE_ARGS+= --disable-arts
+CONFIGURE_ARGS+= --disable-esd
+
+.include "../../mk/ossaudio.buildlink2.mk"