pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio oss*: simplify version handling



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a06a19dfdadc
branches:  trunk
changeset: 452378:a06a19dfdadc
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 09 09:12:08 2021 +0000

description:
oss*: simplify version handling

diffstat:

 audio/ossinfo/Makefile        |  4 ++--
 audio/ossinfo/Makefile.common |  3 ++-
 audio/ossmix/Makefile         |  4 ++--
 audio/ossplay/Makefile        |  4 ++--
 audio/osstest/Makefile        |  4 ++--
 audio/ossxmix/Makefile        |  4 ++--
 6 files changed, 12 insertions(+), 11 deletions(-)

diffs (87 lines):

diff -r be3f6d1d4eb1 -r a06a19dfdadc audio/ossinfo/Makefile
--- a/audio/ossinfo/Makefile    Sun May 09 09:10:01 2021 +0000
+++ b/audio/ossinfo/Makefile    Sun May 09 09:12:08 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2021/05/09 09:10:01 nia Exp $
+# $NetBSD: Makefile,v 1.5 2021/05/09 09:12:08 nia Exp $
 
 .include "Makefile.common"
 
-PKGNAME=       ossinfo-${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
+PKGNAME=       ossinfo-${OSS_CMD_VER}
 PKGREVISION=   1
 CATEGORIES=    audio
 
diff -r be3f6d1d4eb1 -r a06a19dfdadc audio/ossinfo/Makefile.common
--- a/audio/ossinfo/Makefile.common     Sun May 09 09:10:01 2021 +0000
+++ b/audio/ossinfo/Makefile.common     Sun May 09 09:12:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2021/05/09 08:38:20 nia Exp $
+# $NetBSD: Makefile.common,v 1.2 2021/05/09 09:12:08 nia Exp $
 # Common Makefile logic for commands included with the OSSv4 distribution.
 
 # used by audio/ossinfo/Makefile
@@ -7,6 +7,7 @@
 # used by audio/ossxmix/Makefile
 
 DISTNAME=      oss-v4.2-build2019-src-bsd
+OSS_CMD_VER=   ${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
 MASTER_SITES=  http://www.opensound.com/developer/sources/stable/bsd/
 EXTRACT_SUFX=  .tar.bz2
 
diff -r be3f6d1d4eb1 -r a06a19dfdadc audio/ossmix/Makefile
--- a/audio/ossmix/Makefile     Sun May 09 09:10:01 2021 +0000
+++ b/audio/ossmix/Makefile     Sun May 09 09:12:08 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2021/05/09 09:10:01 nia Exp $
+# $NetBSD: Makefile,v 1.4 2021/05/09 09:12:09 nia Exp $
 
 .include "../../audio/ossinfo/Makefile.common"
 
-PKGNAME=       ossmix-${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
+PKGNAME=       ossmix-${OSS_CMD_VER}
 CATEGORIES=    audio
 
 MAINTAINER=    nia%NetBSD.org@localhost
diff -r be3f6d1d4eb1 -r a06a19dfdadc audio/ossplay/Makefile
--- a/audio/ossplay/Makefile    Sun May 09 09:10:01 2021 +0000
+++ b/audio/ossplay/Makefile    Sun May 09 09:12:08 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2021/05/09 09:06:58 nia Exp $
+# $NetBSD: Makefile,v 1.2 2021/05/09 09:12:09 nia Exp $
 
 .include "../../audio/ossinfo/Makefile.common"
 
-PKGNAME=       ossplay-${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
+PKGNAME=       ossplay-${OSS_CMD_VER}
 CATEGORIES=    audio
 
 MAINTAINER=    nia%NetBSD.org@localhost
diff -r be3f6d1d4eb1 -r a06a19dfdadc audio/osstest/Makefile
--- a/audio/osstest/Makefile    Sun May 09 09:10:01 2021 +0000
+++ b/audio/osstest/Makefile    Sun May 09 09:12:08 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2021/05/09 09:10:01 nia Exp $
+# $NetBSD: Makefile,v 1.4 2021/05/09 09:12:09 nia Exp $
 
 .include "../../audio/ossinfo/Makefile.common"
 
-PKGNAME=       osstest-${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
+PKGNAME=       osstest-${OSS_CMD_VER}
 CATEGORIES=    audio
 
 MAINTAINER=    nia%NetBSD.org@localhost
diff -r be3f6d1d4eb1 -r a06a19dfdadc audio/ossxmix/Makefile
--- a/audio/ossxmix/Makefile    Sun May 09 09:10:01 2021 +0000
+++ b/audio/ossxmix/Makefile    Sun May 09 09:12:08 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2021/05/09 08:38:20 nia Exp $
+# $NetBSD: Makefile,v 1.3 2021/05/09 09:12:09 nia Exp $
 
 .include "../../audio/ossinfo/Makefile.common"
 
-PKGNAME=       ossxmix-${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
+PKGNAME=       ossxmix-${OSS_CMD_VER}
 CATEGORIES=    audio
 
 MAINTAINER=    nia%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index