Bug 18879 - New ports - lsh 0.9.10
Summary: New ports - lsh 0.9.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-29 18:10 UTC by Eric S
Modified: 2000-06-04 22:10 UTC (History)
0 users

See Also:


Attachments
file.shar (6.29 KB, text/plain)
2000-05-29 18:10 UTC, Eric S
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric S 2000-05-29 18:10:01 UTC
[This is my first port submission in quite some time, I'm pretty sure I'm
following all the guidelines, but not certain.  portlint likes it, at least]

lsh is a client that can connect to the corresponding lshd server.  It uses
the SECSH protocol, which means that it is compatible with SSH 2.0, except
for file transfer, which is not part of SECSH.

SECSH uses compression and encryption algorithms that are unencumbered, and
lsh itself is GPL.

lsh is not as feature-rich as OpenSSH, as it doesn't currently support
password-protected keyrings, the SSH 1.X protocols, TCP wrappers, etc.
On the other hand, it doesn't require OpenSSL, and doesn't take a lot of
work to avoid patented algorithms.

Port author's notes on usage and common problems can be found at
WWW: http://gz.geekazoid.com/lsh/
Comment 1 Will Andrews freebsd_committer freebsd_triage 2000-06-02 03:56:38 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 Will Andrews 2000-06-02 04:42:04 UTC
Hi,

I'm having trouble compiling this port (4.0-STABLE):

cc -o xwave -O      -L/usr/X11R6/lib xwave.o filebrowse.o menu.o
fileop.o edit.o graphics.o button.o       audio.o sample_settings.o
misc.o status.o record_dialog.o       audio_file.o aifc.o effects.o
help.o riff.o au.o  -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
-L../ccitt -lccitt -L../adpcm2pcm -ladpcm -L../ieee -lieee -lm -lc      
/usr/X11R6/lib/libXaw.so: warning: tmpnam() possibly used unsafely;
consider using mkstemp()
../lib/libfwf.a(Button.o)(.data+0x1a0): undefined reference to
`xfwfLabelClassRec'
../lib/libfwf.a(Group.o): In function `expose':
Group.o(.text+0xc9d): undefined reference to `xfwfRowColClassRec'
../lib/libfwf.a(Group.o): In function `insert_child':
Group.o(.text+0xd4d): undefined reference to `xfwfRowColClassRec'
../lib/libfwf.a(Group.o)(.data+0xe0): undefined reference to
`xfwfRowColClassRec'
*** Error code 1

Any ideas?

-- 
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?
Comment 3 tkato 2000-06-03 00:59:37 UTC
> Any ideas?

You probably made some mistakes during unpacking archive. It can be 
built with no modification on my system.

However, initial port surely has some minor problems. I tried to fix 
as follows. Please review it.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xwave
#	xwave/Makefile
#	xwave/files
#	xwave/files/md5
#	xwave/patches
#	xwave/patches/patch-aa
#	xwave/patches/patch-ab
#	xwave/patches/patch-ac
#	xwave/patches/patch-ad
#	xwave/patches/patch-ae
#	xwave/patches/patch-af
#	xwave/patches/patch-ag
#	xwave/patches/patch-ah
#	xwave/patches/patch-ai
#	xwave/patches/patch-aj
#	xwave/patches/patch-ak
#	xwave/patches/patch-al
#	xwave/patches/patch-am
#	xwave/pkg
#	xwave/pkg/COMMENT
#	xwave/pkg/DESCR
#	xwave/pkg/PLIST
#
echo c - xwave
mkdir -p xwave > /dev/null 2>&1
echo x - xwave/Makefile
sed 's/^X//' >xwave/Makefile << 'END-of-xwave/Makefile'
X# New ports collection makefile for:	xwave
X# Date created:			17 May 2000
X# Whom:				Martin Kraft <martin.kraft@fal.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xwave
XPORTVERSION=	0.6
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	apps/sound/editors
X
XMAINTAINER=	ports@FreeBSD.org
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XUSE_IMAKE=	yes
X
X# Sorry, no man page or other types of docs yet.
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/src/XWave ${PREFIX}/lib/X11/app-defaults
X
X.include <bsd.port.mk>
END-of-xwave/Makefile
echo c - xwave/files
mkdir -p xwave/files > /dev/null 2>&1
echo x - xwave/files/md5
sed 's/^X//' >xwave/files/md5 << 'END-of-xwave/files/md5'
XMD5 (xwave-0.6.tar.gz) = c0b062bfc444dc437aedeaa699a381e7
END-of-xwave/files/md5
echo c - xwave/patches
mkdir -p xwave/patches > /dev/null 2>&1
echo x - xwave/patches/patch-aa
sed 's/^X//' >xwave/patches/patch-aa << 'END-of-xwave/patches/patch-aa'
X--- src/Imakefile.orig	Wed Nov 20 03:51:58 1996
X+++ src/Imakefile	Sat Jun  3 00:00:00 2000
X@@ -21,6 +21,6 @@
X all:: $(PROGRAMS)
X 
X depend::
X-	$(DEPEND) $(EXTRA_INCLUDES) $(SRCS) >>Makefile
X+	$(DEPEND) $(EXTRA_INCLUDES) -I$(INCROOT) $(SRCS) >>Makefile
X 
X 
END-of-xwave/patches/patch-aa
echo x - xwave/patches/patch-ab
sed 's/^X//' >xwave/patches/patch-ab << 'END-of-xwave/patches/patch-ab'
X--- src/aifc.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/aifc.c	Sat Jun  3 00:00:00 2000
X@@ -9,7 +9,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
END-of-xwave/patches/patch-ab
echo x - xwave/patches/patch-ac
sed 's/^X//' >xwave/patches/patch-ac << 'END-of-xwave/patches/patch-ac'
X--- src/au.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/au.c	Sat Jun  3 00:00:00 2000
X@@ -32,7 +32,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
END-of-xwave/patches/patch-ac
echo x - xwave/patches/patch-ad
sed 's/^X//' >xwave/patches/patch-ad << 'END-of-xwave/patches/patch-ad'
X--- src/audio.c.orig	Tue Nov 26 19:13:44 1996
X+++ src/audio.c	Sat Jun  3 00:00:00 2000
X@@ -37,7 +37,7 @@
X #ifdef linux
X #include <linux/soundcard.h>
X 
X-#elif defined(FreeBSD)
X+#elif defined(__FreeBSD__)
X #include <machine/soundcard.h>
X 
X #elif defined(sgi)
X@@ -55,7 +55,7 @@
X #include "sample_settings.h"
X #include "audio.h"
X 
X-#if defined(linux) || defined (FreeBSD) || defined(sun) 
X+#if defined(linux) || defined (__FreeBSD__) || defined(sun) 
X static int set_dsp(int o_mode,int res,int channels,int freq,int *buf_size);
X #endif
X 
X@@ -67,7 +67,7 @@
X static Audio_File af;
X static int stop_record;
X 
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X int set_dsp(int o_mode,int res, int channels, int freq, int *buf_size)
X {
X     int check;
X@@ -370,7 +370,7 @@
X 
X void play_file(char *fname,Main_Bool *mb)
X {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X #elif defined(sgi)
X     ALport port;
X@@ -384,7 +384,7 @@
X 	return;
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     if ((audio=set_dsp(O_WRONLY,af.bps,af.channels,af.freq,&buf_size))==-1) {
X 	fprintf(stderr,"XWave: Error ! Cannot set dsp !\n");
X 	close(af.fd);
X@@ -404,7 +404,7 @@
X     if ((buffer=malloc(buf_size))==NULL) {
X 	fprintf(stderr,"XWave: Error ! Cannot alloc mem !\n");
X 	close(af.fd);
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -413,7 +413,7 @@
X 	return;
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     while ((length=af_read(af,buffer,buf_size))>0) {
X 	if (write(audio, buffer, length)==-1) break;
X     }
X@@ -440,7 +440,7 @@
X     int offset=0,playlength,length;
X #ifdef sgi
X     ALport port;
X-#elif defined(linux) || defined (FreeBSD) || defined (sun)
X+#elif defined(linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_WRONLY,wd->res,wd->channels,wd->freq,&buf_size))==-1) {
X@@ -473,7 +473,7 @@
X 	buffer=wd->buffer+offset;
X 	while (playlength>0) {
X 	    if (playlength<buf_size) buf_size=playlength;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    if (write(audio, buffer, buf_size)==-1) {
X 		close(audio);
X 		kill((pid_t) getppid(),SIGUSR1);
X@@ -497,7 +497,7 @@
X 	wd2af(wd,&af);
X 	af_rewind(af);
X 	if (af_seek(af,offset,SEEK_CUR)==AF_ERROR) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    close(audio);
X #elif defined(sgi)
X 	    ALcloseport(port);
X@@ -510,7 +510,7 @@
X 	while (playlength>0) {
X 	    if (playlength<buf_size) buf_size=playlength;
X 	    if ((length=af_read(af,(char*) md->mg->fbuf,buf_size))==-1) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 		close(audio);
X #elif defined(sgi)
X 		ALcloseport(port);
X@@ -518,7 +518,7 @@
X 		kill((pid_t) getppid(),SIGUSR1);
X 		return;
X 	    }
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    if (write(audio,(char*) md->mg->fbuf,length)==-1) {
X 		close(audio);
X 		kill((pid_t) getppid(),SIGUSR1);
X@@ -536,7 +536,7 @@
X 	}
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     close(audio);
X #elif defined(sgi)
X     while (ALgetfilled(port)) sginap(2);
X@@ -556,7 +556,7 @@
X     void write_length();
X     byte *data=NULL;
X     int abuf_size,count;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_RDONLY,res,mode,freq,&abuf_size))==-1) {
X@@ -577,7 +577,7 @@
X     
X     if ((data = (byte *) malloc(abuf_size)) == NULL) {
X 	fprintf(stderr,"XWave: Error while alloc mem for audio_buffer !\n");
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -595,7 +595,7 @@
X     
X     if (af_open(fname,&af,AF_NEW)==AF_ERROR) {
X 	free(data);
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -608,7 +608,7 @@
X     signal(SIGUSR1,write_length);
X     
X     while(1) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	if ((count=read(audio, data, abuf_size))==-1) {
X 	    close(audio);
X 	    af_close(af);
X@@ -632,7 +632,7 @@
X 	    return;
X 	}
X 	if ((count=af_write(af,(char*)data,count))==AF_ERROR) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    close(audio);
X #elif defined(sgi)
X 	    ALcloseport(port);
END-of-xwave/patches/patch-ad
echo x - xwave/patches/patch-ae
sed 's/^X//' >xwave/patches/patch-ae << 'END-of-xwave/patches/patch-ae'
X--- src/button.c.orig	Tue Nov 19 21:27:11 1996
X+++ src/button.c	Sat Jun  3 00:00:00 2000
X@@ -521,7 +521,7 @@
X     now_clock=clock();
X     sample_time=(float)md->wd->tlength/(float)md->wd->freq;
X 
X-#if defined(linux) || defined (FreeBSD) || defined(sun)
X+#if defined(linux) || defined (__FreeBSD__) || defined(sun)
X     gone_time=(float)(now_clock-start_clock)/(float)CLOCKS_PER_SEC;
X #elif defined(sgi)
X     gone_time=(float)(now_clock-start_clock)/(float)750000;
END-of-xwave/patches/patch-ae
echo x - xwave/patches/patch-af
sed 's/^X//' >xwave/patches/patch-af << 'END-of-xwave/patches/patch-af'
X--- src/effects.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/effects.c	Sat Jun  3 00:00:00 2000
X@@ -348,7 +348,7 @@
X 	
X 	switch (sr->res) {
X 	 case 8: {
X-#if defined (linux) || defined (FreeBSD) 
X+#if defined (linux) || defined (__FreeBSD__) 
X 	     for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)+1]+128;
X #elif defined (sgi) || defined (sun)
X 	     for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)]+128;
X@@ -356,7 +356,7 @@
X 	     break;
X 	 }
X 	 case 16: {
X-#if defined (linux) || defined (FreeBSD) 
X+#if defined (linux) || defined (__FreeBSD__) 
X 	     for (i=0;i<wd->length;i++) newbuf[(i<<1)+1]=obuf[i]-128;
X #elif defined (sgi) || defined (sun)
X 	     for (i=0;i<wd->length;i++) newbuf[(i<<1)]=obuf[i]-128;
END-of-xwave/patches/patch-af
echo x - xwave/patches/patch-ag
sed 's/^X//' >xwave/patches/patch-ag << 'END-of-xwave/patches/patch-ag'
X--- src/endian.h.orig	Mon Nov  9 08:22:55 1998
X+++ src/endian.h	Sat Jun  3 00:00:00 2000
X@@ -16,7 +16,7 @@
X #define big_endian 1
X #endif
X 
X-#elif defined (linux) || defined (sun) || defined (FreeBSD)
X+#elif defined (linux) || defined (sun) || defined (__FreeBSD__)
X 
X #if BYTE_ORDER==LITTLE_ENDIAN
X #define little_endian 1
END-of-xwave/patches/patch-ag
echo x - xwave/patches/patch-ah
sed 's/^X//' >xwave/patches/patch-ah << 'END-of-xwave/patches/patch-ah'
X--- src/graphics.c.orig	Mon Nov 25 21:33:43 1996
X+++ src/graphics.c	Sat Jun  3 00:00:00 2000
X@@ -30,7 +30,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
X@@ -1442,7 +1442,7 @@
X     if (md->mb->exposing) return;
X     */
X     
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X     if (resizing) {
X 	resizing=FALSE;
X 	return;
X@@ -1498,7 +1498,7 @@
X 
X void expose_canvas (Widget w, Main_Data *md, XExposeEvent *event, Boolean *flg)
X {
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X     if (resizing) {
X 	if (!event->count) resizing=FALSE;
X 	return;
END-of-xwave/patches/patch-ah
echo x - xwave/patches/patch-ai
sed 's/^X//' >xwave/patches/patch-ai << 'END-of-xwave/patches/patch-ai'
X--- src/record_dialog.c.orig	Tue Nov 19 23:24:36 1996
X+++ src/record_dialog.c	Sat Jun  3 00:00:00 2000
X@@ -498,7 +498,7 @@
X     sprintf(MD->mw->messages,"%.2f kbytes (%.2fs)",
X 	    (float)playsize/1024,recordtime);
X     XtVaSetValues(label5,XtNlabel, MD->mw->messages, NULL);
X-#if defined(linux)||defined(FreeBSD)||defined(sun)
X+#if defined(linux)||defined(__FreeBSD__)||defined(sun)
X     usleep(80000);
X #elif defined(sgi)
X     sginap(CLK_TCK/(ONE_SECOND/80000));
END-of-xwave/patches/patch-ai
echo x - xwave/patches/patch-aj
sed 's/^X//' >xwave/patches/patch-aj << 'END-of-xwave/patches/patch-aj'
X--- src/riff.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/riff.c	Sat Jun  3 00:00:00 2000
X@@ -33,7 +33,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
END-of-xwave/patches/patch-aj
echo x - xwave/patches/patch-ak
sed 's/^X//' >xwave/patches/patch-ak << 'END-of-xwave/patches/patch-ak'
X--- src/types.h.orig	Mon Nov  9 08:22:55 1998
X+++ src/types.h	Sat Jun  3 00:00:00 2000
X@@ -27,7 +27,7 @@
X typedef unsigned char byte;
X typedef byte bool;
X 
X-#ifdef FreeBSD
X+#ifdef __FreeBSD__
X typedef unsigned long ulong;
X #endif
X 
END-of-xwave/patches/patch-ak
echo x - xwave/patches/patch-al
sed 's/^X//' >xwave/patches/patch-al << 'END-of-xwave/patches/patch-al'
X--- FWF/Imakefile.orig	Thu Feb 15 23:43:46 1996
X+++ FWF/Imakefile	Sat Jun  3 00:00:00 2000
X@@ -9,6 +9,7 @@
X MakeDirectories(all,$(ALLDIRS))
X 
X InitSubdirs($(SUBDIRS))
X+DependSubdirs($(SUBDIRS))
X MakeObjectsSubdirs($(SUBDIRS))
X MakeExecsSubdirs($(SUBDIRS))
X GatherDescriptionSubdirs($(SUBDIRS))
END-of-xwave/patches/patch-al
echo x - xwave/patches/patch-am
sed 's/^X//' >xwave/patches/patch-am << 'END-of-xwave/patches/patch-am'
X--- FWF/src/Imakefile.orig	Thu Feb 15 23:38:37 1996
X+++ FWF/src/Imakefile	Sat Jun  3 00:00:00 2000
X@@ -34,6 +34,7 @@
X 
X 
X InitSubdirs($(SUBDIRS))
X+DependSubdirs($(SUBDIRS))
X MakeObjectsSubdirs($(SUBDIRS))
X MakeExecsSubdirs($(SUBDIRS))
X GatherDescriptionSubdirs($(SUBDIRS))
END-of-xwave/patches/patch-am
echo c - xwave/pkg
mkdir -p xwave/pkg > /dev/null 2>&1
echo x - xwave/pkg/COMMENT
sed 's/^X//' >xwave/pkg/COMMENT << 'END-of-xwave/pkg/COMMENT'
XAn audio player, recorder, editor  for the XWindow System
END-of-xwave/pkg/COMMENT
echo x - xwave/pkg/DESCR
sed 's/^X//' >xwave/pkg/DESCR << 'END-of-xwave/pkg/DESCR'
XXwave is an audio editor, player, recorder for XWindow System,
X      -  supports editing of large files (on hdd),
X      -  cut,copy,paste,merge,
X      -  some effects (echo,reverse,swap channels,resample,volume),
X      -  supports RIFF,AIFF,AIFC,AU
X      -  Linux,SGI,SUN,FreeBSD
X
XThe user interface of xwave is based on the Athena Widget
XSet and some Widgets from FWF.
X
Xxwave was written and is maintained by
XKai Kollmorgen <kkollmor@informatik.uni-rostock.de>.
X
X- Martin Kraft
Xmartin.kraft@fal.de
END-of-xwave/pkg/DESCR
echo x - xwave/pkg/PLIST
sed 's/^X//' >xwave/pkg/PLIST << 'END-of-xwave/pkg/PLIST'
Xbin/xwave
Xlib/X11/app-defaults/XWave
END-of-xwave/pkg/PLIST
exit




-- 
KATO Tsuguru / tkato@prontomail.ne.jp
                     
Sent by Japanese ProntoMail
Comment 4 sprice 2000-06-04 22:07:01 UTC
----- Forwarded message from KATO Tsuguru <tkato@prontomail.ne.jp> -----

Date: Mon, 5 Jun 2000 05:38:12 +0900
From: "KATO Tsuguru" <tkato@prontomail.ne.jp>
To: Will Andrews <andrews@technologist.com>
Cc: freebsd-ports@FreeBSD.ORG
Subject: Re: ports/18879: New port audio/xwave
X-Mailer: Web Based Pronto
Sender: owner-freebsd-ports@FreeBSD.ORG

> I'm not sure where the problem is here... I'm running 4.0-STABLE.

Ah, I'm very sorry. You've made no mistake. This port requires 
Xpm library. :-(

By the way, I found quite improved version of this program. 
Following archve is one for that version. Additional man page 
is borrowed from Debian package.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xwave
#	xwave/Makefile
#	xwave/files
#	xwave/files/md5
#	xwave/files/xwave.man
#	xwave/patches
#	xwave/patches/patch-aa
#	xwave/patches/patch-ab
#	xwave/patches/patch-ac
#	xwave/patches/patch-ad
#	xwave/patches/patch-ae
#	xwave/patches/patch-af
#	xwave/patches/patch-ag
#	xwave/patches/patch-ah
#	xwave/patches/patch-ai
#	xwave/patches/patch-aj
#	xwave/patches/patch-ak
#	xwave/patches/patch-al
#	xwave/patches/patch-am
#	xwave/pkg
#	xwave/pkg/COMMENT
#	xwave/pkg/DESCR
#	xwave/pkg/PLIST
#
echo c - xwave
mkdir -p xwave > /dev/null 2>&1
echo x - xwave/Makefile
sed 's/^X//' >xwave/Makefile << 'END-of-xwave/Makefile'
X# New ports collection makefile for:	xwave
X# Date created:			17 May 2000
X# Whom:				Martin Kraft <martin.kraft@fal.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xwave
XPORTVERSION=	0.6.2.2
XCATEGORIES=	audio
XMASTER_SITES=	http://www.physics.adelaide.edu.au/~jwoithe/
XDISTFILES=	${PORTNAME}2v2.tgz
X
XPATCH_SITES=	${MASTER_SITES}
XPATCHFILES=	${PORTNAME}2-981109-991019.diff
XPATCH_DIST_STRIP=	-p1
X
XMAINTAINER=	ports@FreeBSD.org
X
XLIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
X
XWRKSRC=		${WRKDIR}/${PORTNAME}2-981109
XUSE_IMAKE=      yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/src/XWave ${PREFIX}/lib/X11/app-defaults
X	${INSTALL_MAN} ${FILESDIR}/xwave.man ${PREFIX}/man/man1/xwave.1
X
X.include <bsd.port.mk>
END-of-xwave/Makefile
echo c - xwave/files
mkdir -p xwave/files > /dev/null 2>&1
echo x - xwave/files/md5
sed 's/^X//' >xwave/files/md5 << 'END-of-xwave/files/md5'
XMD5 (xwave2v2.tgz) = b472c76e6ee67a734aacc22c499e8633
XMD5 (xwave2-981109-991019.diff) = 7a4f48ec6ce0319a133a26064c6df553
END-of-xwave/files/md5
echo x - xwave/files/xwave.man
sed 's/^X//' >xwave/files/xwave.man << 'END-of-xwave/files/xwave.man'
X.TH XWAVE 1 "17 July 1999"
X.SH NAME
Xxwave \- edits audio files in X Window System
X.SH SYNOPSIS
X.B xwave
X[
X.B \-h
X|
X.B \-?
X|
X.B \-help
X]
X[
X.B \-device " device"
X]
X[
X.BI \-wdir " working-directory"
X]
X[
X.BI \-maxmem " mem-in-bytes"
X]
X.I audio-file
X ...
X.LP
X
X.SH DESCRIPTION
X.B XWave
Xcan edit, modify, and apply effects to sound files.
X
XIt supports RIFF (also known as WAV), AIFC, AU and RAW audio formats
Xwith different compression schemes (PCM, ALAW, ULAW and ADPCM).
X
X.SH OPTIONS
X.TP
X.B \-h
X.B \-?
X.B \-help
XPrints a short help.
X.TP
X.BI \-device " device"
XUse the specified 
X.I device
Xfor playing and recording. Defaults to /dev/dsp
X.TP
X.BI \-wdir " working-directory"
XThe directory where files will be loaded and saved by default.
X.TP
X.BI \-maxmem " mem-in-bytes"
XUse at most 
X.I mem-in-bytes
Xbytes of memory per file loaded. If a file exceeds
X.I mem-in-bytes
Xbytes, it will be played and edited on disk.
X
X.SH RESOURCES
X.TP
X.BI XWave*wdir
XThe working directory.
X
X.TP
X.BI XWave*tdir
XThe temporary directory where files which cannot fit in physical
Xmemory are edited. This is overridden by the environment variables
X.I TMP
Xand
X.I TMPDIR.
X
X.TP
X.BI XWave*device
XThe device used for playing and recording.
X
X.TP
X.BI XWave*maxmem
XMaximum memory in bytes to be allocated in RAM. Any edited file
Xexceeding this size will be edited on disk.
X

X.SH ENVIRONMENT
X.TP
X.BI TMP
XIf this variable exists and points to a writable directory, this
Xdirectory will be used as temporary directory.
X
X.TP
X.BI TMPDIR
XSame as 
X.I TMP.
X
X.SH NOTES
X.B Xwave
Xwill try to find the temporary directory by searching successively:
X.PP
Xthe environment variable
X.I TMP,
X.PP
Xthe environment variable
X.I TMPDIR,
X.PP
Xthe X resource
X.I XWave*tdir,
X.PP 
Xor the hard-coded /tmp directory.
X
X.SH AUTHOR
X.PP
XThis man page has been written for Debian by Philippe Troin
X<phil@fifi.org>.
X
X\"  LocalWords:  XWAVE xwave wdir maxmem mem XWave RIFF WAV AIFC AU PCM ALAW
X\"  LocalWords:  ULAW ADPCM tdir TMP TMPDIR tmp Debian Troin
END-of-xwave/files/xwave.man
echo c - xwave/patches
mkdir -p xwave/patches > /dev/null 2>&1
echo x - xwave/patches/patch-aa
sed 's/^X//' >xwave/patches/patch-aa << 'END-of-xwave/patches/patch-aa'
X--- src/Imakefile.orig	Mon Nov  9 08:22:55 1998
X+++ src/Imakefile	Sat Jun  3 00:00:00 2000
X@@ -14,13 +14,13 @@
X 
X AUDIOLIBS=-L../ccitt -lccitt -L../adpcm2pcm -ladpcm -L../ieee -lieee
X XLIBS= -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
X-LIBS=  $(OSLIBS) $(XLIBS) $(AUDIOLIBS) -lm -lc 
X+LIBS=  $(OSLIBS) $(XLIBS) $(AUDIOLIBS) -lm
X 
X NormalProgramTarget(xwave,$(OBJS),,$(LIBS),)
X 
X all:: $(PROGRAMS)
X 
X depend::
X-	$(DEPEND) $(EXTRA_INCLUDES) $(SRCS) >>Makefile
X+	$(DEPEND) $(EXTRA_INCLUDES) -I$(INCROOT) $(SRCS) >>Makefile
X 
X 
END-of-xwave/patches/patch-aa
echo x - xwave/patches/patch-ab
sed 's/^X//' >xwave/patches/patch-ab << 'END-of-xwave/patches/patch-ab'
X--- src/aifc.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/aifc.c	Sat Jun  3 00:00:00 2000
X@@ -9,7 +9,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
END-of-xwave/patches/patch-ab
echo x - xwave/patches/patch-ac
sed 's/^X//' >xwave/patches/patch-ac << 'END-of-xwave/patches/patch-ac'
X--- src/au.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/au.c	Sat Jun  3 00:00:00 2000
X@@ -32,7 +32,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
END-of-xwave/patches/patch-ac
echo x - xwave/patches/patch-ad
sed 's/^X//' >xwave/patches/patch-ad << 'END-of-xwave/patches/patch-ad'
X--- src/audio.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/audio.c	Sat Jun  3 00:00:00 2000
X@@ -37,7 +37,7 @@
X #ifdef linux
X #include <linux/soundcard.h>
X 
X-#elif defined(FreeBSD)
X+#elif defined(__FreeBSD__)
X #include <machine/soundcard.h>
X 
X #elif defined(sgi)
X@@ -55,7 +55,7 @@
X #include "sample_settings.h"
X #include "audio.h"
X 
X-#if defined(linux) || defined (FreeBSD) || defined(sun) 
X+#if defined(linux) || defined (__FreeBSD__) || defined(sun) 
X static int set_dsp(int o_mode,int res,int channels,int freq,int *buf_size);
X #endif
X 
X@@ -67,7 +67,7 @@
X static Audio_File af;
X static int stop_record;
X 
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X int set_dsp(int o_mode,int res, int channels, int freq, int *buf_size)
X {
X     int check;
X@@ -369,7 +369,7 @@
X 
X void play_file(char *fname,Main_Bool *mb)
X {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X #elif defined(sgi)
X     ALport port;
X@@ -383,7 +383,7 @@
X 	return;
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     if ((audio=set_dsp(O_WRONLY,af.bps,af.channels,af.freq,&buf_size))==-1) {
X 	fprintf(stderr,"XWave: Error ! Cannot set dsp !\n");
X 	close(af.fd);
X@@ -403,7 +403,7 @@
X     if ((buffer=malloc(buf_size))==NULL) {
X 	fprintf(stderr,"XWave: Error ! Cannot alloc mem !\n");
X 	close(af.fd);
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -412,7 +412,7 @@
X 	return;
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     while ((length=af_read(af,buffer,buf_size))>0) {
X 	if (write(audio, buffer, length)==-1) break;
X     }
X@@ -439,7 +439,7 @@
X     int offset=0,playlength,length;
X #ifdef sgi
X     ALport port;
X-#elif defined(linux) || defined (FreeBSD) || defined (sun)
X+#elif defined(linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_WRONLY,wd->res,wd->channels,wd->freq,&buf_size))==-1) {
X@@ -472,7 +472,7 @@
X         buffer=wd->buffer+offset;
X         while (playlength>0) {
X             if (playlength<buf_size) buf_size=playlength;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X             if (write(audio, buffer, buf_size)==-1) {
X                 close(audio);
X                 kill((pid_t) getppid(),SIGUSR1);
X@@ -497,7 +497,7 @@
X         wd2af(wd,&af);
X         af_rewind(af);
X         if (af_seek(af,offset,SEEK_CUR)==AF_ERROR) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X             close(audio);
X #elif defined(sgi)
X             ALcloseport(port);
X@@ -510,7 +510,7 @@
X         while (playlength>0) {
X             if (playlength<buf_size) buf_size=playlength;
X             if ((length=af_read(af,(char*) md->mg->fbuf,buf_size))==-1) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X                 close(audio);
X #elif defined(sgi)
X                 ALcloseport(port);
X@@ -518,7 +518,7 @@
X                 kill((pid_t) getppid(),SIGUSR1);
X                 return;
X             }
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X             if (write(audio,(char*) md->mg->fbuf,length)==-1) {
X                 close(audio);
X                 kill((pid_t) getppid(),SIGUSR1);
X@@ -537,7 +537,7 @@
X         }
X     }
X     
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     close(audio);
X #elif defined(sgi)
X     while (ALgetfilled(port)) sginap(2);
X@@ -558,7 +558,7 @@
X     int offset=0,playlength,length;
X #ifdef sgi
X     ALport port;
X-#elif defined(linux) || defined (FreeBSD) || defined (sun)
X+#elif defined(linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_WRONLY,wd->res,wd->channels,wd->freq,&buf_size))==-1) {
X@@ -593,7 +593,7 @@
X 	((int *)shared_playpos)[0] = wd->playbeg*wd->bpspl;
X 	while (playlength>0) {
X 	    if (playlength<buf_size) buf_size=playlength;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    if (write(audio, buffer, buf_size)==-1) {
X 		((int *)shared_playpos)[0] = -1;
X 		close(audio);
X@@ -621,7 +621,7 @@
X 	af_rewind(af);
X 	if (af_seek(af,offset,SEEK_CUR)==AF_ERROR) {
X 	    ((int *)shared_playpos)[0] = -1;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    close(audio);
X #elif defined(sgi)
X 	    ALcloseport(port);
X@@ -636,7 +636,7 @@
X 	    if (playlength<buf_size) buf_size=playlength;
X 	    if ((length=af_read(af,(char*) md->mg->fbuf,buf_size))==-1) {
X 		((int *)shared_playpos)[0] = -1;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 		close(audio);
X #elif defined(sgi)
X 		ALcloseport(port);
X@@ -644,7 +644,7 @@
X 		kill((pid_t) getppid(),SIGUSR1);
X 		return;
X 	    }
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    if (write(audio,(char*) md->mg->fbuf,length)==-1) {
X 		((int *)shared_playpos)[0] = -1;
X 		close(audio);
X@@ -666,7 +666,7 @@
X     }
X     
X     ((int *)shared_playpos)[0] = -1;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     close(audio);
X #elif defined(sgi)
X     while (ALgetfilled(port)) sginap(2);
X@@ -686,7 +686,7 @@
X     void write_length();
X     byte *data=NULL;
X     int abuf_size,count;
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X     int audio;
X     
X     if ((audio=set_dsp(O_RDONLY,res,mode,freq,&abuf_size))==-1) {
X@@ -707,7 +707,7 @@
X     
X     if ((data = (byte *) malloc(abuf_size)) == NULL) {
X 	fprintf(stderr,"XWave: Error while alloc mem for audio_buffer !\n");
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -725,7 +725,7 @@
X     
X     if (af_open(fname,&af,AF_NEW)==AF_ERROR) {
X 	free(data);
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	close(audio);
X #elif defined(sgi)
X 	ALcloseport(port);
X@@ -738,7 +738,7 @@
X     signal(SIGUSR1,write_length);
X     
X     while(1) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	if ((count=read(audio, data, abuf_size))==-1) {
X 	    close(audio);
X 	    af_close(af);
X@@ -762,7 +762,7 @@
X 	    return;
X 	}
X 	if ((count=af_write(af,(char*)data,count))==AF_ERROR) {
X-#if defined (linux) || defined (FreeBSD) || defined (sun)
X+#if defined (linux) || defined (__FreeBSD__) || defined (sun)
X 	    close(audio);
X #elif defined(sgi)
X 	    ALcloseport(port);
END-of-xwave/patches/patch-ad
echo x - xwave/patches/patch-ae
sed 's/^X//' >xwave/patches/patch-ae << 'END-of-xwave/patches/patch-ae'
X--- src/button.c.orig	Tue Nov 19 21:27:11 1996
X+++ src/button.c	Sat Jun  3 00:00:00 2000
X@@ -521,7 +521,7 @@
X     now_clock=clock();
X     sample_time=(float)md->wd->tlength/(float)md->wd->freq;
X 
X-#if defined(linux) || defined (FreeBSD) || defined(sun)
X+#if defined(linux) || defined (__FreeBSD__) || defined(sun)
X     gone_time=(float)(now_clock-start_clock)/(float)CLOCKS_PER_SEC;
X #elif defined(sgi)
X     gone_time=(float)(now_clock-start_clock)/(float)750000;
END-of-xwave/patches/patch-ae
echo x - xwave/patches/patch-af
sed 's/^X//' >xwave/patches/patch-af << 'END-of-xwave/patches/patch-af'
X--- src/effects.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/effects.c	Sat Jun  3 00:00:00 2000
X@@ -348,7 +348,7 @@
X 	
X 	switch (sr->res) {
X 	 case 8: {
X-#if defined (linux) || defined (FreeBSD) 
X+#if defined (linux) || defined (__FreeBSD__) 
X 	     for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)+1]+128;
X #elif defined (sgi) || defined (sun)
X 	     for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)]+128;
X@@ -356,7 +356,7 @@
X 	     break;
X 	 }
X 	 case 16: {
X-#if defined (linux) || defined (FreeBSD) 
X+#if defined (linux) || defined (__FreeBSD__) 
X 	     for (i=0;i<wd->length;i++) newbuf[(i<<1)+1]=obuf[i]-128;
X #elif defined (sgi) || defined (sun)
X 	     for (i=0;i<wd->length;i++) newbuf[(i<<1)]=obuf[i]-128;
END-of-xwave/patches/patch-af
echo x - xwave/patches/patch-ag
sed 's/^X//' >xwave/patches/patch-ag << 'END-of-xwave/patches/patch-ag'
X--- src/endian.h.orig	Mon Nov  9 08:22:55 1998
X+++ src/endian.h	Sat Jun  3 00:00:00 2000
X@@ -16,7 +16,7 @@
X #define big_endian 1
X #endif
X 
X-#elif defined (linux) || defined (sun) || defined (FreeBSD)
X+#elif defined (linux) || defined (sun) || defined (__FreeBSD__)
X 
X #if BYTE_ORDER==LITTLE_ENDIAN
X #define little_endian 1
END-of-xwave/patches/patch-ag
echo x - xwave/patches/patch-ah
sed 's/^X//' >xwave/patches/patch-ah << 'END-of-xwave/patches/patch-ah'
X--- src/graphics.c.orig	Mon Nov 25 21:33:43 1996
X+++ src/graphics.c	Sat Jun  3 00:00:00 2000
X@@ -30,7 +30,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
X@@ -1442,7 +1442,7 @@
X     if (md->mb->exposing) return;
X     */
X     
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X     if (resizing) {
X 	resizing=FALSE;
X 	return;
X@@ -1498,7 +1498,7 @@
X 
X void expose_canvas (Widget w, Main_Data *md, XExposeEvent *event, Boolean *flg)
X {
X-#if defined (linux) || defined (FreeBSD)
X+#if defined (linux) || defined (__FreeBSD__)
X     if (resizing) {
X 	if (!event->count) resizing=FALSE;
X 	return;
END-of-xwave/patches/patch-ah
echo x - xwave/patches/patch-ai
sed 's/^X//' >xwave/patches/patch-ai << 'END-of-xwave/patches/patch-ai'
X--- src/record_dialog.c.orig	Tue Nov 19 23:24:36 1996
X+++ src/record_dialog.c	Sat Jun  3 00:00:00 2000
X@@ -498,7 +498,7 @@
X     sprintf(MD->mw->messages,"%.2f kbytes (%.2fs)",
X 	    (float)playsize/1024,recordtime);
X     XtVaSetValues(label5,XtNlabel, MD->mw->messages, NULL);
X-#if defined(linux)||defined(FreeBSD)||defined(sun)
X+#if defined(linux)||defined(__FreeBSD__)||defined(sun)
X     usleep(80000);
X #elif defined(sgi)
X     sginap(CLK_TCK/(ONE_SECOND/80000));
END-of-xwave/patches/patch-ai
echo x - xwave/patches/patch-aj
sed 's/^X//' >xwave/patches/patch-aj << 'END-of-xwave/patches/patch-aj'
X--- src/riff.c.orig	Mon Nov  9 08:22:55 1998
X+++ src/riff.c	Sat Jun  3 00:00:00 2000
X@@ -33,7 +33,7 @@
X 
X #ifdef linux
X #include <endian.h>
X-#elif defined (FreeBSD)
X+#elif defined (__FreeBSD__)
X #include <machine/endian.h>
X #elif defined (sgi)
X #include <sys/endian.h>
END-of-xwave/patches/patch-aj
echo x - xwave/patches/patch-ak
sed 's/^X//' >xwave/patches/patch-ak << 'END-of-xwave/patches/patch-ak'
X--- src/types.h.orig	Mon Nov  9 08:22:55 1998
X+++ src/types.h	Sat Jun  3 00:00:00 2000
X@@ -27,7 +27,7 @@
X typedef unsigned char byte;
X typedef byte bool;
X 
X-#ifdef FreeBSD
X+#ifdef __FreeBSD__
X typedef unsigned long ulong;
X #endif
X 
END-of-xwave/patches/patch-ak
echo x - xwave/patches/patch-al
sed 's/^X//' >xwave/patches/patch-al << 'END-of-xwave/patches/patch-al'
X--- FWF/Imakefile.orig	Thu Feb 15 23:43:46 1996
X+++ FWF/Imakefile	Sat Jun  3 00:00:00 2000
X@@ -9,6 +9,7 @@
X MakeDirectories(all,$(ALLDIRS))
X 
X InitSubdirs($(SUBDIRS))
X+DependSubdirs($(SUBDIRS))
X MakeObjectsSubdirs($(SUBDIRS))
X MakeExecsSubdirs($(SUBDIRS))
X GatherDescriptionSubdirs($(SUBDIRS))
END-of-xwave/patches/patch-al
echo x - xwave/patches/patch-am
sed 's/^X//' >xwave/patches/patch-am << 'END-of-xwave/patches/patch-am'
X--- FWF/src/Imakefile.orig	Thu Feb 15 23:38:37 1996
X+++ FWF/src/Imakefile	Sat Jun  3 00:00:00 2000
X@@ -34,6 +34,7 @@
X 
X 
X InitSubdirs($(SUBDIRS))
X+DependSubdirs($(SUBDIRS))
X MakeObjectsSubdirs($(SUBDIRS))
X MakeExecsSubdirs($(SUBDIRS))
X GatherDescriptionSubdirs($(SUBDIRS))
END-of-xwave/patches/patch-am
echo c - xwave/pkg
mkdir -p xwave/pkg > /dev/null 2>&1
echo x - xwave/pkg/COMMENT
sed 's/^X//' >xwave/pkg/COMMENT << 'END-of-xwave/pkg/COMMENT'
XAn audio player, recorder, editor  for the XWindow System
END-of-xwave/pkg/COMMENT
echo x - xwave/pkg/DESCR
sed 's/^X//' >xwave/pkg/DESCR << 'END-of-xwave/pkg/DESCR'
XXwave is an audio editor, player, recorder for X Window System,
X      -  supports editing of large files (on hdd),
X      -  cut,copy,paste,merge,
X      -  some effects (echo,reverse,swap channels,resample,volume),
X      -  supports RIFF,AIFF,AIFC,AU
X      -  Linux,SGI,SUN,FreeBSD
X
XThe user interface of xwave is based on the Athena Widget
XSet and some Widgets from FWF.
X
Xxwave was written and is maintained by
XKai Kollmorgen <kkollmor@informatik.uni-rostock.de>.
X
X- Martin Kraft
Xmartin.kraft@fal.de
END-of-xwave/pkg/DESCR
echo x - xwave/pkg/PLIST
sed 's/^X//' >xwave/pkg/PLIST << 'END-of-xwave/pkg/PLIST'
Xbin/xwave
Xlib/X11/app-defaults/XWave
END-of-xwave/pkg/PLIST
exit




-- 
KATO Tsuguru / tkato@prontomail.ne.jp
                     
Sent by Japanese ProntoMail


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message

----- End forwarded message -----

-- 
"This fence rail is pointy and cold and I think we're all going to come
down with an embarrassing medical condition if we keep sitting on it."
                                                    - Jordan K. Hubbard