summaryrefslogtreecommitdiff
path: root/misc/gkrellshoot
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2002-10-22 04:34:27 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2002-10-22 04:34:27 +0000
commit8c5eb3f15769e426da07e527455d791d65884387 (patch)
treec116db4f3efcc4e4dca19ddb36ef51a6abe73f9f /misc/gkrellshoot
parentMake the pkg-descr a little clearer. (diff)
Update gkrellshoot 0.2 -> 0.3.2
PR: 44364 Submitted by: elitetek@tekrealm.net (maintainer) Approved by: pat
Notes
Notes: svn path=/head/; revision=68569
Diffstat (limited to 'misc/gkrellshoot')
-rw-r--r--misc/gkrellshoot/Makefile5
-rw-r--r--misc/gkrellshoot/distinfo2
-rw-r--r--misc/gkrellshoot/files/patch-Makefile20
3 files changed, 17 insertions, 10 deletions
diff --git a/misc/gkrellshoot/Makefile b/misc/gkrellshoot/Makefile
index 993bfe659e09..5cc6c9b966ca 100644
--- a/misc/gkrellshoot/Makefile
+++ b/misc/gkrellshoot/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= gkrellshoot
-PORTVERSION= 0.2
+PORTVERSION= 0.3.2
CATEGORIES= misc
-MASTER_SITES= http://www.geocities.com/m_muthukumar/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= elitetek@tekrealm.net
diff --git a/misc/gkrellshoot/distinfo b/misc/gkrellshoot/distinfo
index d41bb721ae25..4d9905a43607 100644
--- a/misc/gkrellshoot/distinfo
+++ b/misc/gkrellshoot/distinfo
@@ -1 +1 @@
-MD5 (gkrellshoot-0.2.tar.gz) = 17b132289647044e413255788c13642d
+MD5 (gkrellshoot-0.3.2.tar.gz) = a1c37ccfe4b1d86d8f363720ef9a75f4
diff --git a/misc/gkrellshoot/files/patch-Makefile b/misc/gkrellshoot/files/patch-Makefile
index b9455f7d44bf..cb2f9e62691c 100644
--- a/misc/gkrellshoot/files/patch-Makefile
+++ b/misc/gkrellshoot/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Thu Mar 7 00:44:28 2002
-+++ Makefile Thu Mar 7 00:52:39 2002
+--- Makefile.orig Mon Oct 21 17:31:33 2002
++++ Makefile Mon Oct 21 17:37:34 2002
@@ -1,20 +1,20 @@
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
@@ -13,12 +13,12 @@
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
-+CFLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
++CFLAGS+= -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
LIBS = $(GTK_LIB) $(IMLIB_LIB)
LFLAGS = -shared
-CC = gcc $(CFLAGS) $(FLAGS)
-+CC ?= gcc $(CFLAGS) $(FLAGS)
++CC ?= gcc $(CFLAGS)
OBJS = gkrellshoot.o
@@ -28,7 +28,7 @@
clean:
rm -f *.o core *.so* *.bak *~
-@@ -22,21 +22,9 @@
+@@ -22,17 +22,7 @@
gkrellshoot.o: gkrellshoot.c
install:
@@ -39,17 +39,23 @@
- elif [ -d /usr/local/lib/gkrellm/plugins/ ] ; then \
- install -c -s -m 644 gkrellshoot.so /usr/local/lib/gkrellm/plugins/ ; \
- elif [ -d /usr/lib/gkrellm/plugins/ ] ; then \
-- install -c -s -m 644 gkrellshoot.so /usr/lib/gkrellm/plugins/ ; \
+- install -c -s -m 644 gkrellshoot.so /usr/lib/gkrellm/plugins/ ; \
- else \
- install -D -c -s -m 644 gkrellshoot.so /usr/lib/gkrellm/plugins/gkrellshoot.so ; \
- fi
+ install -c -s gkrellshoot.so ${PREFIX}/libexec/gkrellm/plugins
+ userinstall:
+ if [ -d $(HOME)/.gkrellm/plugins/ ] ; then \
+ install -C -s -m 644 gkrellshoot.so $(HOME)/.gkrellm/plugins/ ; \
+@@ -41,9 +31,6 @@
+ fi
uninstall:
- rm -f /usr/lib/gkrellm/plugins/gkrellshoot.so
- rm -f /usr/share/gkrellm/plugins/gkrellshoot.so
- rm -f /usr/local/lib/gkrellm/plugins/gkrellshoot.so
- rm -f /usr/lib/gkrellm/plugins/gkrellshoot.so
+- rm -f $(HOME)/.gkrellm/plugins/gkrellshoot.so
+ rm -f $(PLUGIN_DIR)/gkrellshoot.so
-+all: gkrellshoot.so
++all: gkrellshoot.so