Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2012 18:11:05 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309491 - head/audio/baudline
Message-ID:  <201212251811.qBPIB5ZY004556@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Tue Dec 25 18:11:04 2012
New Revision: 309491
URL: http://svnweb.freebsd.org/changeset/ports/309491

Log:
  * fix on amd64 by forcing to always use the i686 version
  * remove unncessary EXTRACT_SUFX
  * optionalize MPG123 dependency
  
  PR:		ports/174448
  Submitted by:	4721@hushmail.com

Modified:
  head/audio/baudline/Makefile   (contents, props changed)
  head/audio/baudline/distinfo   (contents, props changed)

Modified: head/audio/baudline/Makefile
==============================================================================
--- head/audio/baudline/Makefile	Tue Dec 25 17:19:12 2012	(r309490)
+++ head/audio/baudline/Makefile	Tue Dec 25 18:11:04 2012	(r309491)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	baudline
-# Date created:				19 Jan 2002
-# Whom:					David Yeske <dyeske@gmail.com>
-#
+# Created by: David Yeske <dyeske@gmail.com>
 # $FreeBSD$
 #
 
@@ -12,16 +9,12 @@ CATEGORIES=	audio linux
 # package cluster to automatically fetch baudline
 MASTER_SITES=	http://www.baudline.com/
 PKGNAMEPREFIX=	linux-
-DISTNAME=	baudline_${PORTVERSION:S/.p/pre/}_linux_${ARCH_SUFX}
-EXTRACT_SUFX=	.tar.gz
+DISTNAME=	baudline_${PORTVERSION:S/.p/pre/}_linux_i686
 
 MAINTAINER=	hamradio@FreeBSD.org
 COMMENT=	Real-time signal analysis and time-frequency browser
 
-RUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123
-
 WRKSRC=		${WRKDIR}/${DISTNAME:S/i686/x86/}
-ARCH_SUFX=	${ARCH:S/i386/i686/:S/amd64/x86_64/}
 USE_LINUX=	yes
 USE_LINUX_APPS=	xorglibs
 ONLY_FOR_ARCHS=	i386 amd64
@@ -31,8 +24,16 @@ RESTRICTED=	author requests no distribut
 PORTDOCS=	README_unix.txt
 PLIST_FILES=	bin/baudline
 
+OPTIONS_DEFINE=		MPG123
+OPTIONS_DEFAULT=	MPG123
+
+.include <bsd.port.options.mk>
 .include <bsd.port.pre.mk>
 
+.if ${PORT_OPTIONS:MMPG123}
+RUN_DEPENDS+=	mpg123:${PORTSDIR}/audio/mpg123
+.endif
+
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
 IGNORE=		may not be automatically fetched due to licensing\
 		restrictions. You must manually fetch ${DISTFILES} from\

Modified: head/audio/baudline/distinfo
==============================================================================
--- head/audio/baudline/distinfo	Tue Dec 25 17:19:12 2012	(r309490)
+++ head/audio/baudline/distinfo	Tue Dec 25 18:11:04 2012	(r309491)
@@ -1,4 +1,2 @@
 SHA256 (baudline_1.08_linux_i686.tar.gz) = 4b42e8d03c9fe9738ec66ee51a8d594a60a5770e8e22bb1d73ae38566fb951f1
 SIZE (baudline_1.08_linux_i686.tar.gz) = 1945014
-SHA256 (baudline_1.08_linux_x86_64.tar.gz) = 79ff55c3817cd4a97d565733ea6e0532be57b05a7ffe7865b03199680800d625
-SIZE (baudline_1.08_linux_x86_64.tar.gz) = 2270546



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