summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcube <cube>2004-02-24 23:09:51 +0000
committercube <cube>2004-02-24 23:09:51 +0000
commit7f70c4d0be749421eed54734a58a66284227438b (patch)
tree48f1fa091e2cc729be1b67b330cc441788c949bb
parentd10e5943b4f1658c362535ebb34a5a02344098e7 (diff)
downloadpkgsrc-7f70c4d0be749421eed54734a58a66284227438b.tar.gz
Re-import of misc/gkrellm-moon as misc/gkrellm1-moon to leave space for the
GKrellM-2 port of the moon plugin.
-rw-r--r--misc/gkrellm1-moon/DESCR2
-rw-r--r--misc/gkrellm1-moon/Makefile19
-rw-r--r--misc/gkrellm1-moon/PLIST2
-rw-r--r--misc/gkrellm1-moon/distinfo5
-rw-r--r--misc/gkrellm1-moon/patches/patch-aa33
5 files changed, 61 insertions, 0 deletions
diff --git a/misc/gkrellm1-moon/DESCR b/misc/gkrellm1-moon/DESCR
new file mode 100644
index 00000000000..7fa851bba24
--- /dev/null
+++ b/misc/gkrellm1-moon/DESCR
@@ -0,0 +1,2 @@
+gkrellmoon is a moon clock plugin for gkrellm. It shows the
+current phase of the moon.
diff --git a/misc/gkrellm1-moon/Makefile b/misc/gkrellm1-moon/Makefile
new file mode 100644
index 00000000000..3d7c82f0f5d
--- /dev/null
+++ b/misc/gkrellm1-moon/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 23:09:51 cube Exp $
+
+DISTNAME= gkrellmoon-0.3
+PKGNAME= gkrellm-moon-0.3
+PKGREVISION= 4
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellmoon/}
+
+MAINTAINER= damon@NetBSD.org
+HOMEPAGE= http://gkrellmoon.sourceforge.net/
+COMMENT= gkrellm moonclock plugin
+
+USE_BUILDLINK2= YES
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
+
+.include "../../sysutils/gkrellm/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/gkrellm1-moon/PLIST b/misc/gkrellm1-moon/PLIST
new file mode 100644
index 00000000000..77dac802a84
--- /dev/null
+++ b/misc/gkrellm1-moon/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 23:09:51 cube Exp $
+lib/gkrellm/plugins/gkrellmoon.so
diff --git a/misc/gkrellm1-moon/distinfo b/misc/gkrellm1-moon/distinfo
new file mode 100644
index 00000000000..e8cb13ba775
--- /dev/null
+++ b/misc/gkrellm1-moon/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/24 23:09:51 cube Exp $
+
+SHA1 (gkrellmoon-0.3.tar.gz) = 13c774ab2acc9cadc157c7cf16776c3b6bfb42f1
+Size (gkrellmoon-0.3.tar.gz) = 51988 bytes
+SHA1 (patch-aa) = 1af28d177f7ecaabcd41608d12685398f541c33d
diff --git a/misc/gkrellm1-moon/patches/patch-aa b/misc/gkrellm1-moon/patches/patch-aa
new file mode 100644
index 00000000000..6ea4320659e
--- /dev/null
+++ b/misc/gkrellm1-moon/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 23:09:51 cube Exp $
+
+--- Makefile.orig Sat Oct 20 01:40:33 2001
++++ Makefile
+@@ -4,17 +4,19 @@
+ IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+ IMLIB_LIB = `imlib-config --libs-gdk`
+ THREAD_LIB = -lpthread
+-INSTALLDIR = /usr/share/gkrellm/plugins
++INSTALLDIR = ${PREFIX}/lib/gkrellm/plugins
+
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) -I${PREFIX}/include
+ LIBS = $(GTK_LIB) $(IMLIB_LIB) $(THREAD_LIB)
+ LFLAGS = -shared
+
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = gcc $(CFLAGS)
+
+ OBJS = gkrellmoon.o MoonRise.o CalcEphem.o Moon.o
+
++all: gkrellmoon.so
++
+ gkrellmoon.so: $(OBJS)
+ $(CC) $(OBJS) -o gkrellmoon.so $(LFLAGS) $(LIBS)
+
+@@ -26,4 +28,4 @@
+ # %.o: %.c
+
+ install: gkrellmoon.so
+- sudo install -c -s -m 644 gkrellmoon.so $(INSTALLDIR)
++ install -c -s -m 644 gkrellmoon.so $(INSTALLDIR)