pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mp3blaster Move options to options.mk. Default t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbe17403c761
branches:  trunk
changeset: 602451:cbe17403c761
user:      hans <hans%pkgsrc.org@localhost>
date:      Sat Apr 14 10:12:01 2012 +0000

description:
Move options to options.mk. Default to option sdl on Darwin. Bump
revision. From Robert Doerfler.

diffstat:

 audio/mp3blaster/Makefile   |  25 +++----------------------
 audio/mp3blaster/options.mk |  26 ++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 22 deletions(-)

diffs (71 lines):

diff -r 91a4f16e2e05 -r cbe17403c761 audio/mp3blaster/Makefile
--- a/audio/mp3blaster/Makefile Sat Apr 14 09:29:35 2012 +0000
+++ b/audio/mp3blaster/Makefile Sat Apr 14 10:12:01 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2012/01/13 10:54:47 obache Exp $
+# $NetBSD: Makefile,v 1.32 2012/04/14 10:12:01 hans Exp $
 
 DISTNAME=      mp3blaster-3.2.5
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mp3blaster/}
 
@@ -28,26 +28,7 @@
 CONFIGURE_ARGS+=       --enable-newthreads
 .endif
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.mp3blaster
-PKG_SUPPORTED_OPTIONS= esound oss sdl
-PKG_SUGGESTED_OPTIONS= oss
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mesound)
-CONFIGURE_ARGS+=       --with-esd=yes
-.include "../../audio/esound/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Moss)
-CONFIGURE_ARGS+=       --with-oss=yes
-.include "../../mk/oss.buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Msdl)
-CONFIGURE_ARGS+=       --with-sdl=yes
-.include "../../devel/SDL/buildlink3.mk"
-.endif
+.include "options.mk"
 
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
diff -r 91a4f16e2e05 -r cbe17403c761 audio/mp3blaster/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3blaster/options.mk       Sat Apr 14 10:12:01 2012 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.1 2012/04/14 10:12:01 hans Exp $
+
+PKG_OPTIONS_VAR=        PKG_OPTIONS.mp3blaster
+PKG_SUPPORTED_OPTIONS=  esound oss sdl
+PKG_SUGGESTED_OPTIONS=  oss
+
+.if ${OPSYS} == "Darwin"
+PKG_SUGGESTED_OPTIONS= sdl
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mesound)
+CONFIGURE_ARGS+=        --with-esd=yes
+.include "../../audio/esound/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Moss)
+CONFIGURE_ARGS+=        --with-oss=yes
+.include "../../mk/oss.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Msdl)
+CONFIGURE_ARGS+=        --with-sdl=yes
+.include "../../devel/SDL/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index