summaryrefslogtreecommitdiff
path: root/astro/gkrellmearth
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-07-02 23:23:12 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-07-02 23:23:12 +0000
commit5f84c28d4cbcc6df0855c77f1909905291277107 (patch)
tree400029850141071f6db27a2efcd30eb00c0ad811 /astro/gkrellmearth
parentUpdate the rest of the GCC port to use the more common GCC tarbal. (diff)
o New port for a GKrellM plugin that display a rotating earth
o Port version 0.3 Submitted by: Patrick Li <pat@databits.net>
Notes
Notes: svn path=/head/; revision=44664
Diffstat (limited to 'astro/gkrellmearth')
-rw-r--r--astro/gkrellmearth/Makefile28
-rw-r--r--astro/gkrellmearth/distinfo1
-rw-r--r--astro/gkrellmearth/files/patch-Makefile32
-rw-r--r--astro/gkrellmearth/pkg-comment1
-rw-r--r--astro/gkrellmearth/pkg-descr7
-rw-r--r--astro/gkrellmearth/pkg-plist1
6 files changed, 70 insertions, 0 deletions
diff --git a/astro/gkrellmearth/Makefile b/astro/gkrellmearth/Makefile
new file mode 100644
index 000000000000..2a1996455b38
--- /dev/null
+++ b/astro/gkrellmearth/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: gkrellm-earth
+# Date Created: Thu Jun 28 01:54:57 EDT 2001
+# Whom: Patrick Li <pat@databits.net>
+# With help from: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= earth
+PORTVERSION= 0.3
+CATEGORIES= astro
+MASTER_SITES= http://www.geocities.com/saintdead/
+PKGNAMEPREFIX= gkrellm
+DISTNAME= ${PORTNAME}_anim-${PORTVERSION}
+
+MAINTAINER= pat@databits.net
+
+BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
+RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
+
+WRKSRC= ${WRKDIR}/${PORTNAME}_anim
+USE_X_PREFIX= yes
+USE_IMLIB= yes
+MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+ALL_TARGET= ${PORTNAME}_anim.so
+
+.include <bsd.port.mk>
diff --git a/astro/gkrellmearth/distinfo b/astro/gkrellmearth/distinfo
new file mode 100644
index 000000000000..fea9db1d3012
--- /dev/null
+++ b/astro/gkrellmearth/distinfo
@@ -0,0 +1 @@
+MD5 (earth_anim-0.3.tar.gz) = fc5517c55367f806939a96036e79e737
diff --git a/astro/gkrellmearth/files/patch-Makefile b/astro/gkrellmearth/files/patch-Makefile
new file mode 100644
index 000000000000..efcf98ce4d64
--- /dev/null
+++ b/astro/gkrellmearth/files/patch-Makefile
@@ -0,0 +1,32 @@
+--- Makefile.orig Thu Jun 28 02:19:33 2001
++++ Makefile Thu Jun 28 02:23:38 2001
+@@ -1,17 +1,16 @@
+-GTK_INCLUDE = `gtk-config --cflags`
+-GTK_LIB = `gtk-config --libs`
++GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
++GTK_LIB = `$(GTK_CONFIG) --libs`
+
+ IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+ IMLIB_LIB = `imlib-config --libs-gdk`
+-THREAD_LIB = -lpthread
+-INSTALLDIR = $(HOME)/.gkrellm/plugins
++INSTALLDIR = $(PREFIX)/libexec/gkrellm/plugins
+
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
+-LIBS = $(GTK_LIB) $(IMLIB_LIB) $(THREAD_LIB)
++FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ${PTHREAD_CFLAGS}
++LIBS = $(GTK_LIB) $(IMLIB_LIB) ${PTHREAD_LIBS}
+ LFLAGS = -shared
+
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC += $(CFLAGS) $(FLAGS)
+
+ OBJS = earth_anim.o
+
+@@ -26,4 +25,4 @@
+ # %.o: %.c
+
+ install: earth_anim.so
+- install -c -s -m 644 earth_anim.so $(INSTALLDIR)
++ $(BSD_INSTALL_DATA) earth_anim.so $(INSTALLDIR)
diff --git a/astro/gkrellmearth/pkg-comment b/astro/gkrellmearth/pkg-comment
new file mode 100644
index 000000000000..6451f10a0b33
--- /dev/null
+++ b/astro/gkrellmearth/pkg-comment
@@ -0,0 +1 @@
+A plugin for GKrellM that displays a rotating earth
diff --git a/astro/gkrellmearth/pkg-descr b/astro/gkrellmearth/pkg-descr
new file mode 100644
index 000000000000..585ee2b27685
--- /dev/null
+++ b/astro/gkrellmearth/pkg-descr
@@ -0,0 +1,7 @@
+This is a simple plugin for GKrellM that displays a rotating image
+of the earth.
+
+WWW: http://www.geocities.com/saintdead/earth_anim.html
+Author: Brad Abel <envy@cybergoth.zzn.com>
+
+- Patrick Li <pat@databits.net>
diff --git a/astro/gkrellmearth/pkg-plist b/astro/gkrellmearth/pkg-plist
new file mode 100644
index 000000000000..baf0478a842c
--- /dev/null
+++ b/astro/gkrellmearth/pkg-plist
@@ -0,0 +1 @@
+libexec/gkrellm/plugins/earth_anim.so