Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 15:19:50 +0700 (NOVST)
From:      Alexey Dokuchaev <danfe@regency.nsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39622: NEW PORT: audio/wmfmixer, an audio mixer for WindowMaker/Afterstep
Message-ID:  <200206210819.g5L8Jo6j066728@regency.nsu.ru>

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

>Number:         39622
>Category:       ports
>Synopsis:       NEW PORT: audio/wmfmixer, an audio mixer for WindowMaker/Afterstep
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 07:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Dokuchaev
>Release:        FreeBSD 4.6-RC i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.6-RC FreeBSD 4.6-RC #1: Thu Jun 13 18:00:41 NOVST 2002 root@regency.nsu.ru:/usr/obj/usr/src/sys/REGENCY i386
>Description:
Yet another pretty and convenient dockable audio mixer.
>How-To-Repeat:
N/A
>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:
#
#	.
#	./Makefile
#	./pkg-plist
#	./pkg-descr
#	./pkg-comment
#	./distinfo
#	./files
#	./files/patch-wmfmixer.c
#	./files/patch-Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   wmfmixer
X# Date created:        21 June 2002
X# Whom:                Alexey Dokuchaev <danfe@regency.nsu.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wmfmixer
XPORTVERSION=	0.1
XCATEGORIES=	audio windowmaker afterstep
XMASTER_SITES=	http://www.linuks.mine.nu/dockapp/
X
XMAINTAINER=	ports@freebsd.org
X
XUSE_GMAKE=	yes
XUSE_XPM=	yes
XUSE_X_PREFIX=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/wmfmixer
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XYet another audio mixer, dockable under WindowMaker or Afterstep.
END-of-./pkg-descr
echo x - ./pkg-comment
sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment'
XAn audio mixer for the WindowMaker dock
END-of-./pkg-comment
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (wmfmixer-0.1.tar.gz) = 620712536263d60782b50f16e1aec910
END-of-./distinfo
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-wmfmixer.c
sed 's/^X//' >./files/patch-wmfmixer.c << 'END-of-./files/patch-wmfmixer.c'
X--- wmfmixer.c.orig	Fri Jun 21 14:58:35 2002
X+++ wmfmixer.c	Thu Jun 20 22:16:34 2002
X@@ -21,7 +21,7 @@
X 
X #include "wmfmixer.xpm"
X 
X-#include "linux/soundcard.h"
X+#include "sys/soundcard.h"
X 
X   /***********/
X  /* Defines */
END-of-./files/patch-wmfmixer.c
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Sun Nov 22 05:07:57 1998
X+++ Makefile	Fri Jun 21 15:07:46 2002
X@@ -1,24 +1,20 @@
X-LIBDIR = -L/usr/X11R6/lib
X+CC ?= gcc
X+CFLAGS += -c
X+INCDIR = -I${X11BASE}/include
X+LIBDIR = -L${X11BASE}/lib
X LIBS   = -lXpm -lXext -lX11
X-CFLAGS = -O2
X-OBJS  = wmfmixer.o wmgeneral.o 
X+OBJS =  wmfmixer.o wmgeneral.o
X 
X .c.o:
X-	cc -g -c $(CFLAGS) -Wall $< -o $*.o
X+	${CC} ${CFLAGS} ${INCDIR} $< -o $*.o
X 
X wmfmixer: $(OBJS)
X-	cc -o wmfmixer $^ -lXext $(LIBDIR) $(LIBS)
X+	${CC} -o wmfmixer $^ ${LIBDIR} ${LIBS}
X 
X-all:: wmfmixer
X+all: wmfmixer
X 
X-clean::
X-	for i in $(OBJS) ; do \
X-		rm $$i; \
X+clean:
X+	for i in ${OBJS}; do \
X+		rm -f $$i; \
X 	done
X-	rm wmfmixer
X-install::
X-	
X-	cp -f wmfmixer /usr/local/bin/
X-	chmod 755 /usr/local/bin/wmfmixer
X-	chown root:root /usr/local/bin/wmfmixer
X-	echo "WMFMIXER installation finished."
X+	rm -f wmfmixer
END-of-./files/patch-Makefile
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?200206210819.g5L8Jo6j066728>