From alejandro@varnet.biz  Fri Jun 17 21:31:36 2005
Return-Path: <alejandro@varnet.biz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 54DD216A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Jun 2005 21:31:36 +0000 (GMT)
	(envelope-from alejandro@varnet.biz)
Received: from relay.pair.com (relay00.pair.com [209.68.1.20])
	by mx1.FreeBSD.org (Postfix) with SMTP id 1928143D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Jun 2005 21:31:35 +0000 (GMT)
	(envelope-from alejandro@varnet.biz)
Received: (qmail 5791 invoked from network); 17 Jun 2005 21:31:34 -0000
Received: from unknown (HELO phobos.mars.bsd) (unknown)
  by unknown with SMTP; 17 Jun 2005 21:31:34 -0000
Message-Id: <1119043998.0@phobos.mars.bsd>
Date: Fri, 17 Jun 2005 18:33:18 -0300
From: "Alejandro Pulver" <alejandro@varnet.biz>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: New port: graphics/xmms-waterfall - Spectrum analyzer visualization plugin for XMMS
X-Send-Pr-Version: gtk-send-pr 0.4.4 
X-GNATS-Notify:

>Number:         82372
>Category:       ports
>Synopsis:       New port: graphics/xmms-waterfall - Spectrum analyzer visualization plugin for XMMS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jylefort
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 17 21:40:23 GMT 2005
>Closed-Date:    Sat Jun 18 00:41:00 GMT 2005
>Last-Modified:  Sat Jun 18 00:41:00 GMT 2005
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005
    root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE



>Description:





>How-To-Repeat:





>Fix:


--- xmms-waterfall.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmms-waterfall
#	xmms-waterfall/files
#	xmms-waterfall/files/patch-ltmain.sh
#	xmms-waterfall/pkg-descr
#	xmms-waterfall/distinfo
#	xmms-waterfall/Makefile
#
echo c - xmms-waterfall
mkdir -p xmms-waterfall > /dev/null 2>&1
echo c - xmms-waterfall/files
mkdir -p xmms-waterfall/files > /dev/null 2>&1
echo x - xmms-waterfall/files/patch-ltmain.sh
sed 's/^X//' >xmms-waterfall/files/patch-ltmain.sh << 'END-of-xmms-waterfall/files/patch-ltmain.sh'
X--- ltmain.sh.orig	Sun Nov 21 16:32:12 1999
X+++ ltmain.sh	Fri Jun 17 18:18:45 2005
X@@ -3314,11 +3314,13 @@
X 	  IFS="$save_ifs"
X 	fi
X 
X+	if /usr/bin/false; then
X 	# Install the pseudo-library for information purposes.
X 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
X 	instname="$dir/$name"i
X 	$show "$install_prog $instname $destdir/$name"
X 	$run eval "$install_prog $instname $destdir/$name" || exit $?
X+	fi
X 
X 	# Maybe install the static library, too.
X 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
END-of-xmms-waterfall/files/patch-ltmain.sh
echo x - xmms-waterfall/pkg-descr
sed 's/^X//' >xmms-waterfall/pkg-descr << 'END-of-xmms-waterfall/pkg-descr'
XWaterfall is yet another XMMS spectrum analyzer. While most analyzers only
Xshow a changing snapshot of the current sound, waterfall shows a scrolling
Xspectrogram, a 2-d plot of frequency vs time, with energy represented by
Xintensity. There are also options to use color to display stereo
Xdiscrepancies, frequency onsets, or frequency uniformity.
X
XWWW: http://www.aigeek.com/waterfall/
X
X- Alejandro Pulver
Xalejandro@varnet.biz
END-of-xmms-waterfall/pkg-descr
echo x - xmms-waterfall/distinfo
sed 's/^X//' >xmms-waterfall/distinfo << 'END-of-xmms-waterfall/distinfo'
XMD5 (waterfall-0.11.tar.gz) = 42c70da6d223ce0e7f8a755a01f55b3f
XSIZE (waterfall-0.11.tar.gz) = 126038
END-of-xmms-waterfall/distinfo
echo x - xmms-waterfall/Makefile
sed 's/^X//' >xmms-waterfall/Makefile << 'END-of-xmms-waterfall/Makefile'
X# New ports collection makefile for:   graphics/xmms-waterfall
X# Date created:        17 Jun 2005
X# Whom:                Alejandro Pulver <alejandro@varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	waterfall
XPORTVERSION=	0.11
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.aigeek.com/waterfall/
XPKGNAMEPREFIX=	xmms-
X
XMAINTAINER=	alejandro@varnet.biz
XCOMMENT=	Spectrum analyzer visualization plugin for XMMS
X
XLIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms
XRUN_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_GNOME=	gtk12
XUSE_REINPLACE=	yes
X
XGNU_CONFIGURE=		yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
X			LDFLAGS="-L${LOCALBASE}/lib"
X
XPLIST_FILES=	lib/xmms/Visualization/libwaterfall.so
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-O2||g' ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
X
X.include <bsd.port.mk>
END-of-xmms-waterfall/Makefile
exit

--- xmms-waterfall.shar ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jylefort 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Fri Jun 17 22:49:27 GMT 2005 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82372 
State-Changed-From-To: open->closed 
State-Changed-By: jylefort 
State-Changed-When: Sat Jun 18 00:30:23 GMT 2005 
State-Changed-Why:  
Committed with a few modifications, thanks! 

Please understand my modifications before submitting another port. 
In particular: 

- Use the _DEPENDS variables correctly 
- Only use USE_GMAKE, CONFIGURE_ENV and CONFIGURE_TARGET when necessary 
- Use tabs rather than spaces in the Makefile head comment 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82372 
>Unformatted:
