From tkato@prontomail.com  Tue Aug 26 08:00:57 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 54B3416A4C0
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 26 Aug 2003 08:00:55 -0700 (PDT)
Received: from hfep01.dion.ne.jp (hfep01.dion.ne.jp [203.181.105.67])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8799B43FF2
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 26 Aug 2003 08:00:54 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([218.222.68.150]) by hfep01.dion.ne.jp with SMTP
          id <20030826150051625.UPOM@hfep01.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Wed, 27 Aug 2003 00:00:51 +0900
Message-Id: <20030827000007.3ec7e509.tkato@prontomail.com>
Date: Wed, 27 Aug 2003 00:00:07 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: audio/glame

>Number:         55997
>Category:       ports
>Synopsis:       Update port: audio/glame
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 26 08:10:20 PDT 2003
>Closed-Date:    Tue Aug 26 11:44:56 PDT 2003
>Last-Modified:  Tue Aug 26 11:44:56 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix *_DEPENDS
- Utilize INFO

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/glame/Makefile audio/glame/Makefile
--- /usr/ports/audio/glame/Makefile	Wed Jul  2 00:24:14 2003
+++ audio/glame/Makefile	Sun Aug 24 23:37:34 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	glame
 PORTVERSION=	1.0.1
+PORTREVISION=	1
 CATEGORIES=	audio gnome
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,30 +15,28 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A powerful, fast, stable, and easily extensible sound editor for GNOME
 
-LIB_DEPENDS=	ltdl.4:${PORTSDIR}/devel/libltdl
+BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+LIB_DEPENDS=	vorbis.2:${PORTSDIR}/audio/libvorbis \
+		ltdl.4:${PORTSDIR}/devel/libltdl
 
-USE_GNOME=	gnomeprefix gnomehack libglade
 USE_X_PREFIX=	yes
+USE_GNOME=	gnomehack gnomeprefix gnometarget libglade
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
-INSTALLS_SHLIB=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}"
+		LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}" \
+		MAKEINFO="makeinfo --no-split"
+INSTALLS_SHLIB=	yes
 
-.include <bsd.port.pre.mk>
+INFO=		glame glame-dev
+
+post-extract:
+	@cd ${WRKSRC}/doc && ${RM} -f *.info*
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
+	@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|-lpthread|${PTHREAD_LIBS}|g'
-	@find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
-		's|<values[.]h>|<limits.h>|'
-
-post-install:
-	@install-info ${PREFIX}/info/glame.info \
-		--section="Audio Processing" \
-		--entry="* glame: (glame).           audio processing tool for GNOME" \
-		${PREFIX}/info/dir
+	@${GREP} -lR "<values\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+		's|<values\.h>|<limits.h>|'
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/audio/glame/pkg-plist audio/glame/pkg-plist
--- /usr/ports/audio/glame/pkg-plist	Wed Jul  2 00:24:15 2003
+++ audio/glame/pkg-plist	Sun Aug 24 23:16:26 2003
@@ -1,15 +1,6 @@
 bin/cglame
 bin/glame
 bin/glame-convert.sh
-info/dir
-info/glame-dev.info
-info/glame-dev.info-1
-info/glame-dev.info-2
-info/glame-dev.info-3
-info/glame.info
-info/glame.info-1
-info/glame.info-2
-info/glame.info-3
 lib/glame/audio_io_esd.so
 lib/glame/audio_io_oss.so
 lib/glame/debug.so
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Tue Aug 26 11:44:48 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

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