From owner-svn-ports-all@FreeBSD.ORG Fri Apr 26 06:58:42 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 27D2FD0; Fri, 26 Apr 2013 06:58:42 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 003C6111C; Fri, 26 Apr 2013 06:58:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3Q6wfXq043747; Fri, 26 Apr 2013 06:58:41 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3Q6wfRg043746; Fri, 26 Apr 2013 06:58:41 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201304260658.r3Q6wfRg043746@svn.freebsd.org> From: Martin Wilke Date: Fri, 26 Apr 2013 06:58:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316579 - head/audio/mp3stat X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2013 06:58:42 -0000 Author: miwi Date: Fri Apr 26 06:58:41 2013 New Revision: 316579 URL: http://svnweb.freebsd.org/changeset/ports/316579 Log: - Update MASTER_SITES - Add LICENSE - Add MAKE_JOBS_SAFE - Support CXX properly PR: 177558 Submitted by: Ports Fury Modified: head/audio/mp3stat/Makefile (contents, props changed) Modified: head/audio/mp3stat/Makefile ============================================================================== --- head/audio/mp3stat/Makefile Fri Apr 26 06:57:37 2013 (r316578) +++ head/audio/mp3stat/Makefile Fri Apr 26 06:58:41 2013 (r316579) @@ -1,60 +1,55 @@ -# ex:ts=8 -# Ports collection makefile for: mp3stat -# Date created: Mar 20, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# 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 .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