Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 03:21:09 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/177558: audio/mp3stat: Update MASTER_SITES
Message-ID:  <20130402032109.e974aa35857436bcee4383d6@yahoo.com>
Resent-Message-ID: <201304011840.r31Ie3bw029677@freefall.freebsd.org>

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

>Number:         177558
>Category:       ports
>Synopsis:       audio/mp3stat: Update MASTER_SITES
>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:   Mon Apr 01 18:40:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support CXX properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/mp3stat/Makefile audio/mp3stat/Makefile
--- /usr/ports/audio/mp3stat/Makefile	2012-11-08 05:39:16.000000000 +0900
+++ audio/mp3stat/Makefile	2013-03-31 19:43:11.000000000 +0900
@@ -1,60 +1,55 @@
-# ex:ts=8
-# Ports collection makefile for:	mp3stat
-# Date created:			Mar 20, 2002
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD: head/audio/mp3stat/Makefile 301188 2012-07-19 20:15:37Z naddy $
-#
 
 PORTNAME=	mp3stat
 PORTVERSION=	2.6.01
 PORTREVISION=	11
 CATEGORIES=	audio
 MASTER_SITES=	https://signal-lost.homeip.net/files/ \
-			http://www.alaskaparadise.com/freebsd/
+		http://www.sourcefiles.org/Multimedia/MP3/Tools/Processing/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Read information about mp3s and oggs bitstream
 
+LICENSE=	GPLv2
+
+OPTIONS_DEFINE=	VORBIS DOCS
+OPTIONS_DEFAULT=	VORBIS
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USE_GNOME=	gtk20
 USE_GMAKE=	yes
-MAKE_ARGS=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+MAKE_JOBS_SAFE=	yes
 
+CXX+=		-I${LOCALBASE}/include -L${LOCALBASE}/lib \
+		-Wl,--rpath,${LOCALBASE}/lib
+
+PORTDOCS=	README
 PLIST_FILES=	bin/mp3stat \
 		lib/mp3stat/input_mp3.so \
 		lib/mp3stat/ui_gtk2.so \
 		lib/mp3stat/ui_console.so
 PLIST_DIRS=	lib/mp3stat
 
-CXX+=		-I${LOCALBASE}/include -L${LOCALBASE}/lib \
-		-Wl,--rpath,${LOCALBASE}/lib
-
-OPTIONS_DEFINE=	VORBIS DOCS
-OPTIONS_DEFAULT=	VORBIS
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MVORBIS}
-LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis
 PLIST_FILES+=	lib/mp3stat/input_vorb.so
 .else
 MAKE_ARGS+=	VORBIS=""
 .endif
 
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS=	README
-.endif
-
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|@$${CXX}|$${CXX}|g ; \
 		 s|-ldl|-lz|g ; \
 		 s|-lc||g ; \
 		 s|-Wl,-soname,.*\.so\.1||g ; \
-		 s|-fpic|-fPIC|g'
+		 s|-fpic|-fPIC|g ; \
+		 s|^CXX|#CXX|g'
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mp3stat ${PREFIX}/bin
>Release-Note:
>Audit-Trail:
>Unformatted:



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