# 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: # # libgramofile # libgramofile/pkg-descr # libgramofile/Makefile # libgramofile/pkg-plist # libgramofile/distinfo # echo c - libgramofile mkdir -p libgramofile > /dev/null 2>&1 echo x - libgramofile/pkg-descr sed 's/^X//' >libgramofile/pkg-descr << 'END-of-libgramofile/pkg-descr' Xlibgramofile was forked from GramoFile 1.6P and includes a library to XGramoFile. GramoFile is a program that you can record audio of gramophone Xrecords (for example), process the signal and listent to the results. XYou can also make CDs with the music of your favorite records. X XOne of the most important parts of GramoFile is the ability to process Xdigital audio signals. Through the application of several filters it is Xpossible to accomplish a significant reduction of disturbances like ticks Xand scratches. X XAnother interesting feature is the track splitting. Just make one .wav file Xof an entire side of an record and GramoFile will detect where the individual Xtracks are located. This happens fully automatically, without need to set Xany options. More experienced users may fine-tune the algorithm, or change Xthe detected track starts and ends, but generally that will not be Xnecessary. Track-times are saved in an editable (plaintext) .tracks file, Xthat will be used during the signal processing to produce one processed X.wav file for each individual track. X XWWW: http://sourceforge.net/projects/libgramofile END-of-libgramofile/pkg-descr echo x - libgramofile/Makefile sed 's/^X//' >libgramofile/Makefile << 'END-of-libgramofile/Makefile' X# New ports collection makefile for: libgramofile X# Date created: 2008-04-12 X# Whom: Rong-En Fan X# X# $FreeBSD$ X# X XPORTNAME= libgramofile XPORTVERSION= 0.06 XCATEGORIES= audio XMASTER_SITES= SF X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Library for audio recording and tick/scratch reduction X XLIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3 X XCONFLICTS= gramofile-* X XUSE_GMAKE= yes XGNU_CONFIGURE= yes X XCONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ X CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ X LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" X XMAN1= bplay.1 brec.1 gramofile.1 libgramofile.1 X X.include X Xpost-patch: X.for file in bplay.c sndfunc.c X @${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \ X ${WRKSRC}/bplaysrc/${file} X @${REINPLACE_CMD} -e '/^BPLAY_LIBS/s,-lossaudio,,; \ X s,echo aout,echo elf,;' \ X ${WRKSRC}/configure X @${TOUCH} ${WRKSRC}/* X.endfor X X.include END-of-libgramofile/Makefile echo x - libgramofile/pkg-plist sed 's/^X//' >libgramofile/pkg-plist << 'END-of-libgramofile/pkg-plist' Xbin/bplay_gramo Xbin/brec_gramo Xbin/gramofile Xinclude/gramofile.h Xlib/libgramofile.a Xlib/libgramofile.la Xlib/libgramofile.so Xlib/libgramofile.so.0 END-of-libgramofile/pkg-plist echo x - libgramofile/distinfo sed 's/^X//' >libgramofile/distinfo << 'END-of-libgramofile/distinfo' XMD5 (libgramofile-0.06.tar.gz) = 4b6e3065a42ed7a10b7c04e456317873 XSHA256 (libgramofile-0.06.tar.gz) = 9a0902d1330ae2f8ec29d288953e06c5b5489cfa986a7343b679f785bc150d05 XSIZE (libgramofile-0.06.tar.gz) = 326805 XMD5 (gramofile_1.6-7.diff.gz) = 634297336cae62a7c8f6f8c0f99dfdb4 XSHA256 (gramofile_1.6-7.diff.gz) = 0964fc812fa39c1d4631fdd765e184703049630b52459832006871b6637e0c40 XSIZE (gramofile_1.6-7.diff.gz) = 25428 END-of-libgramofile/distinfo exit