Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2006 01:00:09 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106138: Update port: audio/swami to 0.9.4
Message-ID:  <20061202010009.c749cdf1.tkato432@yahoo.com>
Resent-Message-ID: <200612011610.kB1GAD9Y062453@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106138
>Category:       ports
>Synopsis:       Update port: audio/swami to 0.9.4
>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:   Fri Dec 01 16:10:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p22 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/swami/Makefile audio/swami/Makefile
--- /usr/ports/audio/swami/Makefile	Sat Nov  4 03:30:15 2006
+++ audio/swami/Makefile	Thu Nov  9 02:37:51 2006
@@ -5,40 +5,47 @@
 # $FreeBSD: ports/audio/swami/Makefile,v 1.9 2006/11/03 13:10:53 jylefort Exp $
 #
 
-PORTNAME=		swami
-PORTVERSION=		0.9.2
-PORTREVISION=		1
-CATEGORIES=		audio
-MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
+PORTNAME=	swami
+PORTVERSION=	0.9.4
+CATEGORIES=	audio
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
-MAINTAINER=		ports@FreeBSD.org
-COMMENT=		An advanced instrument editor
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	An advanced instrument editor
 
-LIB_DEPENDS=		popt:${PORTSDIR}/devel/popt \
-			png:${PORTSDIR}/graphics/png \
-			fluidsynth:${PORTSDIR}/audio/fluidsynth \
-			sndfile:${PORTSDIR}/audio/libsndfile \
-			audiofile:${PORTSDIR}/audio/libaudiofile
-
-USE_X_PREFIX=		yes
-USE_BZIP2=		yes
-GNU_CONFIGURE=		yes
-USE_GNOME=		gnomelibs gnometarget
-CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
-			LDFLAGS="-L${LOCALBASE}/lib"
+LIB_DEPENDS=	fluidsynth.2:${PORTSDIR}/audio/fluidsynth \
+		audiofile.0:${PORTSDIR}/audio/libaudiofile \
+		sndfile.1:${PORTSDIR}/audio/libsndfile \
+		popt.0:${PORTSDIR}/devel/popt \
+		png.5:${PORTSDIR}/graphics/png
+
+USE_BZIP2=	yes
+USE_X_PREFIX=	yes
+USE_GNOME=	gnometarget gtk12
+WANT_GNOME=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgnomelibs}!=""
+USE_GNOME+=	gnomelibs
+.else
+CONFIGURE_ARGS=	--disable-gnome-canvas
+.endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|libpng|libpng12|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+	@${REINPLACE_CMD} -e 's|-g $${CFLAGS}|$${CFLAGS}|g ; \
+		 s|libpng|libpng12|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
 .if !defined(NOPORTDOCS)
 post-install:
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} \
-		${WRKSRC}/AUTHORS \
-		${WRKSRC}/NEWS \
-		${WRKSRC}/README \
-		${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog NEWS README
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/swami/distinfo audio/swami/distinfo
--- /usr/ports/audio/swami/distinfo	Sun Jan 22 21:58:31 2006
+++ audio/swami/distinfo	Thu Nov  9 02:04:35 2006
@@ -1,3 +1,3 @@
-MD5 (swami-0.9.2.tar.bz2) = 72e981c592165537d86ae37fd21e3933
-SHA256 (swami-0.9.2.tar.bz2) = 34493fbd5c580b7e6c54598b9dd909065f33eebfd4642b7eb43f030b8959b8b7
-SIZE (swami-0.9.2.tar.bz2) = 729688
+MD5 (swami-0.9.4.tar.bz2) = 83da8e71ce1e6cda0f41d9f5e0ed3fdf
+SHA256 (swami-0.9.4.tar.bz2) = e9f98e045db6dd98a8061c2409851a9faa2835c009dbfa78fad892d857b769a8
+SIZE (swami-0.9.4.tar.bz2) = 697143
diff -urN /usr/ports/audio/swami/pkg-plist audio/swami/pkg-plist
--- /usr/ports/audio/swami/pkg-plist	Sat Jun 26 15:26:15 2004
+++ audio/swami/pkg-plist	Thu Nov  9 02:38:06 2006
@@ -8,9 +8,9 @@
 lib/swami/wavetbl_fluidsynth.a
 lib/swami/wavetbl_fluidsynth.la
 lib/swami/wavetbl_fluidsynth.so
-share/locale/de/LC_MESSAGES/swami.mo
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
-@dirrm lib/swami
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm lib/swami
>Release-Note:
>Audit-Trail:
>Unformatted:



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