git: 0f895daa66ad - main - audio/libamrwb: Makefile adjustment

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 24 Oct 2021 20:24:55 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f895daa66ad65b43aa935bd0c60fe7f4783057d

commit 0f895daa66ad65b43aa935bd0c60fe7f4783057d
Author:     Tatsuki Makino <tatsuki_makino@hotmail.com>
AuthorDate: 2021-10-24 20:19:31 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-10-24 20:19:48 +0000

    audio/libamrwb: Makefile adjustment
    
    Adjust Makefile to follow Porter's Handbook and framework more closely,
    also pet portclippy while at it.
    
    PR:             259203
    Approved by:    arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D32622
---
 audio/libamrwb/Makefile  | 14 +++++++-------
 audio/libamrwb/distinfo  |  1 +
 audio/libamrwb/pkg-descr |  2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/audio/libamrwb/Makefile b/audio/libamrwb/Makefile
index dee7e7e37945..04e3c8f33d67 100644
--- a/audio/libamrwb/Makefile
+++ b/audio/libamrwb/Makefile
@@ -1,12 +1,12 @@
 # Created by: Tatsuki Makino <tatsuki_makino@hotmail.com>
 
 PORTNAME=	libamrwb
-PORTVERSION=	11.0.0.0
-PORTREVISION=	2
+DISTVERSION=	11.0.0.0
+PORTREVISION=	3
 CATEGORIES=	audio
 MASTER_SITES=	http://www.penguin.cz/~utx/ftp/amr/ \
-		http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:SRC26204
-DISTNAME=	amrwb-${DISTVERSION}
+		https://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:SRC26204
+DISTNAME=	amrwb-${DISTVERSIONFULL}
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SRC26204}:SRC26204
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
@@ -19,15 +19,15 @@ LICENSE_COMB=	multi
 LICENSE_NAME_3GPP=	3GPP
 LICENSE_TEXT_3GPP=	unclear legal status, probably need licenses from 3GPP and more
 LICENSE_PERMS_3GPP=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
-LICENSE_DISTFILES_BSD3CLAUSE=	${DISTNAME}${EXTRACT_SUFX}
 LICENSE_DISTFILES_3GPP=	${SRC26204}
+LICENSE_DISTFILES_BSD3CLAUSE=	${DISTNAME}${EXTRACT_SUFX}
 
-USES=		gmake tar:bzip2 libtool
+USES=		autoreconf gmake tar:bzip2 libtool
+USE_LDCONFIG=	yes
 PORTDOCS=	AUTHORS COPYING ChangeLog NEWS README TODO readme.txt
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 SUB_FILES=	pkg-message
-USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/audio/libamrwb/distinfo b/audio/libamrwb/distinfo
index 7ddd9d4ac98d..e24934c72d12 100644
--- a/audio/libamrwb/distinfo
+++ b/audio/libamrwb/distinfo
@@ -1,3 +1,4 @@
+TIMESTAMP = 1632279600
 SHA256 (libamrwb/amrwb-11.0.0.0.tar.bz2) = 5caf59b14480b0cd2a7babb8be472c4af39ff4c7c95f1278116557049a4dd5dc
 SIZE (libamrwb/amrwb-11.0.0.0.tar.bz2) = 240170
 SHA256 (libamrwb/26204-b00.zip) = c885c44483fd4502d354ec9656f2cdc0469050015052f8f3ecc1d5e08c869fec
diff --git a/audio/libamrwb/pkg-descr b/audio/libamrwb/pkg-descr
index 296c9e1f0650..d8625422c650 100644
--- a/audio/libamrwb/pkg-descr
+++ b/audio/libamrwb/pkg-descr
@@ -3,7 +3,7 @@
 3GPP released reference implementation of 3GPP AMR Adaptive Multi-Rate -
 Wideband (AMR-WB) Speech Codec (3GPP TS 26.204).
 
-http://www.3gpp.org/ftp/Specs/html-info/26204.htm
+https://www.3gpp.org/ftp/Specs/html-info/26204.htm
 
 This package converts 3GPP TS 26.204 reference implementation of AMR-WB to a
 shared library.