1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Update to 0.9

PR:		117833
Submitted by:	Kengo Ichiki <kichiki@users.sourceforge.net> (maintainer)
This commit is contained in:
Martin Wilke 2007-12-16 23:20:42 +00:00
parent f8c0bfae6a
commit 11446363ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203885
3 changed files with 8 additions and 101 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= waon
PORTVERSION= 0.8
PORTVERSION= 0.9
CATEGORIES= audio
MASTER_SITES= SF
@ -20,11 +20,15 @@ LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3 \
USE_GNOME= gtk20
MAN1= waon.1 pv.1 gwaon.1
PLIST_FILES= bin/waon bin/pv bin/gwaon
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/waon ${PREFIX}/bin/waon
${INSTALL_PROGRAM} ${WRKSRC}/pv ${PREFIX}/bin/pv
${INSTALL_PROGRAM} ${WRKSRC}/gwaon ${PREFIX}/bin/gwaon
${INSTALL_MAN} ${WRKSRC}/waon.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/pv.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/gwaon.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (waon-0.8.tar.gz) = 74418940418c3162eda880b5744b8c46
SHA256 (waon-0.8.tar.gz) = 6f27e8d4c4f314208c7712bcb776ffcfaf562205a807a7b52b6bc873cc86787d
SIZE (waon-0.8.tar.gz) = 65994
MD5 (waon-0.9.tar.gz) = b31538d1b38f5234a922001c08037c18
SHA256 (waon-0.9.tar.gz) = 4730d4f744701f4d0092caba2198aa578ed4259d75c4407930b6c68a4513f789
SIZE (waon-0.9.tar.gz) = 88496

View File

@ -1,97 +0,0 @@
*** Makefile.orig Wed Dec 31 17:00:00 1969
--- Makefile Mon Oct 8 18:54:48 2007
***************
*** 0 ****
--- 1,92 ----
+
+ LD = $(CC)
+ RM = rm -f
+
+ all: waon pv gwaon
+
+ CFLAGS += \
+ -Wall -O3 \
+ `pkg-config --cflags fftw3` \
+ `pkg-config --cflags sndfile` \
+ `pkg-config --cflags ao` \
+ `pkg-config --cflags samplerate` \
+ `pkg-config --cflags gtk+-2.0`
+
+ ## waon
+ waon_LDFLAGS = \
+ -L/usr/local/lib \
+ `pkg-config --libs fftw3` \
+ `pkg-config --libs sndfile` \
+ -lm
+
+ waon_OBJS = \
+ main.o \
+ midi.o \
+ analyse.o \
+ fft.o \
+ hc.o \
+ snd.o
+
+ waon: $(waon_OBJS)
+ $(CC) $(CFLAGS) -o waon $(waon_OBJS) $(waon_LDFLAGS)
+
+ ## pv
+ pv_LIBS =\
+ `pkg-config --libs ao` \
+ `pkg-config --libs sndfile` \
+ `pkg-config --libs fftw3` \
+ `pkg-config --libs samplerate` \
+ -lm
+
+ pv_LDFLAGS =
+
+ pv_OBJ = \
+ pv.o \
+ pv-complex.o \
+ pv-conventional.o \
+ pv-ellis.o \
+ pv-freq.o \
+ pv-loose-lock.o \
+ hc.o \
+ fft.o \
+ snd.o \
+ ao-wrapper.o
+
+
+ pv: $(pv_OBJ)
+ $(LD) $(pv_LDFLAGS) -o pv $(pv_OBJ) $(pv_LIBS)
+
+ ## gwaon
+ gwaon_LIBS = \
+ `pkg-config --libs gtk+-2.0` \
+ `pkg-config --libs ao` \
+ `pkg-config --libs sndfile` \
+ `pkg-config --libs fftw3` \
+ `pkg-config --libs samplerate` \
+ -lm
+
+ gwaon_LDFLAGS =
+
+ gwaon_OBJ = \
+ gwaon.o \
+ gwaon-menu.o \
+ gwaon-about.o \
+ gwaon-wav.o \
+ gwaon-play.o \
+ pv-complex.o \
+ pv-conventional.o \
+ ao-wrapper.o \
+ gtk-color.o \
+ snd.o \
+ hc.o \
+ fft.o \
+ midi.o
+
+ gwaon: $(gwaon_OBJ)
+ $(LD) $(gwaon_LDFLAGS) -o gwaon $(gwaon_OBJ) $(gwaon_LIBS)
+
+ clean:
+ $(RM) *.o *~ *.core \
+ waon \
+ pv \
+ gwaon