aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wmfmixer
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-06-24 12:54:43 +0800
committerpat <pat@FreeBSD.org>2002-06-24 12:54:43 +0800
commitdc0e069c6d6b90beaaee41a68a0173644ea791df (patch)
treecd14837c7fb965122502f72e70b798cb88338c93 /audio/wmfmixer
parentb55e26d84eb6224486a873a21f7d2ea072b4ec56 (diff)
downloadfreebsd-ports-gnome-dc0e069c6d6b90beaaee41a68a0173644ea791df.tar.gz
freebsd-ports-gnome-dc0e069c6d6b90beaaee41a68a0173644ea791df.tar.zst
freebsd-ports-gnome-dc0e069c6d6b90beaaee41a68a0173644ea791df.zip
Add new port wmfmixer - Yet another audio mixer
PR: ports/39622 Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
Diffstat (limited to 'audio/wmfmixer')
-rw-r--r--audio/wmfmixer/Makefile23
-rw-r--r--audio/wmfmixer/distinfo1
-rw-r--r--audio/wmfmixer/files/patch-Makefile39
-rw-r--r--audio/wmfmixer/files/patch-wmfmixer.c11
-rw-r--r--audio/wmfmixer/pkg-comment1
-rw-r--r--audio/wmfmixer/pkg-descr3
-rw-r--r--audio/wmfmixer/pkg-plist1
7 files changed, 79 insertions, 0 deletions
diff --git a/audio/wmfmixer/Makefile b/audio/wmfmixer/Makefile
new file mode 100644
index 000000000000..21cc670d2b36
--- /dev/null
+++ b/audio/wmfmixer/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: wmfmixer
+# Date created: 21 June 2002
+# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmfmixer
+PORTVERSION= 0.1
+CATEGORIES= audio windowmaker afterstep
+MASTER_SITES= http://www.finik.net/files/ \
+ http://www.linuks.mine.nu/dockapp/
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_GMAKE= yes
+USE_XPM= yes
+USE_X_PREFIX= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/audio/wmfmixer/distinfo b/audio/wmfmixer/distinfo
new file mode 100644
index 000000000000..9f6785aa85a0
--- /dev/null
+++ b/audio/wmfmixer/distinfo
@@ -0,0 +1 @@
+MD5 (wmfmixer-0.1.tar.gz) = 620712536263d60782b50f16e1aec910
diff --git a/audio/wmfmixer/files/patch-Makefile b/audio/wmfmixer/files/patch-Makefile
new file mode 100644
index 000000000000..f02dd59bfc07
--- /dev/null
+++ b/audio/wmfmixer/files/patch-Makefile
@@ -0,0 +1,39 @@
+--- Makefile.orig Sun Nov 22 05:07:57 1998
++++ Makefile Fri Jun 21 15:07:46 2002
+@@ -1,24 +1,20 @@
+-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS += -c
++INCDIR = -I${X11BASE}/include
++LIBDIR = -L${X11BASE}/lib
+ LIBS = -lXpm -lXext -lX11
+-CFLAGS = -O2
+-OBJS = wmfmixer.o wmgeneral.o
++OBJS = wmfmixer.o wmgeneral.o
+
+ .c.o:
+- cc -g -c $(CFLAGS) -Wall $< -o $*.o
++ ${CC} ${CFLAGS} ${INCDIR} $< -o $*.o
+
+ wmfmixer: $(OBJS)
+- cc -o wmfmixer $^ -lXext $(LIBDIR) $(LIBS)
++ ${CC} -o wmfmixer $^ ${LIBDIR} ${LIBS}
+
+-all:: wmfmixer
++all: wmfmixer
+
+-clean::
+- for i in $(OBJS) ; do \
+- rm $$i; \
++clean:
++ for i in ${OBJS}; do \
++ rm -f $$i; \
+ done
+- rm wmfmixer
+-install::
+-
+- cp -f wmfmixer /usr/local/bin/
+- chmod 755 /usr/local/bin/wmfmixer
+- chown root:root /usr/local/bin/wmfmixer
+- echo "WMFMIXER installation finished."
++ rm -f wmfmixer
diff --git a/audio/wmfmixer/files/patch-wmfmixer.c b/audio/wmfmixer/files/patch-wmfmixer.c
new file mode 100644
index 000000000000..c563abe30335
--- /dev/null
+++ b/audio/wmfmixer/files/patch-wmfmixer.c
@@ -0,0 +1,11 @@
+--- wmfmixer.c.orig Fri Jun 21 14:58:35 2002
++++ wmfmixer.c Thu Jun 20 22:16:34 2002
+@@ -21,7 +21,7 @@
+
+ #include "wmfmixer.xpm"
+
+-#include "linux/soundcard.h"
++#include "sys/soundcard.h"
+
+ /***********/
+ /* Defines */
diff --git a/audio/wmfmixer/pkg-comment b/audio/wmfmixer/pkg-comment
new file mode 100644
index 000000000000..1a3323398c0d
--- /dev/null
+++ b/audio/wmfmixer/pkg-comment
@@ -0,0 +1 @@
+An audio mixer for the WindowMaker dock
diff --git a/audio/wmfmixer/pkg-descr b/audio/wmfmixer/pkg-descr
new file mode 100644
index 000000000000..fe6378d33563
--- /dev/null
+++ b/audio/wmfmixer/pkg-descr
@@ -0,0 +1,3 @@
+Yet another audio mixer, dockable under WindowMaker or Afterstep.
+
+WWW: http://www.finik.net/software.html
diff --git a/audio/wmfmixer/pkg-plist b/audio/wmfmixer/pkg-plist
new file mode 100644
index 000000000000..430b087823ae
--- /dev/null
+++ b/audio/wmfmixer/pkg-plist
@@ -0,0 +1 @@
+bin/wmfmixer