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:
parent
74452eef3c
commit
5f84c28d4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44664
@ -4,6 +4,7 @@
|
||||
SUBDIR += SETIsupport
|
||||
SUBDIR += dgpsip
|
||||
SUBDIR += ephem
|
||||
SUBDIR += gkrellmearth
|
||||
SUBDIR += gkrellmoon
|
||||
SUBDIR += glunarclock
|
||||
SUBDIR += jday
|
||||
|
28
astro/gkrellmearth/Makefile
Normal file
28
astro/gkrellmearth/Makefile
Normal 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>
|
1
astro/gkrellmearth/distinfo
Normal file
1
astro/gkrellmearth/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (earth_anim-0.3.tar.gz) = fc5517c55367f806939a96036e79e737
|
32
astro/gkrellmearth/files/patch-Makefile
Normal file
32
astro/gkrellmearth/files/patch-Makefile
Normal 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)
|
1
astro/gkrellmearth/pkg-comment
Normal file
1
astro/gkrellmearth/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A plugin for GKrellM that displays a rotating earth
|
7
astro/gkrellmearth/pkg-descr
Normal file
7
astro/gkrellmearth/pkg-descr
Normal 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>
|
1
astro/gkrellmearth/pkg-plist
Normal file
1
astro/gkrellmearth/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
libexec/gkrellm/plugins/earth_anim.so
|
Loading…
Reference in New Issue
Block a user