aboutsummaryrefslogtreecommitdiff
path: root/audio/mhwaveedit
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-23 14:02:19 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-23 14:02:19 +0000
commit45df006ad1e3ccf01dac49aedb6cd2a38fbf9df1 (patch)
tree7ef4b302fd96c51e05b9cab13c86e2b62b0783e9 /audio/mhwaveedit
parent226cdf364cade489e7ed294eabfc956c1d352cc6 (diff)
downloadports-45df006ad1e3ccf01dac49aedb6cd2a38fbf9df1.tar.gz
ports-45df006ad1e3ccf01dac49aedb6cd2a38fbf9df1.zip
Notes
Diffstat (limited to 'audio/mhwaveedit')
-rw-r--r--audio/mhwaveedit/Makefile19
-rw-r--r--audio/mhwaveedit/distinfo2
2 files changed, 17 insertions, 4 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile
index e6393cbc426f..735ce2038ccc 100644
--- a/audio/mhwaveedit/Makefile
+++ b/audio/mhwaveedit/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= mhwaveedit
-PORTVERSION= 1.2.4
+PORTVERSION= 1.2.5
CATEGORIES= audio
MASTER_SITES= http://www.mtek.chalmers.se/~hjormagn/
@@ -18,13 +18,26 @@ LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
portaudio.0:${PORTSDIR}/audio/portaudio
USE_REINPLACE= yes
-USE_GNOME= gnomehack gtk20
+USE_GNOME= gnomehack gnometarget gtk20
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --without-sdl
+.if defined(WITH_DOUBLE_SAMPLES)
+CONFIGURE_ARGS+= --with-double-samples
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "mhWaveEdit has the following tunable option:"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITH_DOUBLE_SAMPLES=yes"
+ @${ECHO_MSG} " Use double precision floating point numbers for sound"
+ @${ECHO_MSG} " processing (slows down program but may increase"
+ @${ECHO_MSG} " quality for 24/32-bit samplerates)"
+ @${ECHO_MSG} ""
+
post-patch:
@${REINPLACE_CMD} -e 's| -O2||g' ${WRKSRC}/configure
diff --git a/audio/mhwaveedit/distinfo b/audio/mhwaveedit/distinfo
index 0278cfae210e..c7e31ecb8f23 100644
--- a/audio/mhwaveedit/distinfo
+++ b/audio/mhwaveedit/distinfo
@@ -1 +1 @@
-MD5 (mhwaveedit-1.2.4.tar.gz) = 136507e084ef715481129e6c241b2d32
+MD5 (mhwaveedit-1.2.5.tar.gz) = 86559970adc4dca26c7631a135682a11