aboutsummaryrefslogtreecommitdiff
path: root/astro/xmoontool
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-02 09:53:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-02 09:53:38 +0000
commiteda716f458d05e1aeffd8c8d82543c9eab0a51e8 (patch)
tree20908f829380df47a891df070308ce3085136083 /astro/xmoontool
parent48e946fe17a024e3d4f4aec52bbf70f246b1bc61 (diff)
downloadports-eda716f458d05e1aeffd8c8d82543c9eab0a51e8.tar.gz
ports-eda716f458d05e1aeffd8c8d82543c9eab0a51e8.zip
New port: astro/xmoontool - A version of John Walker's classical moontool for X11/Motif
John Walker's moontool for the X11 desktop. It shows a real-time picture of the moon phases and displays some related astronomical data about the moon and the sun. -- This version of the program uses the Motif toolkit. WWW: http://www.fourmilab.ch/nav/topics/astrospace.html PR: ports/91187 Submitted by: Frank W. Josellis <frank@dynamical-systems.org>
Notes
Notes: svn path=/head/; revision=152569
Diffstat (limited to 'astro/xmoontool')
-rw-r--r--astro/xmoontool/Makefile48
-rw-r--r--astro/xmoontool/distinfo3
-rw-r--r--astro/xmoontool/pkg-descr6
3 files changed, 57 insertions, 0 deletions
diff --git a/astro/xmoontool/Makefile b/astro/xmoontool/Makefile
new file mode 100644
index 000000000000..e64458b0d2c4
--- /dev/null
+++ b/astro/xmoontool/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: xmoontool
+# Date created: 31 December 2005
+# Whom: Frank W. Josellis <frank@dynamical-systems.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmoontool
+PORTVERSION= 3.0.1a
+CATEGORIES= astro
+MASTER_SITES= http://www.senax.net/xmoontool/
+
+MAINTAINER= frank@dynamical-systems.org
+COMMENT= A version of John Walker's classical moontool for X11/Motif
+
+USE_REINPLACE= yes
+USE_MOTIF= yes
+USE_X_PREFIX= yes
+
+MAN1= xmoontool.1
+PORTDOCS= NOTES
+PLIST_FILES= bin/xmoontool
+
+.include <bsd.port.pre.mk>
+
+pre-configure:
+.if !defined(WITHOUT_DEFAULT_COLOR)
+ @${ECHO_MSG} "For use with monochrome displays try to set WITHOUT_DEFAULT_COLOR"
+.endif
+
+do-configure:
+.if defined(WITHOUT_DEFAULT_COLOR)
+ @${REINPLACE_CMD} -e 's|-DDEFAULT_COLOR||g' ${WRKSRC}/Makefile
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmoontool ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xmoontool.1 ${PREFIX}/man/man1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/astro/xmoontool/distinfo b/astro/xmoontool/distinfo
new file mode 100644
index 000000000000..3ad2d551b6dc
--- /dev/null
+++ b/astro/xmoontool/distinfo
@@ -0,0 +1,3 @@
+MD5 (xmoontool-3.0.1a.tar.gz) = 56238ad2e3e47e3c8760bc850d141f17
+SHA256 (xmoontool-3.0.1a.tar.gz) = 35b5bb317ca8e077504a6b6e5e7470ccfdbd4012f73aa6cf014ebf3bea798f54
+SIZE (xmoontool-3.0.1a.tar.gz) = 20095
diff --git a/astro/xmoontool/pkg-descr b/astro/xmoontool/pkg-descr
new file mode 100644
index 000000000000..a1f63e7cad73
--- /dev/null
+++ b/astro/xmoontool/pkg-descr
@@ -0,0 +1,6 @@
+John Walker's moontool for the X11 desktop. It shows a real-time picture
+of the moon phases and displays some related astronomical data about the
+moon and the sun. -- This version of the program uses the Motif toolkit.
+
+WWW: http://www.fourmilab.ch/nav/topics/astrospace.html
+Author: John Walker