Date: 24 Sep 2003 20:11:30 -0700 From: Seth Kingsley <sethk@meowfishies.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sethk@meowfishies.com Subject: ports/57200: [MAINTAINER PATCH] Update audio/nosefart to version 1.92f Message-ID: <20030925031130.51276.qmail@magnesium.net> Resent-Message-ID: <200309250320.h8P3KEIV002882@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57200 >Category: ports >Synopsis: [MAINTAINER PATCH] Update audio/nosefart to version 1.92f >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Sep 24 20:20:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Seth Kingsley >Release: FreeBSD 4.8-STABLE >Organization: >Environment: System: FreeBSD 4.8-STABLE #11: Mon Aug 11 18:34:15 PDT 2003 >Description: This patch brings the audio/nosefart port up to version 1.92. Changes include: + Add automatic track length calculation with -a option. + Add -i (info) and -l <len> (only play <len> length) options. + Show enabled and persistent channels. >How-To-Repeat: N/A >Fix: Index: Makefile =================================================================== RCS file: /common/cvs/freebsd/ports/audio/nosefart/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- Makefile 14 Jul 2003 02:36:11 -0000 1.4 +++ Makefile 25 Sep 2003 02:50:26 -0000 @@ -6,20 +6,23 @@ # PORTNAME= nosefart -PORTVERSION= 1.92 -PORTREVISION= 1 +PORTVERSION= 1.92f CATEGORIES= audio emulators -MASTER_SITES= http://www.meowfishies.com/code/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}-mls MAINTAINER= sethk@meowfishies.com COMMENT= A player for NES Sound Format (NSF) USE_GETOPT_LONG=yes -USE_ZIP= yes USE_GMAKE= yes -MAKEFILE= Makefile.linux -MAKE_ENV= INSTALL="${INSTALL}" BINGRP=${BINGRP} BINMODE=${BINMODE} \ - BINOWN=${BINOWN} LDFLAGS="${LDFLAGS}" +MAKE_ENV= INSTALL="${INSTALL}" COPY="${COPY}" STRIP="${STRIP}"\ + BINGRP="${BINGRP}" BINMODE="${BINMODE}" BINOWN="${BINOWN}"\ + LDFLAGS="${LDFLAGS}" + +post-extract: + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} clean) .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /common/cvs/freebsd/ports/audio/nosefart/distinfo,v retrieving revision 1.1 diff -u -p -r1.1 distinfo --- distinfo 14 Oct 2000 11:22:33 -0000 1.1 +++ distinfo 24 Sep 2003 21:30:05 -0000 @@ -1 +1 @@ -MD5 (nosefart-1.92.zip) = 88d03f2c8feeb452c043e93eec62b866 +MD5 (nosefart-1.92f-mls.tar.gz) = 2aa162069a44a7d2b299ed06eded6de6 Index: pkg-descr =================================================================== RCS file: /common/cvs/freebsd/ports/audio/nosefart/pkg-descr,v retrieving revision 1.1 diff -u -p -r1.1 pkg-descr --- pkg-descr 14 Oct 2000 11:22:33 -0000 1.1 +++ pkg-descr 24 Sep 2003 21:37:55 -0000 @@ -2,7 +2,7 @@ This is a port of Nosefart, a player for describes music taken from Nintendo Entertainment System game cartriges in a compact form. -WWW: http://www.nofrendo.org/nosefart/ +WWW: http://sourceforge.net/projects/nosefart - Seth -sethk@osd.bsdi.com +sethk@meowfishies.com Index: files/patch-aa =================================================================== RCS file: /common/cvs/freebsd/ports/audio/nosefart/files/patch-aa,v retrieving revision 1.2 diff -u -p -r1.2 patch-aa --- files/patch-aa 14 Jul 2003 02:36:11 -0000 1.2 +++ files/patch-aa 25 Sep 2003 02:45:08 -0000 @@ -1,86 +1,67 @@ ---- Makefile.linux.orig Wed Oct 11 13:05:18 2000 -+++ Makefile.linux Thu Oct 12 14:07:05 2000 -@@ -3,12 +3,6 @@ +--- Makefile.orig Wed Sep 24 11:02:34 2003 ++++ Makefile Wed Sep 24 19:43:19 2003 +@@ -1,12 +1,6 @@ ################################ # Configuration -CC = gcc -CFLAGS = --LDFLAGS = +-LDFLAGS = -lm -PREFIX = /usr/local --# WANT_DEBUG = TRUE +-WANT_DEBUG=TRUE - # nothing below here should need to be changed ################################ -@@ -25,14 +19,10 @@ - -I$(SRCDIR)/sndhrdw\ - -I$(SRCDIR)/machine\ - -I$(SRCDIR)/cpu/nes6502\ -+ -I$(LOCALBASE)/include\ - -I$(BUILDDIR) +@@ -21,19 +15,13 @@ + + CFLAGS += -DNSF_PLAYER -ifeq "$(WANT_DEBUG)" "TRUE" -- CFLAGS += -ggdb -DNSF_PLAYER +- CFLAGS += -ggdb -else -- CFLAGS += -O2 -fomit-frame-pointer -ffast-math -funroll-loops -DNSF_PLAYER +- CFLAGS += -O2 -fomit-frame-pointer -ffast-math -funroll-loops - DEBUG_OBJECTS = -endif -+CFLAGS += -DNSF_PLAYER - - ################################ - # Here's where the directory tree gets ugly -@@ -55,36 +45,26 @@ - OBJS = $(addsuffix .o, $(FILES)) - OBJECTS = $(addprefix $(BUILDDIR)/, $(OBJS)) +- + CFLAGS +=\ + -I$(SRCDIR)\ + -I$(SRCDIR)/linux\ + -I$(SRCDIR)/sndhrdw\ + -I$(SRCDIR)/machine\ + -I$(SRCDIR)/cpu/nes6502\ ++ -I$(LOCALBASE)/include\ + -I$(BUILDTOP)\ + -I/usr/local/include/ + +@@ -59,9 +47,11 @@ + SOURCES = $(addprefix $(SRCDIR)/, $(SRCS)) + OBJECTS = $(patsubst $(SRCDIR)/%.c,$(BUILDDIR)/%.o,$(SOURCES)) +LDLIBS = -lm + - ################################ - # Rules + ALL_OBJECTS = $(OBJECTS) --all: $(BUILDDIR)/$(NAME) -+all: $(BUILDDIR)/config.h $(BUILDDIR)/$(NAME) +-ALL_TARGETS = $(BUILDTOP)/$(NAME) ++ALL_TARGETS = $(BUILDTOP)/config.h $(BUILDTOP)/$(NAME) ################################ - # Support - --$(BUILDDIR): -+$(BUILDDIR)/config.h: Makefile.linux -+ [ -d $(BUILDDIR) ] || mkdir -p $(BUILDDIR) - -mkdir -p $(BUILDDIR)/cpu/nes6502 $(BUILDDIR)/machine $(BUILDDIR)/sndhrdw $(BUILDDIR)/linux -- --$(BUILDDIR)/config.h: $(BUILDDIR) Makefile.linux - echo "#define VERSION \"$(VERSION)\"" > $(BUILDDIR)/config.h - echo "#define NAME \"$(NAME)\"" >> $(BUILDDIR)/config.h - --$(BUILDDIR)/dep: $(BUILDDIR)/config.h -- $(CC) $(CFLAGS) -M $(SOURCES) > $@ -- --include $(BUILDDIR)/dep -- - install: $(BUILDDIR)/$(NAME) -- mkdir -p $(PREFIX)/bin -- cp $(BUILDDIR)/$(NAME) $(PREFIX)/bin -- @echo "-----------------------------------------------" -- @echo "Be sure to run chmod +s $(PREFIX)/bin/$(NAME) if you want ordinary users" -- @echo "to be able to use /dev/dsp. SUID isn't necessary, though, if you want to" -- @echo "run $(NAME) with a wrapper, like artsdsp from arts or esddsp from esound." -- @echo "-----------------------------------------------" -- @echo "Also, make sure that $(PREFIX)/bin is in your PATH." -- -+ [ -d $(PREFIX)/bin ] || mkdir -p $(PREFIX)/bin -+ $(INSTALL) -cs -g $(BINGRP) -m $(BINMODE) -o $(BINOWN) $(BUILDDIR)/$(NAME) $(PREFIX)/bin -+ - uninstall: - rm -f $(PREFIX)/bin/$(NAME) + # Rules +@@ -87,7 +77,7 @@ -@@ -92,7 +72,7 @@ + install: all + mkdir -p $(PREFIX)/bin +- cp $(ALL_TARGETS) $(PREFIX)/bin ++ $(INSTALL) $(COPY) $(STRIP) -g $(BINGRP) -m $(BINMODE) -o $(BINOWN) $(BUILDTOP)/$(NAME) $(PREFIX)/bin + @echo "-----------------------------------------------" + @echo "Be sure to run chmod +s $(PREFIX)/bin/$(NAME) if you want ordinary users" + @echo "to be able to use /dev/dsp. SUID isn't necessary, though, if you want to" +@@ -105,7 +95,7 @@ # The real heavy lifting - $(BUILDDIR)/$(NAME): $(OBJECTS) -- $(CC) $(LDFLAGS) -o $@ $(OBJECTS) -+ $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS) + $(BUILDTOP)/$(NAME): $(OBJECTS) +- $(CC) $(NSFINFO_CFLAGS) $(LDFLAGS) -o $@ $^ ++ $(CC) $(NSFINFO_CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) - $(BUILDDIR)/%.o: $(SRCDIR)/%.c - $(CC) $(CFLAGS) -o $@ -c $< + $(BUILDDIR)/%.o: $(SRCDIR)/%.c + $(CC) $(NSFINFO_CFLAGS) -o $@ -c $< >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030925031130.51276.qmail>