pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libmpg123 Fix pkglint warnings, add LICENSE



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2906891d4763
branches:  trunk
changeset: 610213:2906891d4763
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Sun Oct 21 10:27:14 2012 +0000

description:
Fix pkglint warnings, add LICENSE

diffstat:

 audio/libmpg123/Makefile          |  12 ++++++----
 audio/libmpg123/Makefile.common   |   5 +--
 audio/libmpg123/mpg123-options.mk |  40 ---------------------------------------
 audio/libmpg123/options.mk        |  40 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 48 deletions(-)

diffs (148 lines):

diff -r 44789d18b64f -r 2906891d4763 audio/libmpg123/Makefile
--- a/audio/libmpg123/Makefile  Sun Oct 21 09:08:56 2012 +0000
+++ b/audio/libmpg123/Makefile  Sun Oct 21 10:27:14 2012 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.7 2012/09/26 13:20:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2012/10/21 10:27:14 cheusov Exp $
 #
 
 .include "../../audio/libmpg123/Makefile.common"
 
 PKGNAME=       libmpg123-${LIBMPG123_VERSION}
 COMMENT=       MPEG layer 1, 2, and 3 decoder library
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+LICENSE=       gnu-lgpl-v2
 
 PKGCONFIG_OVERRIDE+=   libmpg123.pc.in
 
@@ -15,12 +17,12 @@
 
 post-extract:
        ${ECHO} "#!${CONFIG_SHELL}${.newline}${TRUE}" > \
-               ${WRKSRC:Q}/libltdl/configure
+               ${WRKSRC}/libltdl/configure
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC:Q}/libmpg123.pc \
-               ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
+       ${INSTALL_DATA} ${WRKSRC}/libmpg123.pc \
+               ${DESTDIR}${PREFIX}/lib/pkgconfig
 
-.include "mpg123-options.mk"
+.include "options.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 44789d18b64f -r 2906891d4763 audio/libmpg123/Makefile.common
--- a/audio/libmpg123/Makefile.common   Sun Oct 21 09:08:56 2012 +0000
+++ b/audio/libmpg123/Makefile.common   Sun Oct 21 10:27:14 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2011/02/28 14:52:40 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2012/10/21 10:27:14 cheusov Exp $
 #
 # used by audio/libmpg123/Makefile
 
@@ -9,7 +9,6 @@
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mpg123/}
 EXTRACT_SUFX=  .tar.bz2
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://mpg123.sourceforge.net/
 
 
@@ -29,7 +28,7 @@
 ###
 ### XXX This should be set to 'no' for platforms where it is required.
 ###    It's easier doing this here than patching configure.
-MPG123_XFERMEM?=       yes
+MPG123_XFERMEM=                yes
 .if !empty(MPG123_XFERMEM:tl:Myes)
 BUILDLINK_TRANSFORM+=  rm:-DNO_XFERMEM
 .endif
diff -r 44789d18b64f -r 2906891d4763 audio/libmpg123/mpg123-options.mk
--- a/audio/libmpg123/mpg123-options.mk Sun Oct 21 09:08:56 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-# $NetBSD: mpg123-options.mk,v 1.3 2012/09/26 13:20:12 jperkin Exp $
-#
-
-PKG_OPTIONS_VAR=       PKG_OPTIONS.mpg123
-PKG_SUPPORTED_OPTIONS= inet6 debug
-PKG_SUGGESTED_OPTIONS= inet6
-
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if ${MACHINE_ARCH} == "powerpc" || \
-   (${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS")
-PKG_SUPPORTED_OPTIONS+=        simd
-.elif !empty(MACHINE_ARCH:Marm*)
-PKG_SUPPORTED_OPTIONS+=        mpg123-arm-fixed64
-.endif
-
-PKG_SUGGESTED_OPTIONS= ${PKG_SUPPORTED_OPTIONS:S/debug//}
-
-.include "../../mk/bsd.options.mk"
-
-SIMD_CONFIGURE_ARGS.powerpc=   altvec
-SIMD_CONFIGURE_ARGS.i386=      x86_dither
-
-.if empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+=       --with-ipv6=no
-.endif
-
-.if !empty(PKG_OPTIONS:Msimd)
-CONFIGURE_ARGS+=       --with-cpu=${SIMD_CONFIGURE_ARGS.${MACHINE_ARCH}}
-.elif !empty(PKG_OPTIONS:Mmpg123-arm-fixed64)
-CONFIGURE_ARGS+=       --with-cpu=generic_nofpu
-.else
-CONFIGURE_ARGS+=       --with-cpu=generic_fpu
-.endif
-
-.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+=       --enable-debug=yes
-.else
-CONFIGURE_ARGS+=       --enable-debug=no
-.endif
diff -r 44789d18b64f -r 2906891d4763 audio/libmpg123/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmpg123/options.mk        Sun Oct 21 10:27:14 2012 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: options.mk,v 1.4 2012/10/21 10:27:14 cheusov Exp $
+#
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.mpg123
+PKG_SUPPORTED_OPTIONS= inet6 debug
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${MACHINE_ARCH} == "powerpc" || \
+   (${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS")
+PKG_SUPPORTED_OPTIONS+=        simd
+.elif !empty(MACHINE_ARCH:Marm*)
+PKG_SUPPORTED_OPTIONS+=        mpg123-arm-fixed64
+.endif
+
+PKG_SUGGESTED_OPTIONS= ${PKG_SUPPORTED_OPTIONS:Ndebug}
+
+.include "../../mk/bsd.options.mk"
+
+SIMD_CONFIGURE_ARGS.powerpc=   altvec
+SIMD_CONFIGURE_ARGS.i386=      x86_dither
+
+.if empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --with-ipv6=no
+.endif
+
+.if !empty(PKG_OPTIONS:Msimd)
+CONFIGURE_ARGS+=       --with-cpu=${SIMD_CONFIGURE_ARGS.${MACHINE_ARCH}}
+.elif !empty(PKG_OPTIONS:Mmpg123-arm-fixed64)
+CONFIGURE_ARGS+=       --with-cpu=generic_nofpu
+.else
+CONFIGURE_ARGS+=       --with-cpu=generic_fpu
+.endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=       --enable-debug=yes
+.else
+CONFIGURE_ARGS+=       --enable-debug=no
+.endif



Home | Main Index | Thread Index | Old Index