Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2001 21:50:40 +0930 (CST)
From:      mark@kyne.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26265: New port: audio/funktrackergold: A curses MOD/FNK music tracker
Message-ID:  <200104011220.f31CKeW18781@aeris.kyne.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         26265
>Category:       ports
>Synopsis:       New port: audio/funktrackergold: A curses MOD/FNK music tracker
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 01 05:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
none
>Environment:

>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:
#
#	funktrackergold
#	funktrackergold/distinfo
#	funktrackergold/Makefile
#	funktrackergold/pkg-descr
#	funktrackergold/files
#	funktrackergold/files/patch-Makefile
#	funktrackergold/files/patch-headers
#	funktrackergold/pkg-comment
#	funktrackergold/pkg-plist
#
echo c - funktrackergold
mkdir -p funktrackergold > /dev/null 2>&1
echo x - funktrackergold/distinfo
sed 's/^X//' >funktrackergold/distinfo << 'END-of-funktrackergold/distinfo'
XMD5 (funktrackergold-1.5-2.tgz) = 56d5294dd8c690290087e16f34c08869
END-of-funktrackergold/distinfo
echo x - funktrackergold/Makefile
sed 's/^X//' >funktrackergold/Makefile << 'END-of-funktrackergold/Makefile'
X# New ports collection makefile for:    funktrackergold
X# Date created:                 Apr 1, 2001
X# Whom:                         Mark Pulford <mark@kyne.com.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	funktrackergold
XPORTVERSION=	1.5.2
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SUNSITE} http://jsno.downunder.net.au/rel/unix_projects/
XMASTER_SITE_SUBDIR=	apps/sound/players
XDISTNAME=	funktrackergold-1.5-2
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	mark@kyne.com.au
X
XWRKSRC=		${WRKDIR}/funkgold
XMAKE_ARGS=	EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \
X		EXTRA_LDFLAGS="${PTHREAD_LIBS}"
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X	${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/${PORTNAME}/README
X.endif
X
X.include <bsd.port.mk>
END-of-funktrackergold/Makefile
echo x - funktrackergold/pkg-descr
sed 's/^X//' >funktrackergold/pkg-descr << 'END-of-funktrackergold/pkg-descr'
XFunktrackerGOLD is a curses based tracker for the MOD and FNK file
Xformats. Information on using Funktracker can be found in
Xshare/doc/funktrackergold/README
X
XWWW: http://jsno.downunder.net.au/proj_linux/funk.html
X
X- Mark Pulford
Xmark@kyne.com.au
END-of-funktrackergold/pkg-descr
echo c - funktrackergold/files
mkdir -p funktrackergold/files > /dev/null 2>&1
echo x - funktrackergold/files/patch-Makefile
sed 's/^X//' >funktrackergold/files/patch-Makefile << 'END-of-funktrackergold/files/patch-Makefile'
X--- Makefile.orig	Mon Jun 22 20:24:17 1998
X+++ Makefile	Sun Apr  1 20:44:19 2001
X@@ -5,53 +5,10 @@
X # FunktrackerGOLD now comes under the GNU General Public License. Please
X # read the COPYING notice in this distribution.
X ############################################################################
X-CC	= gcc
X-OPTIONS = -Wall -O2 -pipe -fomit-frame-pointer
X-LIB	= -lpthread -lncurses -lm
X+LDFLAGS+=$(EXTRA_LDFLAGS) -lncurses -lm
X+CFLAGS+=$(EXTRA_CFLAGS)
X 
X-ifeq ($(OSTYPE),Linux)
X-  OPTIONS += -DLinux
X-else
X-  ifeq ($(OSTYPE),FreeBSD)
X-    OPTIONS += -DFreeBSD
X-    LIB += -ltermcap #-lmytinfo
X-  else
X-    OPTIONS += -DLinux
X-  endif
X-endif
X-
X-HOST_SAFE = 0
X-
X-ifeq ($(HOSTTYPE),i386)
X-  HOST_SAFE = 1
X-endif
X-
X-ifeq ($(HOSTTYPE),i486)
X-  HOST_SAFE = 1
X-endif
X-
X-ifeq ($(HOSTTYPE),i586)
X-  HOST_SAFE = 1
X-endif
X-
X-ifeq ($(HOSTTYPE),i686)
X-  HOST_SAFE = 1
X-endif
X-
X-###############################
X-all:
X-	@if [ $(HOST_SAFE) = '1' ]; then \
X-	  make funkgold; \
X-	else \
X-	  echo "***********************************************"; \
X-	  echo "This is not an INTEL based machine. As the Funktracker"; \
X-	  echo "format is in Intel byte sex (and i haven't yet made"; \
X-	  echo "provisions for other processors), trying to play"; \
X-	  echo "funktracker songs on this machine will be dangerous."; \
X-	  echo ""; \
X-	  echo "Refer to INSTALL file."; \
X-	  echo "***********************************************"; \
X-	fi
X+all: funkgold
X 
X ###############################
X OBJ_FT		= dsp_mixxer.o funktracker.o funkload.o funkgold_misc.o \
X@@ -59,7 +16,7 @@
X 		funkgold_trac.o funkgold.o
X 
X funkgold: $(OBJ_FT)
X-	$(CC) $(OPTIONS) -o funkgold $(OBJ_FT) $(LIB)
X+	$(CC) -o funkgold $(OBJ_FT) $(LDFLAGS)
X 	strip funkgold
X 
X ###############################
X@@ -69,7 +26,3 @@
X release:
X 	make
X 	rm -f *.o
X-
X-###############################
X-%.o: %.c %.h
X-	$(CC) $(OPTIONS) -c $< -o $@
END-of-funktrackergold/files/patch-Makefile
echo x - funktrackergold/files/patch-headers
sed 's/^X//' >funktrackergold/files/patch-headers << 'END-of-funktrackergold/files/patch-headers'
X--- ../funkgold-orig/dsp_mixxer.c	Mon Jun 22 20:09:39 1998
X+++ dsp_mixxer.c	Sun Apr  1 17:51:50 2001
X@@ -15,15 +15,11 @@
X ***************************************************************************/
X #include <stdio.h>
X #include <math.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X #include <unistd.h>
X #include <fcntl.h>
X #include <sys/ioctl.h>
X-#ifdef Linux
X- #include <sys/soundcard.h>
X-#elif FreeBSD
X- #include <machine/soundcard.h>
X-#endif
X+#include <sys/soundcard.h>
X #include "funktracker_defs.h"
X #include "funktracker.h"
X #include "funkload.h"
X--- ../funkgold-orig/funkgold.c	Sun Jun 21 22:10:54 1998
X+++ funkgold.c	Sun Apr  1 17:53:18 2001
X@@ -23,7 +23,7 @@
X ***************************************************************************/
X #include <curses.h>
X #include <unistd.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X #include <string.h>
X #include <signal.h>
X #include <sys/time.h>
X--- ../funkgold-orig/funkgold_dir.c	Wed Dec  2 22:01:23 1998
X+++ funkgold_dir.c	Sun Apr  1 18:05:59 2001
X@@ -18,7 +18,6 @@
X #include <unistd.h>
X #include <dirent.h>
X #include <sys/stat.h>
X-#include <malloc.h>
X #include <string.h>
X #include <stdlib.h>
X #include "funktracker_defs.h"
X--- ../funkgold-orig/funkgold_misc.c	Sun Jun 21 15:56:46 1998
X+++ funkgold_misc.c	Sun Apr  1 17:53:30 2001
X@@ -17,7 +17,6 @@
X #include <stdlib.h>
X #include <string.h>
X #include <sys/time.h>
X-#include <malloc.h>
X #include "funktracker_defs.h"
X #include "dsp_mixxer.h"
X #include "funktracker.h"
X--- ../funkgold-orig/funkgold_sm.c	Sun Jun 21 15:57:07 1998
X+++ funkgold_sm.c	Sun Apr  1 17:53:44 2001
X@@ -16,7 +16,7 @@
X ***************************************************************************/
X #include <curses.h>
X #include <unistd.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X #include "funktracker_defs.h"
X #include "dsp_mixxer.h"
X #include "funktracker.h"
X--- ../funkgold-orig/funkload.c	Sun Jun 21 15:57:21 1998
X+++ funkload.c	Sun Apr  1 17:53:51 2001
X@@ -15,7 +15,7 @@
X ***************************************************************************/
X #include <stdio.h>
X #include <string.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X #include "funktracker_defs.h"
X #include "dsp_mixxer.h"
X #include "funktracker.h"
END-of-funktrackergold/files/patch-headers
echo x - funktrackergold/pkg-comment
sed 's/^X//' >funktrackergold/pkg-comment << 'END-of-funktrackergold/pkg-comment'
XA curses MOD/FNK music tracker
END-of-funktrackergold/pkg-comment
echo x - funktrackergold/pkg-plist
sed 's/^X//' >funktrackergold/pkg-plist << 'END-of-funktrackergold/pkg-plist'
Xbin/funkgold
X%%PORTDOCS%%share/doc/funktrackergold/README
X%%PORTDOCS%%@dirrm share/doc/funktrackergold
END-of-funktrackergold/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104011220.f31CKeW18781>