diff options
author | lioux <lioux@FreeBSD.org> | 2001-07-02 23:23:12 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-07-02 23:23:12 +0000 |
commit | be1c21bde0a5d17e145f2069cc24768797d42b1b (patch) | |
tree | 2a9e2fe25485eda0e4cc2552f28a30a8d83bdab7 /astro | |
parent | 137f590f8a5fef3aa9b3873cbf28bf33b9f81c75 (diff) | |
download | FreeBSD-ports-be1c21bde0a5d17e145f2069cc24768797d42b1b.zip FreeBSD-ports-be1c21bde0a5d17e145f2069cc24768797d42b1b.tar.gz |
o New port for a GKrellM plugin that display a rotating earth
o Port version 0.3
Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/gkrellmearth/Makefile | 28 | ||||
-rw-r--r-- | astro/gkrellmearth/distinfo | 1 | ||||
-rw-r--r-- | astro/gkrellmearth/files/patch-Makefile | 32 | ||||
-rw-r--r-- | astro/gkrellmearth/pkg-comment | 1 | ||||
-rw-r--r-- | astro/gkrellmearth/pkg-descr | 7 | ||||
-rw-r--r-- | astro/gkrellmearth/pkg-plist | 1 |
7 files changed, 71 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index 5482f33..cbc3083 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -4,6 +4,7 @@ SUBDIR += SETIsupport SUBDIR += dgpsip SUBDIR += ephem + SUBDIR += gkrellmearth SUBDIR += gkrellmoon SUBDIR += glunarclock SUBDIR += jday diff --git a/astro/gkrellmearth/Makefile b/astro/gkrellmearth/Makefile new file mode 100644 index 0000000..2a19964 --- /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 0000000..fea9db1 --- /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 0000000..efcf98c --- /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 0000000..6451f10 --- /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 0000000..585ee2b --- /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 0000000..baf0478 --- /dev/null +++ b/astro/gkrellmearth/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm/plugins/earth_anim.so |