aboutsummaryrefslogtreecommitdiff
path: root/audio/gkrellmvolume2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2000-06-22 18:16:28 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2000-06-22 18:16:28 +0000
commit2fb59f6467f1380a61238b6cba0a7a3385ba6b3e (patch)
tree46a38075aeb1535a61b9ea8f3fc6abdb207ca22b /audio/gkrellmvolume2
parent3af15641a04c59fdc983cbd1f56f706fb8727694 (diff)
downloadports-2fb59f6467f1380a61238b6cba0a7a3385ba6b3e.tar.gz
ports-2fb59f6467f1380a61238b6cba0a7a3385ba6b3e.zip
Initial import of gkrellmvolume.
A plugin for GKrellM, that let's you control your mixer..
Notes
Notes: svn path=/head/; revision=29786
Diffstat (limited to 'audio/gkrellmvolume2')
-rw-r--r--audio/gkrellmvolume2/Makefile26
-rw-r--r--audio/gkrellmvolume2/distinfo1
-rw-r--r--audio/gkrellmvolume2/files/patch-aa47
-rw-r--r--audio/gkrellmvolume2/pkg-comment1
-rw-r--r--audio/gkrellmvolume2/pkg-descr8
-rw-r--r--audio/gkrellmvolume2/pkg-plist1
6 files changed, 84 insertions, 0 deletions
diff --git a/audio/gkrellmvolume2/Makefile b/audio/gkrellmvolume2/Makefile
new file mode 100644
index 000000000000..38b21355b0e7
--- /dev/null
+++ b/audio/gkrellmvolume2/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: gkrellmvolume
+# Date Created: Jun 22 2000
+# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gkrellmvolume
+PORTVERSION= 0.6
+CATEGORIES= audio
+MASTER_SITES= http://gkrellm.luon.net/files/
+DISTNAME= volume-${PORTVERSION}
+
+MAINTAINER= ume@FreeBSD.org
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ gdk_imlib.5:${PORTSDIR}/graphics/imlib
+BUILD_DEPENDS= ${PREFIX}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
+RUN_DEPENDS= ${PREFIX}/bin/gkrellm:${PORTSDIR}/sysutils/gkrellm
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+USE_X_PREFIX= yes
+MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+
+.include <bsd.port.mk>
diff --git a/audio/gkrellmvolume2/distinfo b/audio/gkrellmvolume2/distinfo
new file mode 100644
index 000000000000..a0b678e18627
--- /dev/null
+++ b/audio/gkrellmvolume2/distinfo
@@ -0,0 +1 @@
+MD5 (volume-0.6.tar.gz) = 68de87480dfdd8c84c11e148640421d7
diff --git a/audio/gkrellmvolume2/files/patch-aa b/audio/gkrellmvolume2/files/patch-aa
new file mode 100644
index 000000000000..b669733dc1e3
--- /dev/null
+++ b/audio/gkrellmvolume2/files/patch-aa
@@ -0,0 +1,47 @@
+Index: Makefile
+diff -u Makefile.orig Makefile
+--- Makefile.orig Thu Jun 15 21:02:13 2000
++++ Makefile Thu Jun 22 22:16:36 2000
+@@ -1,15 +1,15 @@
+ # Makefile for GKrellM volume plugin
+
+ # Linux
+-GTK_CONFIG = gtk-config
+-SYSLIB = -lpthread
++#GTK_CONFIG = gtk-config
++#SYSLIB = -lpthread
+
+ # FreeBSD
+ #GTK_CONFIG = gtk12-config
+ #SYSLIB =
+
+-PLUGIN_DIR = /usr/share/gkrellm/plugins
+-GKRELLM_INCLUDE = -I/usr/local/include
++PLUGIN_DIR = $(PREFIX)/libexec/gkrellm/plugins
++GKRELLM_INCLUDE = -I$(PREFIX)/include
+
+ GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+ GTK_LIB = `$(GTK_CONFIG) --libs`
+@@ -17,12 +17,10 @@
+ IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+ IMLIB_LIB = `imlib-config --libs-gdk`
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
+ LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
+ LFLAGS = -shared
+
+-CC = gcc $(CFLAGS) $(FLAGS)
+-
+ INSTALL = install -c
+ INSTALL_PROGRAM = $(INSTALL) -s
+
+@@ -34,7 +32,7 @@
+ make GTK_CONFIG=gtk12-config SYSLIB= all
+
+ volume.so: $(OBJS)
+- $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
++ $(CC) $(CFLAGS) $(OBJS) -o volume.so $(LFLAGS) $(LIBS)
+
+ clean:
+ rm -f *.o core *.so* *.bak *~
diff --git a/audio/gkrellmvolume2/pkg-comment b/audio/gkrellmvolume2/pkg-comment
new file mode 100644
index 000000000000..0f65f28536d7
--- /dev/null
+++ b/audio/gkrellmvolume2/pkg-comment
@@ -0,0 +1 @@
+GKrellM volume plugin
diff --git a/audio/gkrellmvolume2/pkg-descr b/audio/gkrellmvolume2/pkg-descr
new file mode 100644
index 000000000000..846ebc2fc426
--- /dev/null
+++ b/audio/gkrellmvolume2/pkg-descr
@@ -0,0 +1,8 @@
+GKrellM volume plugin
+Author: Sjoerd Simons <Sjoerd@donald-duck.ele.tue.nl>
+WWW: http://gkrellm.luon.net/volume.phtml
+
+A plugin for GKrellM, that let's you control your mixer..
+
+
+- Hajimu UMEMOTO <ume@FreeBSD.org>
diff --git a/audio/gkrellmvolume2/pkg-plist b/audio/gkrellmvolume2/pkg-plist
new file mode 100644
index 000000000000..df108a97623d
--- /dev/null
+++ b/audio/gkrellmvolume2/pkg-plist
@@ -0,0 +1 @@
+libexec/gkrellm/plugins/volume.so