aboutsummaryrefslogtreecommitdiffstats
path: root/audio/swami
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-02 07:59:12 +0800
committermiwi <miwi@FreeBSD.org>2006-12-02 07:59:12 +0800
commit17deb63b4e4222372fb58bd1d2edd389448adbaa (patch)
tree918fe878b2b77cab76e5c83fe5cec9594073b01a /audio/swami
parent3248965d408c19cc296da50678b3b5f92494fbce (diff)
downloadfreebsd-ports-gnome-17deb63b4e4222372fb58bd1d2edd389448adbaa.tar.gz
freebsd-ports-gnome-17deb63b4e4222372fb58bd1d2edd389448adbaa.tar.zst
freebsd-ports-gnome-17deb63b4e4222372fb58bd1d2edd389448adbaa.zip
- Update to 0.9.4
PR: ports/106138 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'audio/swami')
-rw-r--r--audio/swami/Makefile60
-rw-r--r--audio/swami/distinfo6
-rw-r--r--audio/swami/pkg-plist4
3 files changed, 39 insertions, 31 deletions
diff --git a/audio/swami/Makefile b/audio/swami/Makefile
index 0a5c04f94b81..846c8270da93 100644
--- a/audio/swami/Makefile
+++ b/audio/swami/Makefile
@@ -5,40 +5,48 @@
# $FreeBSD$
#
-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
+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_X_PREFIX= yes
-USE_BZIP2= yes
-GNU_CONFIGURE= yes
-USE_GNOME= gnomelibs gnometarget
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnometarget gtk12
+WANT_GNOME= yes
+USE_LDCONFIG= 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 --git a/audio/swami/distinfo b/audio/swami/distinfo
index 1861c54469ce..0636e71fdde0 100644
--- a/audio/swami/distinfo
+++ b/audio/swami/distinfo
@@ -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 --git a/audio/swami/pkg-plist b/audio/swami/pkg-plist
index 391e38ffefac..6bb748f62ec0 100644
--- a/audio/swami/pkg-plist
+++ b/audio/swami/pkg-plist
@@ -8,9 +8,9 @@ lib/swami/samplelib_libsndfile.so
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