ports/55997: Update port: audio/glame

KATO Tsuguru tkato at prontomail.com
Tue Aug 26 15:10:31 UTC 2003


>Number:         55997
>Category:       ports
>Synopsis:       Update port: audio/glame
>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:   Tue Aug 26 08:10:20 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list