Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:20:53 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171968: audio/soundtouch: Update to version 1.7.0
Message-ID:  <20120926022053.b6dcf81dee713fe29710312e@yahoo.com>
Resent-Message-ID: <201209251810.q8PIACg1017581@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171968
>Category:       ports
>Synopsis:       audio/soundtouch: Update to version 1.7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 1.7.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/soundtouch/Makefile audio/soundtouch/Makefile
--- /usr/ports/audio/soundtouch/Makefile	2012-08-18 18:56:36.000000000 +0900
+++ audio/soundtouch/Makefile	2012-09-25 03:17:05.000000000 +0900
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	SoundTouch
-# Date created:				16 May 2005
-# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 # $FreeBSD: ports/audio/soundtouch/Makefile,v 1.28 2012/08/18 09:56:36 danfe Exp $
-#
 
 PORTNAME=	soundtouch
-DISTVERSION=	1.6.0
+DISTVERSION=	1.7.0
 CATEGORIES=	audio
 MASTER_SITES=	http://www.surina.net/soundtouch/
 
@@ -15,37 +11,37 @@
 
 LICENSE=	LGPL21
 
-USE_AUTOTOOLS=	autoconf automake libtool
-USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--enable-shared=yes
-MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
-		pkgdoc_DATA="${PORTDOCS}" pkgdocdir="${DOCSDIR}"
-.if !defined(NOPORTDOCS)
-PORTDOCS=	README.html
-.endif
+OPTIONS_DEFINE=	INTEGER_SAMPLES DOCS
+INTEGER_SAMPLES_DESC=	Use integer sample format
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-OPTIONS_DEFINE=	INTEGER_SAMPLES
-INTEGER_SAMPLES_DESC=	Use integer sample format
+USE_AUTOTOOLS=	libtoolize aclocal autoheader automake autoconf
+ACLOCAL_ARGS=	-I config/m4
+AUTOMAKE_ARGS=	--add-missing --copy --foreign
+USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MINTEGER_SAMPLES}
 CONFIGURE_ARGS+=	--enable-integer-samples
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -E 's|-O3 ?||' \
-		${WRKSRC}/source/SoundStretch/Makefile.am \
-		${WRKSRC}/source/SoundTouch/Makefile.am
-.if ${ARCH} != "i386" && ${ARCH} != "amd64" && ${ARCH} != "ia64"
-	@${REINPLACE_CMD} '/AM_CXXFLAGS=/s|-msse2 ||' \
-		${WRKSRC}/source/SoundTouch/Makefile.am
+	@${REINPLACE_CMD} -e \
+		's|^pkgdoc_DATA|#pkgdoc_DATA| ; \
+		 s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.am
+	@${FIND} ${WRKSRC}/source -name "Makefile.am" | ${XARGS} \
+		${REINPLACE_CMD} -e \
+		's|-O[0-9]|| ; \
+		 s|-msse||'
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
 .endif
 
-run-autotools:	# see ${WRKSRC}/bootstrap for reference
-	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} \
-		AUTOMAKE="${AUTOMAKE} --add-missing --foreign --copy" \
-		${AUTORECONF} -fisv)
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/audio/soundtouch/distinfo audio/soundtouch/distinfo
--- /usr/ports/audio/soundtouch/distinfo	2012-07-05 22:18:08.000000000 +0900
+++ audio/soundtouch/distinfo	2012-09-02 22:15:54.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (soundtouch-1.6.0.tar.gz) = 8776edaf7299ffe1e8c97285f020365a63c0e01aa4f6f7c5fd1d011c0ded278f
-SIZE (soundtouch-1.6.0.tar.gz) = 94852
+SHA256 (soundtouch-1.7.0.tar.gz) = 0c94722ab995489b7816baa553a1cfd433e1005d456382e31defd068b003c848
+SIZE (soundtouch-1.7.0.tar.gz) = 96531
diff -urN /usr/ports/audio/soundtouch/pkg-plist audio/soundtouch/pkg-plist
--- /usr/ports/audio/soundtouch/pkg-plist	2012-07-05 22:18:08.000000000 +0900
+++ audio/soundtouch/pkg-plist	2012-09-02 22:30:48.000000000 +0900
@@ -5,10 +5,11 @@
 include/soundtouch/STTypes.h
 include/soundtouch/SoundTouch.h
 include/soundtouch/soundtouch_config.h
-@dirrm include/soundtouch
-lib/libSoundTouch.a
 lib/libSoundTouch.la
-lib/libSoundTouch.so.0
 lib/libSoundTouch.so
-share/aclocal/soundtouch.m4
+lib/libSoundTouch.so.0
 libdata/pkgconfig/soundtouch.pc
+share/aclocal/soundtouch.m4
+%%PORTDOCS%%%%DOCSDIR%%/README.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm include/soundtouch
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022053.b6dcf81dee713fe29710312e>