Update to 0.5.8.

PR:		43414
Submitted by:	Paulius Bulotas <paulius@noname.csdl.lt>
		(with some modification)
This commit is contained in:
Hajimu UMEMOTO 2002-10-12 09:42:12 +00:00
parent 4ef2a9c956
commit 7c79980f6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67856
3 changed files with 18 additions and 26 deletions

View file

@ -6,13 +6,10 @@
#
PORTNAME= gkrellmms
PORTVERSION= 0.5.5
PORTVERSION= 0.5.8
CATEGORIES= audio
MASTER_SITES= http://gkrellm.luon.net/files/
PATCH_SITES= http://web.wt.net/~billw/gkrellm/Plugins/
PATCHFILES= gkrellmms-patch-0.5.5
MAINTAINER= ume@FreeBSD.org
LIB_DEPENDS= xmms.3:${PORTSDIR}/audio/xmms

View file

@ -1,2 +1 @@
MD5 (gkrellmms-0.5.5.tar.gz) = 51dcb7e48873ce56632e0f2148360178
MD5 (gkrellmms-patch-0.5.5) = bd27baaeb52792a44ae16c890544d0d8
MD5 (gkrellmms-0.5.8.tar.gz) = c786e5668f5d66e4910b21ff990df9d6

View file

@ -1,26 +1,29 @@
Index: Makefile
diff -u Makefile.orig Makefile
--- Makefile.orig Sun Jan 21 05:28:38 2001
+++ Makefile Mon Feb 5 19:01:26 2001
@@ -3,29 +3,29 @@
--- Makefile.orig Tue Jun 25 01:03:47 2002
+++ Makefile Sat Oct 12 17:58:54 2002
@@ -3,25 +3,24 @@
# You may want to rename the binary-file.
BIN_FILENAME = gkrellmms
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread`
+GTK_LIB = `$(GTK_CONFIG) --libs gthread`
IMLIB_INCLUDE = `imlib-config --cflags-gdk`
IMLIB_LIB = `imlib-config --libs-gdk`
XMMS_INCLUDE = `xmms-config --cflags`
XMMS_LIB = `xmms-config --libs`
-GTK_INCLUDE ?= `gtk-config --cflags`
-GTK_LIB ?= `gtk-config --libs`
+GTK_INCLUDE ?= `$(GTK_CONFIG) --cflags gthread`
+GTK_LIB ?= `$(GTK_CONFIG) --libs gthread`
IMLIB_INCLUDE ?= `imlib-config --cflags-gdk`
IMLIB_LIB ?= `imlib-config --libs-gdk`
XMMS_INCLUDE ?= `xmms-config --cflags`
XMMS_LIB ?= `xmms-config --libs`
-INSTALL_DIR ?= /usr/local/lib/gkrellm/plugins
+INSTALL_DIR ?= $(PREFIX)/libexec/gkrellm/plugins
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
+CFLAGS += -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
-LFLAGS = -shared -lpthread
-
-CC = gcc $(CFLAGS) $(FLAGS)
-CC ?= gcc
-CC += $(CFLAGS) $(FLAGS)
+LFLAGS = -shared
OBJS = gkrellmms.o options.o playlist.o
@ -33,10 +36,3 @@ diff -u Makefile.orig Makefile
clean:
rm -f *.o core *.so* *.bak *~
install:
- install -c -s -m 755 $(BIN_FILENAME).so /usr/share/gkrellm/plugins
+ install -c -s -m 755 $(BIN_FILENAME).so $(PREFIX)/libexec/gkrellm/plugins
gkrellmms.c.o: gkrellmms.c
options.c.o: options.c