aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-07 06:10:56 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-07 06:10:56 +0000
commitbcf9893d0762bbef64618e4dfe53d585153da45e (patch)
treeb508cc072908d1a7983b956390c701dc9930d930
parent2d391874d41c879bee471884cd0feff74f27e88d (diff)
downloadports-bcf9893d0762bbef64618e4dfe53d585153da45e.tar.gz
ports-bcf9893d0762bbef64618e4dfe53d585153da45e.zip
Notes
-rw-r--r--audio/Makefile1
-rw-r--r--audio/funktrackergold/Makefile29
-rw-r--r--audio/funktrackergold/distinfo1
-rw-r--r--audio/funktrackergold/files/patch-Makefile76
-rw-r--r--audio/funktrackergold/files/patch-headers73
-rw-r--r--audio/funktrackergold/pkg-comment1
-rw-r--r--audio/funktrackergold/pkg-descr8
-rw-r--r--audio/funktrackergold/pkg-plist3
8 files changed, 192 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 1afcb567cc32..244086e2bbd9 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -53,6 +53,7 @@
SUBDIR += flac
SUBDIR += fmio
SUBDIR += freeamp
+ SUBDIR += funktrackergold
SUBDIR += gdcd
SUBDIR += gdrdao
SUBDIR += gkrellmms
diff --git a/audio/funktrackergold/Makefile b/audio/funktrackergold/Makefile
new file mode 100644
index 000000000000..f4c03f67834b
--- /dev/null
+++ b/audio/funktrackergold/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: funktrackergold
+# Date created: Apr 1, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= funktrackergold
+PORTVERSION= 1.5.2
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SUNSITE} http://jsno.downunder.net.au/rel/unix_projects/
+MASTER_SITE_SUBDIR= apps/sound/players
+DISTNAME= funktrackergold-1.5-2
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= mark@kyne.com.au
+
+WRKSRC= ${WRKDIR}/funkgold
+MAKE_ARGS= EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \
+ EXTRA_LDFLAGS="${PTHREAD_LIBS}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/${PORTNAME}/README
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/funktrackergold/distinfo b/audio/funktrackergold/distinfo
new file mode 100644
index 000000000000..9744e753fd20
--- /dev/null
+++ b/audio/funktrackergold/distinfo
@@ -0,0 +1 @@
+MD5 (funktrackergold-1.5-2.tgz) = 56d5294dd8c690290087e16f34c08869
diff --git a/audio/funktrackergold/files/patch-Makefile b/audio/funktrackergold/files/patch-Makefile
new file mode 100644
index 000000000000..1ae782c5ae8e
--- /dev/null
+++ b/audio/funktrackergold/files/patch-Makefile
@@ -0,0 +1,76 @@
+--- Makefile.orig Mon Jun 22 20:24:17 1998
++++ Makefile Sun Apr 1 20:44:19 2001
+@@ -5,53 +5,10 @@
+ # FunktrackerGOLD now comes under the GNU General Public License. Please
+ # read the COPYING notice in this distribution.
+ ############################################################################
+-CC = gcc
+-OPTIONS = -Wall -O2 -pipe -fomit-frame-pointer
+-LIB = -lpthread -lncurses -lm
++LDFLAGS+=$(EXTRA_LDFLAGS) -lncurses -lm
++CFLAGS+=$(EXTRA_CFLAGS)
+
+-ifeq ($(OSTYPE),Linux)
+- OPTIONS += -DLinux
+-else
+- ifeq ($(OSTYPE),FreeBSD)
+- OPTIONS += -DFreeBSD
+- LIB += -ltermcap #-lmytinfo
+- else
+- OPTIONS += -DLinux
+- endif
+-endif
+-
+-HOST_SAFE = 0
+-
+-ifeq ($(HOSTTYPE),i386)
+- HOST_SAFE = 1
+-endif
+-
+-ifeq ($(HOSTTYPE),i486)
+- HOST_SAFE = 1
+-endif
+-
+-ifeq ($(HOSTTYPE),i586)
+- HOST_SAFE = 1
+-endif
+-
+-ifeq ($(HOSTTYPE),i686)
+- HOST_SAFE = 1
+-endif
+-
+-###############################
+-all:
+- @if [ $(HOST_SAFE) = '1' ]; then \
+- make funkgold; \
+- else \
+- echo "***********************************************"; \
+- echo "This is not an INTEL based machine. As the Funktracker"; \
+- echo "format is in Intel byte sex (and i haven't yet made"; \
+- echo "provisions for other processors), trying to play"; \
+- echo "funktracker songs on this machine will be dangerous."; \
+- echo ""; \
+- echo "Refer to INSTALL file."; \
+- echo "***********************************************"; \
+- fi
++all: funkgold
+
+ ###############################
+ OBJ_FT = dsp_mixxer.o funktracker.o funkload.o funkgold_misc.o \
+@@ -59,7 +16,7 @@
+ funkgold_trac.o funkgold.o
+
+ funkgold: $(OBJ_FT)
+- $(CC) $(OPTIONS) -o funkgold $(OBJ_FT) $(LIB)
++ $(CC) -o funkgold $(OBJ_FT) $(LDFLAGS)
+ strip funkgold
+
+ ###############################
+@@ -69,7 +26,3 @@
+ release:
+ make
+ rm -f *.o
+-
+-###############################
+-%.o: %.c %.h
+- $(CC) $(OPTIONS) -c $< -o $@
diff --git a/audio/funktrackergold/files/patch-headers b/audio/funktrackergold/files/patch-headers
new file mode 100644
index 000000000000..621954cf7724
--- /dev/null
+++ b/audio/funktrackergold/files/patch-headers
@@ -0,0 +1,73 @@
+--- ../funkgold-orig/dsp_mixxer.c Mon Jun 22 20:09:39 1998
++++ dsp_mixxer.c Sun Apr 1 17:51:50 2001
+@@ -15,15 +15,11 @@
+ ***************************************************************************/
+ #include <stdio.h>
+ #include <math.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+-#ifdef Linux
+- #include <sys/soundcard.h>
+-#elif FreeBSD
+- #include <machine/soundcard.h>
+-#endif
++#include <sys/soundcard.h>
+ #include "funktracker_defs.h"
+ #include "funktracker.h"
+ #include "funkload.h"
+--- ../funkgold-orig/funkgold.c Sun Jun 21 22:10:54 1998
++++ funkgold.c Sun Apr 1 17:53:18 2001
+@@ -23,7 +23,7 @@
+ ***************************************************************************/
+ #include <curses.h>
+ #include <unistd.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <signal.h>
+ #include <sys/time.h>
+--- ../funkgold-orig/funkgold_dir.c Wed Dec 2 22:01:23 1998
++++ funkgold_dir.c Sun Apr 1 18:05:59 2001
+@@ -18,7 +18,6 @@
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include "funktracker_defs.h"
+--- ../funkgold-orig/funkgold_misc.c Sun Jun 21 15:56:46 1998
++++ funkgold_misc.c Sun Apr 1 17:53:30 2001
+@@ -17,7 +17,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/time.h>
+-#include <malloc.h>
+ #include "funktracker_defs.h"
+ #include "dsp_mixxer.h"
+ #include "funktracker.h"
+--- ../funkgold-orig/funkgold_sm.c Sun Jun 21 15:57:07 1998
++++ funkgold_sm.c Sun Apr 1 17:53:44 2001
+@@ -16,7 +16,7 @@
+ ***************************************************************************/
+ #include <curses.h>
+ #include <unistd.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "funktracker_defs.h"
+ #include "dsp_mixxer.h"
+ #include "funktracker.h"
+--- ../funkgold-orig/funkload.c Sun Jun 21 15:57:21 1998
++++ funkload.c Sun Apr 1 17:53:51 2001
+@@ -15,7 +15,7 @@
+ ***************************************************************************/
+ #include <stdio.h>
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "funktracker_defs.h"
+ #include "dsp_mixxer.h"
+ #include "funktracker.h"
diff --git a/audio/funktrackergold/pkg-comment b/audio/funktrackergold/pkg-comment
new file mode 100644
index 000000000000..4c6523093fb2
--- /dev/null
+++ b/audio/funktrackergold/pkg-comment
@@ -0,0 +1 @@
+A curses MOD/FNK music tracker
diff --git a/audio/funktrackergold/pkg-descr b/audio/funktrackergold/pkg-descr
new file mode 100644
index 000000000000..0499665f041a
--- /dev/null
+++ b/audio/funktrackergold/pkg-descr
@@ -0,0 +1,8 @@
+FunktrackerGOLD is a curses based tracker for the MOD and FNK file
+formats. Information on using Funktracker can be found in
+share/doc/funktrackergold/README
+
+WWW: http://jsno.downunder.net.au/proj_linux/funk.html
+
+- Mark Pulford
+mark@kyne.com.au
diff --git a/audio/funktrackergold/pkg-plist b/audio/funktrackergold/pkg-plist
new file mode 100644
index 000000000000..f52b1cca9a4b
--- /dev/null
+++ b/audio/funktrackergold/pkg-plist
@@ -0,0 +1,3 @@
+bin/funkgold
+%%PORTDOCS%%share/doc/funktrackergold/README
+%%PORTDOCS%%@dirrm share/doc/funktrackergold