summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-04-11 19:11:09 +0000
committerjmmv <jmmv>2003-04-11 19:11:09 +0000
commit50c8beb9b1f03e637c23f019633abc7d8172b838 (patch)
treee8e52f78046d18ea0943860d6b33b586eebebd56
parent44cd3f357787c8925c90885e0f4d0483dc2f6af1 (diff)
downloadpkgsrc-50c8beb9b1f03e637c23f019633abc7d8172b838.tar.gz
Split Makefile for plugin support.
-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"