aboutsummaryrefslogtreecommitdiff
path: root/audio/pd
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-01-16 00:10:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-01-16 00:10:07 +0000
commit6a4709a1701a9ea267893006b24d16d01ccde471 (patch)
tree965f421421a80ece86083c949753bf0abea8a351 /audio/pd
parent31e0bde36dd8ddc497dfa5bccf2268cd932a0f24 (diff)
downloadports-6a4709a1701a9ea267893006b24d16d01ccde471.tar.gz
ports-6a4709a1701a9ea267893006b24d16d01ccde471.zip
Notes
Diffstat (limited to 'audio/pd')
-rw-r--r--audio/pd/Makefile116
-rw-r--r--audio/pd/distinfo6
-rw-r--r--audio/pd/files/patch-extra_pd_pd.c19
-rw-r--r--audio/pd/files/patch-extra_sigmund_sigmundtilde.c11
-rw-r--r--audio/pd/files/patch-src_configure.in142
-rw-r--r--audio/pd/files/patch-src_m_sched.c63
-rw-r--r--audio/pd/files/patch-src_s_inter.c30
-rw-r--r--audio/pd/files/patch-src_s_main.c47
-rw-r--r--audio/pd/files/patch-src_u_main.tk45
-rw-r--r--audio/pd/pkg-plist511
10 files changed, 680 insertions, 310 deletions
diff --git a/audio/pd/Makefile b/audio/pd/Makefile
index c0126567c55d..52d7f7ab9035 100644
--- a/audio/pd/Makefile
+++ b/audio/pd/Makefile
@@ -6,9 +6,8 @@
#
PORTNAME= pd
-DISTVERSION= 0.40-2
+DISTVERSION= 0.42-2
DISTVERSIONSUFFIX= .src
-PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www-crca.ucsd.edu/~msp/Software/
@@ -16,76 +15,79 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= MIDI-capable real-time audio processor/synthesizer
WRKSRC= ${WRKDIR}/${DISTNAME:S;.src;/src;}
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include \
- -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}" \
- LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
-MAKEFILE= makefile
-MAN1= pd.1 pdreceive.1 pdsend.1
PATCH_WRKSRC= ${WRKSRC}/..
-PLIST= ${WRKDIR}/pkg-plist
-USE_GMAKE= yes
-USE_AUTOTOOLS= autoconf:262
+
USE_TCL= yes
USE_TK= yes
USE_TCL_BUILD= yes
USE_TK_BUILD= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+MAKEFILE= makefile
-.include <bsd.port.pre.mk>
-
-pre-patch:
- ${RM} -f ${WRKSRC}/configure
+MAN1= pd.1 pdreceive.1 pdsend.1
-post-configure:
- ${MV} ${WRKSRC}/makefile ${WRKSRC}/makefile.orig
- ${SED} -e "s:^LIB =:LIB =${PTHREAD_LIBS}:g; \
- s:^pddocdir = .*:pddocdir = ${PREFIX}/share/doc/pd:g; \
- s:x_midi.c ::g; s:s_midi.c ::g;" \
- < ${WRKSRC}/makefile.orig > ${WRKSRC}/makefile
- ${REINPLACE_CMD} -e "s,-m32,," ${WRKSRC}/../extra/makefile \
- ${WRKSRC}/../extra/expr~/makefile
+CPPFLAGS= -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
+ ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-pre-install:
- ${RM} -f ${PLIST}
-.for ii in pd pd-gui pd-watchdog pd.tk pdreceive pdsend
- ${ECHO_CMD} bin/${ii} >> ${PLIST}
-.endfor
- ${ECHO_CMD} include/m_pd.h >> ${PLIST}
-.if !defined(NOPORTDOCS)
-.for ii in LICENSE README
- ${ECHO_CMD} share/doc/pd/${ii}.txt >> ${PLIST}
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|CPPFLAGS="-D|CPPFLAGS="$$CPPFLAGS -D|g ; \
+ s|LDFLAGS="-Wl,|LDFLAGS="$$LDFLAGS -Wl,|g ; \
+ s|-ltcl8[0-9]|-ltcl${USE_TCL}|g ; \
+ s|-ltk8[0-9]|-ltk${USE_TK}|g ; \
+ s|s_midi_oss.c ||g ; \
+ /uname/s|Linux|${OPSYS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|$$(WARN_CFLAGS)||g ; \
+ s|$$(MORECFLAGS)||g ; \
+ s|x_midi.c ||g ; \
+ s|s_midi.c ||g ; \
+ s|INCLUDE) -o|INCLUDE) $$(LDFLAGS) -o|g' ${WRKSRC}/makefile.in
+.for file in m_binbuf.c ../extra/bonk~/bonk~.c ../extra/sigmund~/sigmund~.c
+ @${REINPLACE_CMD} -e \
+ 's|<alloca\.h>|<stdlib.h>|g' ${WRKSRC}/${file}
.endfor
- cd ${WRKSRC}/../doc && ${FIND} -s . -type f | \
- ${CUT} -c3-999 | \
- ${SED} -e 's:^:share/doc/pd/:' >> ${PLIST} \
- && ${FIND} -d . -type d | \
- ${CUT} -c3-999 | \
- ${SED} -e 's:^:@dirrm share/doc/pd/:' >> ${PLIST}
-.endif
- cd ${WRKSRC}/../extra && ${FIND} -s . -type f -or -type l | \
- ${CUT} -c3-999 | \
- ${SED} -e 's:^:share/pd/:' >> ${PLIST} \
- && ${FIND} -d . -type d | \
- ${CUT} -c3-999 | \
- ${SED} -e 's:^:@dirrm share/pd/:' >> ${PLIST}
+ @${REINPLACE_CMD} -e \
+ 's|^#!.*$$|#!${WISH}|g' ${WRKSRC}/u_main.tk
+ @${REINPLACE_CMD} -e \
+ 's|PD_BASEDIR/LICENSE|${PREFIX}/share/doc/pd/LICENSE|g ; \
+ s|PD_BASEDIR/doc/1|${PREFIX}/share/doc/pd/1|g' \
+ ${WRKSRC}/../doc/1.manual/1.introduction.txt
do-install:
-.for ii in pd pd-gui pd-watchdog pdreceive pdsend
- ${INSTALL_PROGRAM} ${WRKSRC}/../bin/${ii} ${PREFIX}/bin
+.for file in pd pdreceive pdsend
+ ${INSTALL_PROGRAM} ${WRKSRC}/../bin/${file} ${PREFIX}/bin
.endfor
- ${INSTALL_DATA} ${WRKSRC}/../bin/pd.tk ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/m_pd.h ${PREFIX}/include
+.for file in pd pdreceive pdsend
+ ${INSTALL_MAN} ${WRKSRC}/../man/${file}.1 ${MANPREFIX}/man/man1
+.endfor
+ @${MKDIR} ${PREFIX}/lib/pd
+ @(${TAR} -C ${WRKSRC}/../extra --exclude "*.bak" --exclude "*.orig" \
+ -cf - . | ${TAR} -C ${PREFIX}/lib/pd --unlink -xf -)
+ @${CHOWN} -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/pd
+ @${FIND} ${PREFIX}/lib/pd -type d -exec ${CHMOD} 755 {} \;
+ @${FIND} ${PREFIX}/lib/pd -type f -exec ${CHMOD} ${LIBMODE} {} \;
+ @${MKDIR} ${PREFIX}/lib/pd/bin
+.for file in pd-gui pd-watchdog
+ ${INSTALL_PROGRAM} ${WRKSRC}/../bin/${file} ${PREFIX}/lib/pd/bin
+.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/../bin/pd.tk ${PREFIX}/lib/pd/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for ii in LICENSE README
- ${INSTALL_DATA} ${WRKSRC}/../${ii}.txt ${DOCSDIR}
+ @(${TAR} -C ${WRKSRC}/../doc --exclude "*.bak" --exclude "*.orig" \
+ -cf - . | ${TAR} -C ${DOCSDIR} --unlink -xf -)
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+ @${FIND} ${DOCSDIR} -type d -exec ${CHMOD} 755 {} \;
+ @${FIND} ${DOCSDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+.for file in LICENSE.txt README.txt
+ ${INSTALL_DATA} ${WRKSRC}/../${file} ${DOCSDIR}
.endfor
- cd ${WRKSRC}/../doc && ${PAX} -r -w * ${DOCSDIR}
+ @${LN} -sf ${DOCSDIR} ${PREFIX}/lib/pd/doc
.endif
-.for ii in pd pdreceive pdsend
- ${INSTALL_MAN} ${WRKSRC}/../man/${ii}.1 ${PREFIX}/man/man1/
-.endfor
- @${MKDIR} ${DATADIR}
- cd ${WRKSRC}/../extra && ${PAX} -r -w * ${DATADIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/pd/distinfo b/audio/pd/distinfo
index 80a47a4bae47..810259185147 100644
--- a/audio/pd/distinfo
+++ b/audio/pd/distinfo
@@ -1,3 +1,3 @@
-MD5 (pd-0.40-2.src.tar.gz) = 2622e12b6fa0bd69db9732972e953afb
-SHA256 (pd-0.40-2.src.tar.gz) = a9e0bf841c6411cd301888e0afdb6f50aafcf6868a3f7b8a369f7ae744666c95
-SIZE (pd-0.40-2.src.tar.gz) = 2158886
+MD5 (pd-0.42-2.src.tar.gz) = 666ea812cb1b6784819d4dcf314efd90
+SHA256 (pd-0.42-2.src.tar.gz) = 7bb897c89d1d60cc27cd9263594557831c9a5b3a0dba9b75fd5a89de76782805
+SIZE (pd-0.42-2.src.tar.gz) = 2110836
diff --git a/audio/pd/files/patch-extra_pd_pd.c b/audio/pd/files/patch-extra_pd_pd.c
new file mode 100644
index 000000000000..1568433b4a8d
--- /dev/null
+++ b/audio/pd/files/patch-extra_pd_pd.c
@@ -0,0 +1,19 @@
+--- extra/pd~/pd~.c.orig 2008-12-12 01:29:02.000000000 +0900
++++ extra/pd~/pd~.c 2009-01-12 01:36:46.000000000 +0900
+@@ -11,6 +11,7 @@
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <ctype.h>
++#include <signal.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/wait.h>
+@@ -47,7 +48,7 @@
+
+ #endif
+
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+ #ifdef __x86_64__
+ static char pd_tilde_dllextent[] = ".l_ia64",
+ pd_tilde_dllextent2[] = ".pd_linux";
diff --git a/audio/pd/files/patch-extra_sigmund_sigmundtilde.c b/audio/pd/files/patch-extra_sigmund_sigmundtilde.c
deleted file mode 100644
index 90baaeda5439..000000000000
--- a/audio/pd/files/patch-extra_sigmund_sigmundtilde.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- extra/sigmund~/sigmund~.c.orig Sun Mar 25 12:22:47 2007
-+++ extra/sigmund~/sigmund~.c Sun Mar 25 12:22:50 2007
-@@ -16,7 +16,7 @@
- #ifdef MSW
- #include <malloc.h>
- #else
--#include <alloca.h>
-+//#include <alloca.h>
- #endif
- #include <stdlib.h>
- #ifdef NT
diff --git a/audio/pd/files/patch-src_configure.in b/audio/pd/files/patch-src_configure.in
deleted file mode 100644
index 511a137f57d9..000000000000
--- a/audio/pd/files/patch-src_configure.in
+++ /dev/null
@@ -1,142 +0,0 @@
---- src/configure.in.orig Sat Oct 28 21:13:24 2006
-+++ src/configure.in Sun Mar 25 13:28:57 2007
-@@ -22,6 +22,9 @@
- AC_SUBST(EXTERNTARGET)
-
- dnl other defaults
-+dnl respect upstream CFLAGS
-+GUIFLAGS="$CFLAGS $GUIFLAGS"
-+echo Base GUIFLAGS=$GUIFLAGS
-
- dnl check for features
-
-@@ -83,7 +86,7 @@
- echo "pthreads required" || exit 1)
-
- dnl Check for fftw package
--if test x$fftw == "xyes";
-+if test x$fftw = "xyes";
- then
- AC_CHECK_LIB(fftw, fftw_one,PDLIB="$PDLIB -lfftw",
- echo "fftw package not found - using built-in FFT"; fftw=no)
-@@ -92,62 +95,96 @@
- dnl look for tcl 8.x... do I really have to go through all this!?
-
- foundit=no
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- AC_CHECK_HEADER(tcl.h,foundit=yes,)
- fi
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- AC_CHECK_HEADER(tcl8.7/tcl.h,
- GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.7";foundit=yes,)
- fi
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- AC_CHECK_HEADER(tcl8.6/tcl.h,
- GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.6";foundit=yes,)
- fi
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- AC_CHECK_HEADER(tcl8.5/tcl.h,
- GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.5";foundit=yes,)
- fi
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- AC_CHECK_HEADER(tcl8.4/tcl.h,
- GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.4";foundit=yes,)
- fi
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- AC_CHECK_HEADER(tcl8.3/tcl.h,
- GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.3";foundit=yes,)
- fi
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- AC_CHECK_HEADER(tcl8.2/tcl.h,
- GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.2";foundit=yes,)
- fi
--if test $foundit == "no";
-+if test x$foundit = "xno";
- then
- echo no tcl header found
- exit -1
- fi
-
--AC_CHECK_LIB(tcl8.7, main,,
-- AC_CHECK_LIB(tcl8.6, main,,
-- AC_CHECK_LIB(tcl8.5, main,,
-- AC_CHECK_LIB(tcl8.4, main,,
-- AC_CHECK_LIB(tcl8.3, main,,
-- AC_CHECK_LIB(tcl8.2, main,,
-- AC_CHECK_LIB(tcl8.0, main,,echo no tcl library found || exit 1)))))))
--
--AC_CHECK_LIB(tk8.7, main,,
-- AC_CHECK_LIB(tk8.6, main,,
-- AC_CHECK_LIB(tk8.5, main,,
-- AC_CHECK_LIB(tk8.4, main,,
-- AC_CHECK_LIB(tk8.3, main,,
-- AC_CHECK_LIB(tk8.2, main,,
-- AC_CHECK_LIB(tk8.0, main,,echo no tk library found || exit 1)))))))
--
-+AC_CHECK_LIB(tcl87, main,,
-+ AC_CHECK_LIB(tcl86, main,,
-+ AC_CHECK_LIB(tcl85, main,,
-+ AC_CHECK_LIB(tcl84, main,,
-+ AC_CHECK_LIB(tcl83, main,,
-+ AC_CHECK_LIB(tcl82, main,,
-+ AC_CHECK_LIB(tcl80, main,,echo no tcl library found || exit 1)))))))
-+
-+AC_CHECK_LIB(tk87, main,,
-+ AC_CHECK_LIB(tk86, main,,
-+ AC_CHECK_LIB(tk85, main,,
-+ AC_CHECK_LIB(tk84, main,,
-+ AC_CHECK_LIB(tk83, main,,
-+ AC_CHECK_LIB(tk82, main,,
-+ AC_CHECK_LIB(tk80, main,,echo no tk library found || exit 1)))))))
-+
-+
-+if test `uname -s` = FreeBSD;
-+then
-+ EXT=pd_freebsd
-+ CPPFLAGS="-DDL_OPEN -DPA_USE_OSS -DUNIX -DUNISTD\
-+ -DUSEAPI_OSS \
-+ -I../portaudio/pa_common -I../portaudio/pablio \
-+ -I../portmidi/pm_common \
-+ -I../portmidi/pm_linux \
-+ -fno-strict-aliasing"
-+ LDFLAGS="-Wl,-export-dynamic"
-+ SYSSRC="s_audio_oss.c"
-+ if test x$portaudio = "xyes";
-+ then
-+ MORECFLAGS="-DUSEAPI_PORTAUDIO "$MORECFLAGS
-+ SYSSRC="s_audio_pa.c \
-+ ../portaudio/pa_common/pa_allocation.c \
-+ ../portaudio/pa_common/pa_converters.c \
-+ ../portaudio/pa_common/pa_cpuload.c \
-+ ../portaudio/pa_common/pa_dither.c \
-+ ../portaudio/pa_common/pa_front.c \
-+ ../portaudio/pa_common/pa_process.c \
-+ ../portaudio/pa_common/pa_skeleton.c \
-+ ../portaudio/pa_common/pa_stream.c \
-+ ../portaudio/pa_common/pa_trace.c \
-+ ../portaudio/pablio/pablio_pd.c \
-+ ../portaudio/pablio/ringbuffer_pd.c \
-+ ../portaudio/pa_unix/pa_unix_hostapis.c \
-+ ../portaudio/pa_unix/pa_unix_util.c \
-+ ../portaudio/pa_unix_oss/pa_unix_oss.c "$SYSSRC
-+ fi
-+ GUINAME="pd-gui"
-+ OSNUMBER=0
-+fi
-
- if test `uname -s` = Linux;
- then
diff --git a/audio/pd/files/patch-src_m_sched.c b/audio/pd/files/patch-src_m_sched.c
index b8b7f33e5402..f59e37e31bc0 100644
--- a/audio/pd/files/patch-src_m_sched.c
+++ b/audio/pd/files/patch-src_m_sched.c
@@ -1,42 +1,69 @@
-$FreeBSD$
-
---- src/m_sched.c.orig Wed May 18 04:49:44 2005
-+++ src/m_sched.c Sun Mar 25 00:50:04 2007
-@@ -377,8 +377,8 @@
+--- src/m_sched.c.orig 2008-03-15 09:03:00.000000000 +0900
++++ src/m_sched.c 2008-08-23 22:07:34.000000000 +0900
+@@ -394,8 +394,10 @@
the audio I/O system is still busy with previous transfers.
*/
--void sys_pollmidiqueue( void);
--void sys_initmidiqueue( void);
-+//void sys_pollmidiqueue( void);
-+//void sys_initmidiqueue( void);
++#if !defined(__FreeBSD__)
+ void sys_pollmidiqueue( void);
+ void sys_initmidiqueue( void);
++#endif
/* sys_idlehook is a hook the user can fill in to grab idle time. Return
nonzero if you actually used the time; otherwise we're really really idle and
-@@ -402,7 +402,7 @@
+@@ -419,7 +421,9 @@
sys_sleepgrain = 100;
else if (sys_sleepgrain > 5000)
sys_sleepgrain = 5000;
-- sys_initmidiqueue();
-+// sys_initmidiqueue();
++#if !defined(__FreeBSD__)
+ sys_initmidiqueue();
++#endif
while (!sys_quit)
{
int didsomething = 0;
-@@ -454,7 +454,7 @@
+@@ -476,7 +480,9 @@
timeforward = SENDDACS_YES;
else timeforward = SENDDACS_NO;
}
-- sys_setmiditimediff(0, 1e-6 * sys_schedadvance);
-+// sys_setmiditimediff(0, 1e-6 * sys_schedadvance);
++#if !defined(__FreeBSD__)
+ sys_setmiditimediff(0, 1e-6 * sys_schedadvance);
++#endif
sys_addhist(1);
if (timeforward != SENDDACS_NO)
sched_tick(sys_time + sys_time_per_dsp_tick);
-@@ -462,7 +462,7 @@
+@@ -484,7 +490,9 @@
didsomething = 1;
sys_addhist(2);
-- sys_pollmidiqueue();
-+// sys_pollmidiqueue();
++#if !defined(__FreeBSD__)
+ sys_pollmidiqueue();
++#endif
if (sys_pollgui())
{
if (!didsomething)
+@@ -522,11 +530,15 @@
+
+ void sched_audio_callbackfn(void)
+ {
++#if !defined(__FreeBSD__)
+ sys_setmiditimediff(0, 1e-6 * sys_schedadvance);
++#endif
+ sys_addhist(1);
+ sched_tick(sys_time + sys_time_per_dsp_tick);
+ sys_addhist(2);
++#if !defined(__FreeBSD__)
+ sys_pollmidiqueue();
++#endif
+ sys_addhist(3);
+ sys_pollgui();
+ sys_addhist(5);
+@@ -536,7 +548,9 @@
+
+ static void m_callbackscheduler(void)
+ {
++#if !defined(__FreeBSD__)
+ sys_initmidiqueue();
++#endif
+ while (!sys_quit)
+ {
+ #ifdef MSW
diff --git a/audio/pd/files/patch-src_s_inter.c b/audio/pd/files/patch-src_s_inter.c
index bbf839d3c38f..80c150152213 100644
--- a/audio/pd/files/patch-src_s_inter.c
+++ b/audio/pd/files/patch-src_s_inter.c
@@ -1,6 +1,6 @@
---- src/s_inter.c.orig Tue Aug 15 07:03:09 2006
-+++ src/s_inter.c Sun Mar 25 13:03:16 2007
-@@ -831,7 +831,7 @@
+--- src/s_inter.c.orig 2008-03-15 09:03:00.000000000 +0900
++++ src/s_inter.c 2008-08-23 21:40:09.000000000 +0900
+@@ -839,7 +839,7 @@
static int sys_watchfd;
@@ -9,24 +9,26 @@
void glob_watchdog(t_pd *dummy)
{
if (write(sys_watchfd, "\n", 1) < 1)
-@@ -1247,7 +1247,8 @@
+@@ -1263,7 +1263,11 @@
sys_gui("pdtk_watchdog\n");
#endif
sys_get_audio_apis(buf);
-- sys_get_midi_apis(buf2);
-+// sys_get_midi_apis(buf2);
-+ strcpy(buf2, "{}");
- sys_vgui("pdtk_pd_startup {%s} %s %s {%s}\n", pd_version, buf, buf2,
- sys_font);
++#if defined(__FreeBSD__)
++ strcpy(buf2, "{}");
++#else
+ sys_get_midi_apis(buf2);
++#endif
+ sys_vgui("pdtk_pd_startup {%s} %s %s {%s} %s\n", pd_version, buf, buf2,
+ sys_font, sys_fontweight);
}
-@@ -1269,8 +1270,8 @@
+@@ -1285,8 +1289,10 @@
#ifndef __linux__ /* sys_close_audio() hangs if you're in a signal? */
fprintf(stderr, "closing audio...\n");
sys_close_audio();
-- fprintf(stderr, "closing MIDI...\n");
-- sys_close_midi();
-+// fprintf(stderr, "closing MIDI...\n");
-+// sys_close_midi();
++#if !defined(__FreeBSD__)
+ fprintf(stderr, "closing MIDI...\n");
+ sys_close_midi();
++#endif
fprintf(stderr, "... done.\n");
#endif
exit(n);
diff --git a/audio/pd/files/patch-src_s_main.c b/audio/pd/files/patch-src_s_main.c
index 357adac3e0e9..e97a92ed2928 100644
--- a/audio/pd/files/patch-src_s_main.c
+++ b/audio/pd/files/patch-src_s_main.c
@@ -1,47 +1,54 @@
---- src/s_main.c.orig Wed Sep 27 19:22:35 2006
-+++ src/s_main.c Sun Mar 25 19:47:12 2007
-@@ -310,7 +310,7 @@
+--- src/s_main.c.orig 2008-03-15 09:03:00.000000000 +0900
++++ src/s_main.c 2008-08-23 21:44:26.000000000 +0900
+@@ -301,7 +301,9 @@
else
{
/* open audio and MIDI */
-- sys_reopen_midi();
-+// sys_reopen_midi();
++#if !defined(__FreeBSD__)
+ sys_reopen_midi();
++#endif
sys_reopen_audio();
/* run scheduler until it quits */
- return (m_scheduler());
-@@ -635,7 +635,7 @@
+ return (m_mainloop());
+@@ -633,7 +635,9 @@
}
else if (!strcmp(*argv, "-alsamidi"))
{
-- sys_set_midi_api(API_ALSA);
-+// sys_set_midi_api(API_ALSA);
++#if !defined(__FreeBSD__)
+ sys_set_midi_api(API_ALSA);
++#endif
argc--; argv++;
}
#endif
-@@ -904,7 +904,7 @@
+@@ -916,7 +920,11 @@
/* add "doc/5.reference" library to helppath */
strncpy(sbuf, sys_libdir->s_name, MAXPDSTRING-30);
sbuf[MAXPDSTRING-30] = 0;
-- strcat(sbuf, "/doc/5.reference");
++#if defined(__FreeBSD__)
+ strcat(sbuf, "/share/doc/pd/5.reference");
++#else
+ strcat(sbuf, "/doc/5.reference");
++#endif
sys_helppath = namelist_append_files(sys_helppath, sbuf);
/* correct to make audio and MIDI device lists zero based. On
MMIO, however, "1" really means the second device (the first one
-@@ -957,7 +957,7 @@
+@@ -969,7 +977,9 @@
for (i = 0; i < naudiooutdev; i++)
audiooutdev[i] = sys_soundoutdevlist[i];
}
-- sys_get_midi_params(&nmidiindev, midiindev, &nmidioutdev, midioutdev);
-+// sys_get_midi_params(&nmidiindev, midiindev, &nmidioutdev, midioutdev);
++#if !defined(__FreeBSD__)
+ sys_get_midi_params(&nmidiindev, midiindev, &nmidioutdev, midioutdev);
++#endif
if (sys_nmidiin >= 0)
{
post("sys_nmidiin %d, nmidiindev %d", sys_nmidiin, nmidiindev);
-@@ -977,7 +977,7 @@
- rate = sys_main_srate;
- sys_open_audio(naudioindev, audioindev, nchindev, chindev,
- naudiooutdev, audiooutdev, nchoutdev, choutdev, rate, advance, 0);
-- sys_open_midi(nmidiindev, midiindev, nmidioutdev, midioutdev, 0);
-+// sys_open_midi(nmidiindev, midiindev, nmidioutdev, midioutdev, 0);
+@@ -992,7 +1002,9 @@
+ sys_set_audio_settings(naudioindev, audioindev, nchindev, chindev,
+ naudiooutdev, audiooutdev, nchoutdev, choutdev, rate, advance,
+ callback);
++#if !defined(__FreeBSD__)
+ sys_open_midi(nmidiindev, midiindev, nmidioutdev, midioutdev, 0);
++#endif
}
static void sys_addreferencepath(void)
diff --git a/audio/pd/files/patch-src_u_main.tk b/audio/pd/files/patch-src_u_main.tk
deleted file mode 100644
index 35d5b1077b8c..000000000000
--- a/audio/pd/files/patch-src_u_main.tk
+++ /dev/null
@@ -1,45 +0,0 @@
---- src/u_main.tk.orig Sun Oct 8 20:04:07 2006
-+++ src/u_main.tk Sun Mar 25 22:15:29 2007
-@@ -91,7 +91,7 @@
-
- set pd_deffont {courier 12 bold}
-
--set help_top_directory $pd_guidir/doc
-+set help_top_directory $pd_guidir/share/doc/pd
-
- # it's unfortunate but we seem to have to turn off global bindings
- # for Text objects to get control-s and control-t to do what we want for
-@@ -513,9 +513,9 @@
- }
-
- $mbar.audio add command -label {Test Audio and MIDI} \
-- -command {menu_doc_open doc/7.stuff/tools testtone.pd}
-+ -command {menu_doc_open share/doc/pd/7.stuff/tools testtone.pd}
- $mbar.audio add command -label {Load Meter} \
-- -command {menu_doc_open doc/7.stuff/tools load-meter.pd}
-+ -command {menu_doc_open share/doc/pd/7.stuff/tools load-meter.pd}
-
- # the MacOS X app menu
-
-@@ -526,7 +526,7 @@
- # See SPECIAL MENUS IN MENUBARS http://www.tcl.tk/man/tcl8.4/TkCmd/menu.htm
- if {$pd_nt == 2} {
- $mbar.apple add command -label "About Pd..." -command \
-- {menu_doc_open doc/1.manual 1.introduction.txt}
-+ {menu_doc_open share/doc/pd/1.manual 1.introduction.txt}
- menu $mbar.apple.preferences -tearoff 0
- $mbar.apple add cascade -label "Preferences" -menu $mbar.apple.preferences
- $mbar.apple.preferences add command -label "Path..." \
-@@ -543,10 +543,10 @@
- # the "Help" menu
- if {$pd_nt != 2} {
- $mbar.help add command -label {About Pd} \
-- -command {menu_doc_open doc/1.manual 1.introduction.txt}
-+ -command {menu_doc_open share/doc/pd/1.manual 1.introduction.txt}
- }
- $mbar.help add command -label {Html ...} \
-- -command {menu_doc_open doc/1.manual index.htm}
-+ -command {menu_doc_open share/doc/pd/1.manual index.htm}
- $mbar.help add command -label {Browser ...} \
- -command {menu_doc_browser $help_top_directory}
- }
diff --git a/audio/pd/pkg-plist b/audio/pd/pkg-plist
new file mode 100644
index 000000000000..1b8cfe1b6d15
--- /dev/null
+++ b/audio/pd/pkg-plist
@@ -0,0 +1,511 @@
+bin/pd
+bin/pdreceive
+bin/pdsend
+include/m_pd.h
+lib/pd/README.txt
+lib/pd/bin/pd-gui
+lib/pd/bin/pd-watchdog
+lib/pd/bin/pd.tk
+lib/pd/bonk~/bonk~-help.pd
+lib/pd/bonk~/bonk~.c
+lib/pd/bonk~/bonk~.pd_linux
+lib/pd/bonk~/makefile
+lib/pd/bonk~/templates.txt
+lib/pd/choice/choice-help.pd
+lib/pd/choice/choice.c
+lib/pd/choice/choice.pd_linux
+lib/pd/choice/makefile
+lib/pd/complex-mod~-help.pd
+lib/pd/complex-mod~.pd
+%%PORTDOCS%%lib/pd/doc
+lib/pd/expr-help.pd
+lib/pd/expr.pd_linux
+lib/pd/expr~/LICENSE.txt
+lib/pd/expr~/README.txt
+lib/pd/expr~/expr.pd_linux
+lib/pd/expr~/expr~.pd_linux
+lib/pd/expr~/fexpr~.pd_linux
+lib/pd/expr~/fts_to_pd.h
+lib/pd/expr~/makefile
+lib/pd/expr~/vexp.c
+lib/pd/expr~/vexp.h
+lib/pd/expr~/vexp.pd_linux_o
+lib/pd/expr~/vexp_fun.c
+lib/pd/expr~/vexp_fun.pd_linux_o
+lib/pd/expr~/vexp_if.c
+lib/pd/expr~/vexp_if.pd_linux_o
+lib/pd/expr~.pd_linux
+lib/pd/fexpr~.pd_linux
+lib/pd/fiddle~/fiddle~-help.pd
+lib/pd/fiddle~/fiddle~.c
+lib/pd/fiddle~/fiddle~.pd_linux
+lib/pd/fiddle~/makefile
+lib/pd/hilbert~-help.pd
+lib/pd/hilbert~.pd
+lib/pd/loop~/loop~-help.pd
+lib/pd/loop~/loop~.c
+lib/pd/loop~/loop~.pd_linux
+lib/pd/loop~/makefile
+lib/pd/loop~/test-loop~.pd
+lib/pd/lrshift~/lrshift~-help.pd
+lib/pd/lrshift~/lrshift~.c
+lib/pd/lrshift~/lrshift~.pd_linux
+lib/pd/lrshift~/makefile
+lib/pd/makefile
+lib/pd/pd~/makefile
+lib/pd/pd~/notes.txt
+lib/pd/pd~/pdsched.c
+lib/pd/pd~/pdsched.pd_linux
+lib/pd/pd~/pd~-help.pd
+lib/pd/pd~/pd~-subprocess.pd
+lib/pd/pd~/pd~.c
+lib/pd/pd~/pd~.pd_linux
+lib/pd/pique/makefile
+lib/pd/pique/pique-help.pd
+lib/pd/pique/pique.c
+lib/pd/pique/pique.pd_linux
+lib/pd/rev1-final.pd
+lib/pd/rev1-stage.pd
+lib/pd/rev1~-help.pd
+lib/pd/rev1~.pd
+lib/pd/rev2~-help.pd
+lib/pd/rev2~.pd
+lib/pd/rev3~-help.pd
+lib/pd/rev3~.pd
+lib/pd/sigmund~/makefile
+lib/pd/sigmund~/sigmund~-help.pd
+lib/pd/sigmund~/sigmund~.c
+lib/pd/sigmund~/sigmund~.pd_linux
+lib/pd/stdout/makefile
+lib/pd/stdout/stdout-help.pd
+lib/pd/stdout/stdout.c
+lib/pd/stdout/stdout.pd_linux
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/1.introduction.txt
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig1.1.png
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig1.2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig1.3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig1.4.png
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig1.5.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig11.1.png
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig11.2.png
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig11.3.png
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig11.4.png
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.10.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.4.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.5.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.6.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.7.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.8.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig3.9.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig7.1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig7.2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig7.3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig7.4.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig7.5.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig7.6.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig8.1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig8.2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig8.3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig8.4.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig8.5.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig8.6.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig9.1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig9.2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/fig9.3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/index.htm
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/pdmanual.css
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/x1.htm
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/x2.htm
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/x3.htm
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/x4.htm
+%%PORTDOCS%%%%DOCSDIR%%/1.manual/x5.htm
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/00.INTRO.txt
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/01.PART1.hello.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/02.editing.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/03.connections.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/04.messages.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/05.counter.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/06.more.counters.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/07.time.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/08.depthfirst.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/09.send_receive.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/10.more.messages.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/11.review.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/12.PART2.subpatch.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/13.locality.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/14.dollarsigns.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/15.array.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/15.file.txt
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/16.more.arrays.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/17.PART3.midi.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/18.conditional.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/19.random.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/20.weighted-random.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/21.markov.chain.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/22.random-walk.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/23.sequencing.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/24.loops.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/dollarsign.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/dollarsign2.pd
+%%PORTDOCS%%%%DOCSDIR%%/2.control.examples/sendnumber.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A00.intro.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A00.intro.txt
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A01.sinewave.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A02.amplitude.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A03.line.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A04.line2.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A05.output.subpatch.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A06.frequency.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A07.fusion.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A08.beating.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A09.frequency.mod.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/A10.review.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B01.wavetables.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B02.two-wavetables.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B03.tabread4.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B04.tabread4.interpolation.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B05.tabread.FM.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B06.table.switching.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B07.sampler.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B08.sampler.loop.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B09.sampler.loop.smooth.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B10.sampler.scratch.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B11.sampler.nodoppler.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B12.sampler.transpose.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B13.sampler.overlap.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B14.sampler.rockafella.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B15.tabread4~-onset.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/B16.long-varispeed.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C01.nyquist.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C02.sawtooth-foldover.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C03.zipper.noise.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C04.control.to.signal.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C05.sampler.oneshot.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C06.signal.to.control.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C07.envelope.follower.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C08.analog.sequencer.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C09.sample.hold.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/C10.monophonic.synth.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D01.envelope.gen.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D02.adsr.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D03.envelope.dB.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D04.envelope.quartic.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D05.envelope.pitch.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D06.envelope.portamento.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D07.additive.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D08.table.spectrum.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D09.shepard.tone.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D10.sampler.notes.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D11.sampler.poly.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D12.sampler.bis.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D13.additive.qlist.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/D14.vibrato.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E01.spectrum.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E02.ring.modulation.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E03.octave.divider.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E04.difference.tone.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E05.chebychev.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E06.exponential.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E07.evenodd.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E08.phase.mod.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E09.FM.spectrum.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/E10.complex.FM.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F01.pulse.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F02.just.say.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F03.pulse.spectrum.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F04.waveshaping.pulse.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F05.ring.modulation.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F06.packets.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F07.packet.spectrum.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F08.two.cosines.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F09.declickit.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F10.sweepable.FM.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F11.anharmonic.FM.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F12.paf.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F13.paf.control.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/F14.wave.packet.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G01.delay.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G02.delay.loop.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G03.delay.variable.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G04.control.blocksize.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G05.execution.order.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G06.octave.doubler.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G07.shaker.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G08.reverb.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/G09.pitchshift.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H01.low-pass.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H02.high-pass.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H03.band-pass.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H04.filter.sweep.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H05.filter.floyd.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H06.envelope.follower.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H07.measure.spectrum.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H08.heterodyning.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H09.ssb.modulation.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H10.measurement.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H11.shelving.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H12.peaking.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H13.butterworth.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H14.all.pass.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H15.phaser.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/H16.adsr.filter.qlist.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I01.Fourier.analysis.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I02.Hann.window.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I03.resynthesis.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I04.noisegate.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I05.compressor.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I06.timbre.stamp.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I07.phase.vocoder.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I08.pvoc.reverb.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I09.sheep.from.goats.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/I10.phase.bash.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J01.even.odd.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J02.trapezoids.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J03.pulse.width.mod.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J04.corners.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J05.triangle.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J06.enveloping.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J07.oversampling.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J08.classicsynth.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/J09.bandlimited.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/adsr.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/buttercoef3.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/butterworth3~.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/filter-graph1.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/filter-graph2.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/osc-voice.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/output~.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/partial.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/qlist-sampler.txt
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/qlist.txt
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/qlist2.txt
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/reverb-echo.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/sampvoice.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/sampvoice2.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/shepvoice.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/sinevoice.pd
+%%PORTDOCS%%%%DOCSDIR%%/3.audio.examples/spectrum-partial.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/00.intro.txt
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/01.scalars.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/02.getting.data.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/03.setting.data.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/04.append.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/05.array.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/06.file.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/07.sequencer.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/08.selection.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/09.scaling.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/10.onoff.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/11.array.controls.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/12.beat-patterns.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/13.sliderule.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/14.partialtracer.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/add-trace.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/beat-maker.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/data-array.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/data-start.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/file.txt
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/osc-voice.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/output~.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/voice.pd
+%%PORTDOCS%%%%DOCSDIR%%/4.data.structures/z.txt
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/0_all_guis-INTRO.txt
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/acoustics-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/acoustics~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/adc~_dac~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/append-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/bag-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/bang-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/bang~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/biquad~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/block~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/bng-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/bp~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/canvas-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/change-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/clip~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/cos~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/cpole~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/cputime-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/czero_rev~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/czero~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/declare-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/delay-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/delread~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/delwrite~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/drawnumber-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/drawpolygon-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/element-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/env~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/exp~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/fft~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/float-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/framp~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/gatom-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/get-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/getsize-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/graph-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/hdial-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/help-intro.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/hip~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/hslider-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/int-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/key-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/line-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/line~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/list-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/log~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/lop~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/makefilename-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/makenote-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/math-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/message-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/metro.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/midi-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/moses-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/my_canvas-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/namecanvas-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/netreceive-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/netsend-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/noise~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/numbox2-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/openpanel-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/operators-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/osc~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/otherbinops-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/pack-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/pd-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/phasor~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/pipe-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/plot-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/pointer-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/poly-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/pow~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/print-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/print~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/qlist-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/qlist.txt
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/random-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/readsf~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/realtime-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/receive-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/route-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/rpole~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/rsqrt~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/rzero_rev~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/rzero~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/samphold~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/savepanel-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/select-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/send-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/send~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/set-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/setsize-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/setsize.txt
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/sigbinops-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/sig~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/snapshot~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/soundfiler-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/spigot-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/sqrt~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/stripnote-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/struct-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/sublist-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/swap-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/switch~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/table.txt
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabosc4~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabplay~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabread-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabread4~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabreceive~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabsend~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabwrite-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/tabwrite~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/text-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/textfile-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/textfile.txt
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/threshold~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/throw~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/timer-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/toggle-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/trigger-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/unpack-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/until-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/value-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/vcf~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/vdial-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/vd~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/vline~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/vslider-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/vu-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/wrap~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/writesf~-help.pd
+%%PORTDOCS%%%%DOCSDIR%%/5.reference/x_all_guis.pd
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/0.README.txt
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/dspobj~.c
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/makefile
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/obj1.c
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/obj2.c
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/obj3.c
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/obj4.c
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/obj5.c
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/test-dspobj~.pd
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/test-obj1.pd
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/test-obj2.pd
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/test-obj3.pd
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/test-obj4.pd
+%%PORTDOCS%%%%DOCSDIR%%/6.externs/test-obj5.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/soundfile-tools/1.ring-mod.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/soundfile-tools/2.bandpass.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/soundfile-tools/3.phase.vocoder.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/soundfile-tools/4.looper.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/soundfile-tools/5.reverb.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/soundfile-tools/6.vocoder.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/soundfile-tools/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/1.poly.synth.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/gadsr.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/numset.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/preset.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/preset1.txt
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/preset2.txt
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/preset3.txt
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/preset4.txt
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/synthvoice.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/synth/test-gadsr.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/tools/latency.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/tools/load-meter.pd
+%%PORTDOCS%%%%DOCSDIR%%/7.stuff/tools/testtone.pd
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/sound/bell.aiff
+%%PORTDOCS%%%%DOCSDIR%%/sound/voice.wav
+%%PORTDOCS%%%%DOCSDIR%%/sound/voice2.wav
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/sound
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/7.stuff/tools
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/7.stuff/synth
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/7.stuff/soundfile-tools
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/7.stuff
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/6.externs
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/5.reference
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/4.data.structures
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/3.audio.examples
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/2.control.examples
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/1.manual
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm lib/pd/stdout
+@dirrm lib/pd/sigmund~
+@dirrm lib/pd/pique
+@dirrm lib/pd/pd~
+@dirrm lib/pd/lrshift~
+@dirrm lib/pd/loop~
+@dirrm lib/pd/fiddle~
+@dirrm lib/pd/expr~
+@dirrm lib/pd/choice
+@dirrm lib/pd/bonk~
+@dirrm lib/pd/bin
+@dirrm lib/pd