aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gkrellmvolume
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-06-23 02:16:28 +0800
committerume <ume@FreeBSD.org>2000-06-23 02:16:28 +0800
commitf5655e8ed2905034eead37cb2a00ca3619e7cfc2 (patch)
treeff3f33c36d7588ab2644fdd61265f8901e09954c /audio/gkrellmvolume
parenta55f56a6fde6d47a338057a66bf0a736ff285940 (diff)
downloadfreebsd-ports-gnome-f5655e8ed2905034eead37cb2a00ca3619e7cfc2.tar.gz
freebsd-ports-gnome-f5655e8ed2905034eead37cb2a00ca3619e7cfc2.tar.zst
freebsd-ports-gnome-f5655e8ed2905034eead37cb2a00ca3619e7cfc2.zip
Initial import of gkrellmvolume.
A plugin for GKrellM, that let's you control your mixer..
Diffstat (limited to 'audio/gkrellmvolume')
-rw-r--r--audio/gkrellmvolume/Makefile26
-rw-r--r--audio/gkrellmvolume/distinfo1
-rw-r--r--audio/gkrellmvolume/files/patch-aa47
-rw-r--r--audio/gkrellmvolume/pkg-comment1
-rw-r--r--audio/gkrellmvolume/pkg-descr8
-rw-r--r--audio/gkrellmvolume/pkg-plist1
6 files changed, 84 insertions, 0 deletions
diff --git a/audio/gkrellmvolume/Makefile b/audio/gkrellmvolume/Makefile
new file mode 100644
index 000000000000..38b21355b0e7
--- /dev/null
+++ b/audio/gkrellmvolume/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/gkrellmvolume/distinfo b/audio/gkrellmvolume/distinfo
new file mode 100644
index 000000000000..a0b678e18627
--- /dev/null
+++ b/audio/gkrellmvolume/distinfo
@@ -0,0 +1 @@
+MD5 (volume-0.6.tar.gz) = 68de87480dfdd8c84c11e148640421d7
diff --git a/audio/gkrellmvolume/files/patch-aa b/audio/gkrellmvolume/files/patch-aa
new file mode 100644
index 000000000000..b669733dc1e3
--- /dev/null
+++ b/audio/gkrellmvolume/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/gkrellmvolume/pkg-comment b/audio/gkrellmvolume/pkg-comment
new file mode 100644
index 000000000000..0f65f28536d7
--- /dev/null
+++ b/audio/gkrellmvolume/pkg-comment
@@ -0,0 +1 @@
+GKrellM volume plugin
diff --git a/audio/gkrellmvolume/pkg-descr b/audio/gkrellmvolume/pkg-descr
new file mode 100644
index 000000000000..846ebc2fc426
--- /dev/null
+++ b/audio/gkrellmvolume/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/gkrellmvolume/pkg-plist b/audio/gkrellmvolume/pkg-plist
new file mode 100644
index 000000000000..df108a97623d
--- /dev/null
+++ b/audio/gkrellmvolume/pkg-plist
@@ -0,0 +1 @@
+libexec/gkrellm/plugins/volume.so