From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 22 13:01:08 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4214C16A4CE for ; Tue, 22 Jun 2004 13:01:08 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3625D43D5E for ; Tue, 22 Jun 2004 13:01:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5MD0h1e049995 for ; Tue, 22 Jun 2004 13:00:43 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5MD0hJo049989; Tue, 22 Jun 2004 13:00:43 GMT (envelope-from gnats) Resent-Date: Tue, 22 Jun 2004 13:00:43 GMT Resent-Message-Id: <200406221300.i5MD0hJo049989@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jean-Yves Lefort Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 358F216A4CE for ; Tue, 22 Jun 2004 12:56:17 +0000 (GMT) Received: from gateway.lefort.net (212.68.242.203.brutele.be [212.68.242.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id D231843D49 for ; Tue, 22 Jun 2004 12:56:15 +0000 (GMT) (envelope-from jylefort@brutele.be) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id 40C7D54D7 for ; Tue, 22 Jun 2004 14:55:37 +0200 (CEST) Received: by jsite.lefort.net (Postfix, from userid 1000) id D2E1B22E28; Tue, 22 Jun 2004 14:55:36 +0200 (CEST) Message-Id: <20040622125536.D2E1B22E28@jsite.lefort.net> Date: Tue, 22 Jun 2004 14:55:36 +0200 (CEST) From: Jean-Yves Lefort To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68198: New port: audio/phatbeat, a beat counter X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jean-Yves Lefort List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 13:01:08 -0000 >Number: 68198 >Category: ports >Synopsis: New port: audio/phatbeat, a beat counter >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 22 13:00:42 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jean-Yves Lefort >Release: FreeBSD 4.10-RELEASE i386 >Organization: >Environment: System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu May 27 14:42:30 CEST 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386 >Description: >How-To-Repeat: >Fix: # 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: # # phatbeat # phatbeat/files # phatbeat/files/patch-Makefile # phatbeat/files/patch-phatbeat.cpp # phatbeat/pkg-plist # phatbeat/pkg-descr # phatbeat/distinfo # phatbeat/Makefile # echo c - phatbeat mkdir -p phatbeat > /dev/null 2>&1 echo c - phatbeat/files mkdir -p phatbeat/files > /dev/null 2>&1 echo x - phatbeat/files/patch-Makefile sed 's/^X//' >phatbeat/files/patch-Makefile << 'END-of-phatbeat/files/patch-Makefile' X--- Makefile.orig Tue Jun 22 14:28:51 2004 X+++ Makefile Tue Jun 22 14:47:27 2004 X@@ -1,11 +1,10 @@ X-CPP = g++ X-SDL_LIBS = `sdl-config --libs` X-SDL_CFLAGS = `sdl-config --cflags` X+SDL_LIBS = `$(SDL_CONFIG) --libs` X+SDL_CFLAGS = `$(SDL_CONFIG) --cflags` X ## dirs must be appended with a / character! X-LOCAL = /usr/local/ X-SHAREDIR = $(LOCAL)share/phatbeat/ X+LOCAL = $(PREFIX) X+SHAREDIR = $(LOCAL)/share/phatbeat/ X D_PFLAGS = -Wall -g ## For debugging, use this. X-PFLAGS = -Wall -finline-functions -O3 $(SDL_CFLAGS) X+PFLAGS = $(CFLAGS) $(SDL_CFLAGS) X XFLAGS = $(PFLAGS) $(SDL_LIBS) -lSDL_image -lm X PROGS = phatbeat phatx X X@@ -18,34 +17,34 @@ X all: $(PROGS) X X phatbeat: BeatCounter.o phatbeat.o X- $(CPP) $(PFLAGS) phatbeat.o BeatCounter.o -o phatbeat X+ $(CXX) $(PFLAGS) phatbeat.o BeatCounter.o -o phatbeat X X phatx: BeatCounter.o phatx.o numbers.o resize.o portability.o X- $(CPP) $(XFLAGS) portability.o phatx.o resize.o numbers.o BeatCounter.o -o phatx X+ $(CXX) $(XFLAGS) portability.o phatx.o resize.o numbers.o BeatCounter.o -o phatx X X BeatCounter.o: BeatCounter.h BeatCounter.cpp X- $(CPP) $(PFLAGS) -c BeatCounter.cpp X+ $(CXX) $(PFLAGS) -c BeatCounter.cpp X X numbers.o: numbers.h numbers.cpp portability.o X- $(CPP) $(PFLAGS) -c numbers.cpp X- X+ $(CXX) $(PFLAGS) -c numbers.cpp X+ X resize.o: resize.h resize.cpp X- $(CPP) $(PFLAGS) -c resize.cpp X+ $(CXX) $(PFLAGS) -c resize.cpp X X phatbeat.o: phatbeat.cpp X- $(CPP) $(PFLAGS) -c phatbeat.cpp X+ $(CXX) $(PFLAGS) -c phatbeat.cpp X X phatx.o: phatx.cpp X- $(CPP) $(PFLAGS) -c phatx.cpp X+ $(CXX) $(PFLAGS) -c phatx.cpp X X portability.o: portability.cpp X- $(CPP) $(PFLAGS) -D'SHAREDIR="$(SHAREDIR)"' -c portability.cpp X+ $(CXX) $(PFLAGS) -D'SHAREDIR="$(SHAREDIR)"' -c portability.cpp X X ## For compiling a win32 version under cygwin, issue X ## 'make phat_win', and it will do so. X X phat_win: BeatCounter.o phatx.o numbers.o resize.o phatres.o X- $(CPP) -o phat_win.exe phatx.o resize.o numbers.o BeatCounter.o portability.o phatres.o $(XFLAGS) X+ $(CXX) -o phat_win.exe phatx.o resize.o numbers.o BeatCounter.o portability.o phatres.o $(XFLAGS) X X phatres.o: phatres.rc X windres phatres.rc phatres.o X@@ -55,10 +54,10 @@ X X ## Installation routines for unix. X install: X- ## First, install the programs. X- /usr/bin/install -c -m 755 phatbeat $(LOCAL)/bin X- /usr/bin/install -c -m 755 phatx $(LOCAL)/bin X- /usr/bin/install -c -m 444 phatbeat.1 $(LOCAL)/man/man1 X- ## Then, the images X- mkdir -p $(SHAREDIR)/images X- /usr/bin/install -c -m 444 images/* $(SHAREDIR)/images X+ $(MKDIR) $(LOCAL)/bin X+ $(INSTALL_PROGRAM) phatbeat $(LOCAL)/bin X+ $(INSTALL_PROGRAM) phatx $(LOCAL)/bin X+ $(MKDIR) $(LOCAL)/man/man1 X+ $(INSTALL_MAN) phatbeat.1 $(LOCAL)/man/man1 X+ $(MKDIR) $(SHAREDIR)images X+ $(INSTALL_DATA) images/* $(SHAREDIR)images END-of-phatbeat/files/patch-Makefile echo x - phatbeat/files/patch-phatbeat.cpp sed 's/^X//' >phatbeat/files/patch-phatbeat.cpp << 'END-of-phatbeat/files/patch-phatbeat.cpp' X--- phatbeat.cpp.orig Tue Jun 22 02:34:13 2004 X+++ phatbeat.cpp Tue Jun 22 02:35:53 2004 X@@ -24,6 +24,9 @@ X #include "BeatCounter.h" X using namespace std; X X+#include X+#include X+#include X #include X using namespace std; X #include END-of-phatbeat/files/patch-phatbeat.cpp echo x - phatbeat/pkg-plist sed 's/^X//' >phatbeat/pkg-plist << 'END-of-phatbeat/pkg-plist' Xbin/phatbeat Xbin/phatx Xshare/phatbeat/images/0.png Xshare/phatbeat/images/1.png Xshare/phatbeat/images/2.png Xshare/phatbeat/images/3.png Xshare/phatbeat/images/4.png Xshare/phatbeat/images/5.png Xshare/phatbeat/images/6.png Xshare/phatbeat/images/7.png Xshare/phatbeat/images/8.png Xshare/phatbeat/images/9.png Xshare/phatbeat/images/AC_dn.png Xshare/phatbeat/images/AC_up.png Xshare/phatbeat/images/bkgnd_test5.png Xshare/phatbeat/images/blackgnd.png Xshare/phatbeat/images/blnk.png Xshare/phatbeat/images/dnarrow_dn.png Xshare/phatbeat/images/dnarrow_up.png Xshare/phatbeat/images/icon.png Xshare/phatbeat/images/phaticon.ico Xshare/phatbeat/images/point.png Xshare/phatbeat/images/tap_dn.png Xshare/phatbeat/images/tap_up.png Xshare/phatbeat/images/uparrow_dn.png Xshare/phatbeat/images/uparrow_up.png X@dirrm share/phatbeat/images X@dirrm share/phatbeat END-of-phatbeat/pkg-plist echo x - phatbeat/pkg-descr sed 's/^X//' >phatbeat/pkg-descr << 'END-of-phatbeat/pkg-descr' XIn a nutshell, PhatBeat is a cross-platform (Linux and Windows) beat Xcounter for use by collectors, producers, DJs, and others interested Xin beat-oriented music. For now it requires users to tap in the beat Xduring listening, after which it calculates and displays the track's XBPM and the size of a measure in seconds. X XWWW: http://www.postreal.org/phatbeat X X- Jean-Yves Lefort Xjylefort@brutele.be END-of-phatbeat/pkg-descr echo x - phatbeat/distinfo sed 's/^X//' >phatbeat/distinfo << 'END-of-phatbeat/distinfo' XMD5 (PhatBeat-1.1.tar.gz) = 72a1c38db5e1b197f0e1d06a0928f922 XSIZE (PhatBeat-1.1.tar.gz) = 206229 END-of-phatbeat/distinfo echo x - phatbeat/Makefile sed 's/^X//' >phatbeat/Makefile << 'END-of-phatbeat/Makefile' X# New ports collection makefile for: PhatBeat X# Date created: 22 Jun 2004 X# Whom: Jean-Yves Lefort X# X# $FreeBSD$ X# X XPORTNAME= phatbeat XPORTVERSION= 1.1 XCATEGORIES= audio XMASTER_SITES= http://www.postreal.org/files/ XDISTNAME= PhatBeat-${PORTVERSION} X XMAINTAINER= jylefort@brutele.be XCOMMENT= A beat counter X XUSE_X_PREFIX= yes XUSE_SDL= sdl image XMAN1= phatbeat.1 X XMAKE_ENV= MKDIR="${MKDIR}" \ X INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ X INSTALL_MAN="${INSTALL_MAN}" \ X INSTALL_DATA="${INSTALL_DATA}" X X.include END-of-phatbeat/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: