1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Add port astro/wmjupiter - Dockapp that displays information on jupiter

This commit is contained in:
Patrick Li 2002-01-15 23:28:29 +00:00
parent f5ee20dc56
commit c93e2468f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53136
7 changed files with 64 additions and 0 deletions

View File

@ -35,6 +35,7 @@
SUBDIR += sunclock
SUBDIR += tkseti
SUBDIR += wmglobe
SUBDIR += wmjupiter
SUBDIR += wmmoonclock
SUBDIR += wmspaceweather
SUBDIR += wmsun

27
astro/wmjupiter/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: wmjupiter
# Date created: Tue Jan 15 17:28:49 EST 2002
# Whom: pat
#
# $FreeBSD$
#
PORTNAME= wmjupiter
PORTVERSION= 1.1
CATEGORIES= astro windowmaker
MASTER_SITES= http://www.inxsoft.net/wmjupiter/
MAINTAINER= pat@FreeBSD.org
WRKSRC= ${WRKDIR}/wmJupiter
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
pre-patch:
@${PERL} -pi.orig -e 's|values.h|float.h|; s|MAXDOUBLE|DBL_MAX|g' \
${WRKSRC}/wmJupiter.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/wmJupiter ${PREFIX}/bin
.include <bsd.port.mk>

1
astro/wmjupiter/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (wmjupiter-1.1.tar.gz) = 7a28fefc981fdf062ff229cfa9241730

View File

@ -0,0 +1,22 @@
--- Makefile.orig Wed Jan 9 11:31:34 2002
+++ Makefile Tue Jan 15 17:40:12 2002
@@ -1,8 +1,6 @@
-CC = gcc
-CFLAGS = -O2 -Wall
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+INCDIR = -I${X11BASE}/include
DESTDIR= /usr/X11R6
-LIBDIR = -L/usr/X11R6/lib
+LIBDIR = -L${X11BASE}/lib
# for linux
LIBS = -lXpm -lX11 -lXext -lm
# for Solaris
@@ -12,7 +10,7 @@
.c.o:
- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+ $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
all: wmJupiter.o wmJupiter

View File

@ -0,0 +1 @@
Dockapp that displays information on jupiter

11
astro/wmjupiter/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
[from website]
This dockapp shows you the actual distance of Jupiter in astronomical
units (AE) and when the red spot crosses (which is a weather feature
on jupiter). The four Gallileo Moons are displayed too but only
when they are near the planet (Io, Europa, Ganymede, and Calisto).
The position of the red spot changes on the surface so you need to
change that value within few months or so. The current position can
be found on the internet. It was 80 deg. as of 11th Jan 2002.
WWW: http://www.inxsoft.net/wmjupiter/
Author: Thomas Kuiper <tkuiper@inxsoft.net>

View File

@ -0,0 +1 @@
bin/wmJupiter