summaryrefslogtreecommitdiff
path: root/audio/audacity-devel
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-29 18:30:14 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-29 18:30:14 +0000
commit3e567ddefa6ccfa804cd077ffacff7eb55144676 (patch)
treec0bff37c10bdbfa922848ae782bc607eadc0613e /audio/audacity-devel
parentupgrade to 1.2.1 (diff)
add audacity 0.98
Audacity is a GUI editor for digital audio waveforms PR: 38699 Submitted by: Tilman Linneweh <tilman@arved.de>
Notes
Notes: svn path=/head/; revision=60256
Diffstat (limited to 'audio/audacity-devel')
-rw-r--r--audio/audacity-devel/Makefile53
-rw-r--r--audio/audacity-devel/distinfo1
-rw-r--r--audio/audacity-devel/files/patch-audioarts.c11
-rw-r--r--audio/audacity-devel/files/patch::Help.cpp11
-rw-r--r--audio/audacity-devel/files/patch::Help.h13
-rw-r--r--audio/audacity-devel/pkg-comment1
-rw-r--r--audio/audacity-devel/pkg-descr12
-rw-r--r--audio/audacity-devel/pkg-plist3
8 files changed, 105 insertions, 0 deletions
diff --git a/audio/audacity-devel/Makefile b/audio/audacity-devel/Makefile
new file mode 100644
index 000000000000..7cabfaf41f18
--- /dev/null
+++ b/audio/audacity-devel/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: audacity
+# Date created: 21 Jul 2001
+# Whom: Marc van Woerkom <3d@freebsd.org>
+#
+# $FreeBSD$
+
+PORTNAME= audacity
+PORTVERSION= 0.98
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-src-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= freebsdports@arved.de
+
+BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
+LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk \
+ mad.1:${PORTSDIR}/audio/mad
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+AUDACITY_HELP_DIR= ${PREFIX}/share/doc/audacity
+CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ CFLAGS="-DAUDACITY_HELP_DIR=${AUDACITY_HELP_DIR}"
+CONFIGURE_ARGS+= --with-id3=no --with-libmad=yes
+
+.if defined(WITH_ARTS)
+LIB_DEPENDS+= qtmcop.1:${PORTSDIR}/audio/arts
+CONFIGURE_ARGS+= --with-arts-soundserver=yes
+.endif
+
+.if !defined(WITHOUT_VORBIS)
+CONFIGURE_ARGS+= --with-vorbis
+LIB_DEPENDS+= vorbis.1:${PORTSDIR}/audio/libvorbis
+
+pre-everything:
+ @${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS.MSG."
+.endif
+.if !defined(WITH_ARTS)
+ @${ECHO_MSG} "You can use artsd instead of OSS for output by defining WITH_ARTS."
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/audacity ${PREFIX}/bin/audacity
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/audacity
+ ${INSTALL_DATA} ${WRKSRC}/audacity-help.htb ${PREFIX}/share/doc/audacity/audacity-help.htb
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/audacity-devel/distinfo b/audio/audacity-devel/distinfo
new file mode 100644
index 000000000000..0328bd4ad1a4
--- /dev/null
+++ b/audio/audacity-devel/distinfo
@@ -0,0 +1 @@
+MD5 (audacity-src-0.98.tgz) = fe8d4009c34f11a8beec33d76098f56c
diff --git a/audio/audacity-devel/files/patch-audioarts.c b/audio/audacity-devel/files/patch-audioarts.c
new file mode 100644
index 000000000000..4d59b2251ae8
--- /dev/null
+++ b/audio/audacity-devel/files/patch-audioarts.c
@@ -0,0 +1,11 @@
+--- snd/audioarts.c.orig Wed May 29 19:10:43 2002
++++ snd/audioarts.c Wed May 29 19:10:51 2002
+@@ -11,7 +11,7 @@
+
+ #include <sys/time.h>
+
+-#include <kde/artsc/artsc.h>
++#include <artsc/artsc.h>
+
+ /* snd includes */
+
diff --git a/audio/audacity-devel/files/patch::Help.cpp b/audio/audacity-devel/files/patch::Help.cpp
new file mode 100644
index 000000000000..2c704e40a1e0
--- /dev/null
+++ b/audio/audacity-devel/files/patch::Help.cpp
@@ -0,0 +1,11 @@
+--- Help.cpp.orig Mon Sep 17 16:50:58 2001
++++ Help.cpp Mon Sep 17 16:53:11 2001
+@@ -61,7 +61,7 @@
+ void InitHelp(wxWindow * parent)
+ {
+ if (!gHelp) {
+- wxString defaultLoc = wxGetCwd() + wxFILE_SEP_PATH + "audacity-help.htb";
++ wxString defaultLoc = AUDACITY_HELP_DIR + wxFILE_SEP_PATH + "audacity-help.htb";
+
+ wxString helpFilePath =
+ gPrefs->Read("/Help/HelpFilePath", defaultLoc);
diff --git a/audio/audacity-devel/files/patch::Help.h b/audio/audacity-devel/files/patch::Help.h
new file mode 100644
index 000000000000..85309d22eff2
--- /dev/null
+++ b/audio/audacity-devel/files/patch::Help.h
@@ -0,0 +1,13 @@
+--- Help.h.orig Mon Sep 17 16:52:09 2001
++++ Help.h Mon Sep 17 16:52:53 2001
+@@ -11,6 +11,10 @@
+ #ifndef __AUDACITY_HELP__
+ #define __AUDACITY_HELP__
+
++#ifndef AUDACITY_HELP_DIR
++#define AUDACITY_HELP_DIR /usr/X11R6/share/audacity
++#endif
++
+ void InitHelp(wxWindow * parent);
+ void ShowHelp(wxWindow * parent);
+ void ShowHelp(wxWindow * parent, wxString topic);
diff --git a/audio/audacity-devel/pkg-comment b/audio/audacity-devel/pkg-comment
new file mode 100644
index 000000000000..608edb255091
--- /dev/null
+++ b/audio/audacity-devel/pkg-comment
@@ -0,0 +1 @@
+Audacity is a GUI editor for digital audio waveforms
diff --git a/audio/audacity-devel/pkg-descr b/audio/audacity-devel/pkg-descr
new file mode 100644
index 000000000000..db2bf8320f9e
--- /dev/null
+++ b/audio/audacity-devel/pkg-descr
@@ -0,0 +1,12 @@
+Audacity is a program that lets you manipulate digital audio
+waveforms. In addition to letting you record sounds directly from
+within the program, it imports many sound file formats, including
+WAV, AIFF, AU, IRCAM, MP3, and Ogg Vorbis. It supports all
+common editing operations such as Cut, Copy, and Paste, plus it will
+mix tracks and let you apply plug-in effects to any part of a sound. It
+also has a built-in amplitude envelope editor, a customizable
+spectrogram mode and a frequency analysis window for audio
+analysis applications.
+
+Author: Dominic Mazzoni dominic@minorninth.com
+WWW: http://audacity.sourceforge.net
diff --git a/audio/audacity-devel/pkg-plist b/audio/audacity-devel/pkg-plist
new file mode 100644
index 000000000000..28f2a2c0d737
--- /dev/null
+++ b/audio/audacity-devel/pkg-plist
@@ -0,0 +1,3 @@
+bin/audacity
+%%PORTDOCS%%share/doc/audacity/audacity-help.htb
+%%PORTDOCS%%@dirrm share/doc/audacity