pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/mad123 Finish conversion to options framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ccc15701d322
branches: trunk
changeset: 494863:ccc15701d322
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue May 31 16:14:39 2005 +0000
description:
Finish conversion to options framework.
diffstat:
audio/mad123/Makefile | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
diffs (46 lines):
diff -r 0b13a3d0e851 -r ccc15701d322 audio/mad123/Makefile
--- a/audio/mad123/Makefile Tue May 31 16:13:18 2005 +0000
+++ b/audio/mad123/Makefile Tue May 31 16:14:39 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/05/25 23:34:51 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2005/05/31 16:14:39 wiz Exp $
#
DISTNAME= mad123-0.8.5
@@ -10,26 +10,24 @@
COMMENT= Command-line MPEG audio player
PKG_OPTIONS_VAR= PKG_OPTIONS.mad123
-PKG_SUPPORTED_OPTIONS= arts
-.include "../../mk/bsd.options.mk"
+PKG_SUPPORTED_OPTIONS= arts oss
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${PREFIX}/bin/mad123
- ${INSTALL_MAN} ${WRKSRC}/mad123.1 ${PREFIX}/man/man1/
-
-.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Marts)
MAKE_FLAGS+= USE_ARTS=yes
.include "../../audio/arts/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Moss)
+. include "../../mk/ossaudio.buildlink3.mk"
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${PREFIX}/bin/mad123
+ ${INSTALL_MAN} ${WRKSRC}/mad123.1 ${PREFIX}/man/man1/
+
.include "../../audio/taglib/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
-
-.if defined(USE_OSS)
-. include "../../mk/ossaudio.buildlink3.mk"
-.endif
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index