summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-10-21 10:27:14 +0000
committercheusov <cheusov>2012-10-21 10:27:14 +0000
commit5c9ad52a5233b737be624908b96ea475a8da009d (patch)
treefce29b3a72de950aad055d211d228fbc9f168852 /audio
parent143d5a88eaf7e122510c4f6a23877a181cd5cf42 (diff)
downloadpkgsrc-5c9ad52a5233b737be624908b96ea475a8da009d.tar.gz
Fix pkglint warnings, add LICENSE
Diffstat (limited to 'audio')
-rw-r--r--audio/libmpg123/Makefile12
-rw-r--r--audio/libmpg123/Makefile.common5
-rw-r--r--audio/libmpg123/options.mk (renamed from audio/libmpg123/mpg123-options.mk)4
3 files changed, 11 insertions, 10 deletions
diff --git a/audio/libmpg123/Makefile b/audio/libmpg123/Makefile
index 4f9914e6d97..24b420e66fd 100644
--- a/audio/libmpg123/Makefile
+++ b/audio/libmpg123/Makefile
@@ -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
+LICENSE= gnu-lgpl-v2
PKGCONFIG_OVERRIDE+= libmpg123.pc.in
@@ -15,12 +17,12 @@ INSTALL_DIRS= src/libmpg123
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 --git a/audio/libmpg123/Makefile.common b/audio/libmpg123/Makefile.common
index 6451f52822e..e61f71396b9 100644
--- a/audio/libmpg123/Makefile.common
+++ b/audio/libmpg123/Makefile.common
@@ -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 @@ CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mpg123.sourceforge.net/
@@ -29,7 +28,7 @@ CFLAGS+= ${COPTS.mpg123:U${COPTS}}
###
### 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 --git a/audio/libmpg123/mpg123-options.mk b/audio/libmpg123/options.mk
index 71a7202ab33..ac542c846fa 100644
--- a/audio/libmpg123/mpg123-options.mk
+++ b/audio/libmpg123/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mpg123-options.mk,v 1.3 2012/09/26 13:20:12 jperkin Exp $
+# $NetBSD: options.mk,v 1.4 2012/10/21 10:27:14 cheusov Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.mpg123
@@ -14,7 +14,7 @@ PKG_SUPPORTED_OPTIONS+= simd
PKG_SUPPORTED_OPTIONS+= mpg123-arm-fixed64
.endif
-PKG_SUGGESTED_OPTIONS= ${PKG_SUPPORTED_OPTIONS:S/debug//}
+PKG_SUGGESTED_OPTIONS= ${PKG_SUPPORTED_OPTIONS:Ndebug}
.include "../../mk/bsd.options.mk"