From 00c25497cd5d21b683bd2854c5316285083e63ba Mon Sep 17 00:00:00 2001 From: sunpoet Date: Mon, 9 Sep 2013 18:19:14 +0000 Subject: - Update to 11.0.0.0 - Convert to new options framework - While I'm here, simplify PORTDOCS installation Changes: - Uses new upstream version 11.0.0 (which does not contain any code changes) PR: ports/177681 Submitted by: Tatsuki Makino (maintainer) --- audio/libamrwb/Makefile | 13 +++++++------ audio/libamrwb/distinfo | 8 ++++---- audio/libamrwb/pkg-plist | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/audio/libamrwb/Makefile b/audio/libamrwb/Makefile index 82fb8855e000..aef0f479b02a 100644 --- a/audio/libamrwb/Makefile +++ b/audio/libamrwb/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libamrwb -PORTVERSION= 10.0.0.0 +PORTVERSION= 11.0.0.0 CATEGORIES= audio MASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/ \ http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:3GPP @@ -29,18 +29,19 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= LANG=C MAKE_ENV= LANG=C USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS -SRC3GPP= 26204-a00.zip +SRC3GPP= 26204-b00.zip + +.include post-extract: @${CP} ${DISTDIR}/${SRC3GPP} ${WRKSRC}/ post-install: -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -. for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -. endfor + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif @${CAT} ${PKGMESSAGE} diff --git a/audio/libamrwb/distinfo b/audio/libamrwb/distinfo index f2496ca7448c..20d6c58cc80c 100644 --- a/audio/libamrwb/distinfo +++ b/audio/libamrwb/distinfo @@ -1,4 +1,4 @@ -SHA256 (amrwb-10.0.0.0.tar.bz2) = 1d5209c7f8c9d4d7894e3f03a48b83a53a5630b5d43848b3730bf25ba86061bb -SIZE (amrwb-10.0.0.0.tar.bz2) = 252042 -SHA256 (26204-a00.zip) = 45acacd40a81436d69caf532a39303141eea020f16594d91c1a81994088f73a7 -SIZE (26204-a00.zip) = 383905 +SHA256 (amrwb-11.0.0.0.tar.bz2) = 5caf59b14480b0cd2a7babb8be472c4af39ff4c7c95f1278116557049a4dd5dc +SIZE (amrwb-11.0.0.0.tar.bz2) = 240170 +SHA256 (26204-b00.zip) = c885c44483fd4502d354ec9656f2cdc0469050015052f8f3ecc1d5e08c869fec +SIZE (26204-b00.zip) = 385394 diff --git a/audio/libamrwb/pkg-plist b/audio/libamrwb/pkg-plist index 997170e35037..8a9f193b4bc7 100644 --- a/audio/libamrwb/pkg-plist +++ b/audio/libamrwb/pkg-plist @@ -24,4 +24,4 @@ lib/libamrwb.a lib/libamrwb.la lib/libamrwb.so lib/libamrwb.so.3 -@dirrm include/amrwb +@dirrmtry include/amrwb -- cgit