pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/gkrellm1-moon Re-import of misc/gkrellm-moon as m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67b81d3cee6f
branches:  trunk
changeset: 469541:67b81d3cee6f
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Feb 24 23:09:51 2004 +0000

description:
Re-import of misc/gkrellm-moon as misc/gkrellm1-moon to leave space for the
GKrellM-2 port of the moon plugin.

diffstat:

 misc/gkrellm1-moon/DESCR            |   2 ++
 misc/gkrellm1-moon/Makefile         |  19 +++++++++++++++++++
 misc/gkrellm1-moon/PLIST            |   2 ++
 misc/gkrellm1-moon/distinfo         |   5 +++++
 misc/gkrellm1-moon/patches/patch-aa |  33 +++++++++++++++++++++++++++++++++
 5 files changed, 61 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r f9d044d66b56 -r 67b81d3cee6f misc/gkrellm1-moon/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-moon/DESCR  Tue Feb 24 23:09:51 2004 +0000
@@ -0,0 +1,2 @@
+gkrellmoon is a moon clock plugin for gkrellm. It shows the
+current phase of the moon.
diff -r f9d044d66b56 -r 67b81d3cee6f misc/gkrellm1-moon/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-moon/Makefile       Tue Feb 24 23:09:51 2004 +0000
@@ -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@localhost
+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 -r f9d044d66b56 -r 67b81d3cee6f misc/gkrellm1-moon/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-moon/PLIST  Tue Feb 24 23:09:51 2004 +0000
@@ -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 -r f9d044d66b56 -r 67b81d3cee6f misc/gkrellm1-moon/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-moon/distinfo       Tue Feb 24 23:09:51 2004 +0000
@@ -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 -r f9d044d66b56 -r 67b81d3cee6f misc/gkrellm1-moon/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm1-moon/patches/patch-aa       Tue Feb 24 23:09:51 2004 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index