1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

o New port for a GKrellM plugin that display a rotating earth

o Port version 0.3

Submitted by:	Patrick Li <pat@databits.net>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-07-02 23:23:12 +00:00
parent 74452eef3c
commit 5f84c28d4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44664
7 changed files with 71 additions and 0 deletions

View File

@ -4,6 +4,7 @@
SUBDIR += SETIsupport
SUBDIR += dgpsip
SUBDIR += ephem
SUBDIR += gkrellmearth
SUBDIR += gkrellmoon
SUBDIR += glunarclock
SUBDIR += jday

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (earth_anim-0.3.tar.gz) = fc5517c55367f806939a96036e79e737

View File

@ -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)

View File

@ -0,0 +1 @@
A plugin for GKrellM that displays a rotating earth

View File

@ -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>

View File

@ -0,0 +1 @@
libexec/gkrellm/plugins/earth_anim.so