summaryrefslogtreecommitdiff
path: root/misc/astrolog
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-10-11 21:53:59 +0000
committerhubertf <hubertf@pkgsrc.org>1997-10-11 21:53:59 +0000
commit240eed442d1f97f7d7dd9430673499ef25dd1f36 (patch)
treecd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /misc/astrolog
parent652e2956ee0721786181dcf43d7559a17c9b93f9 (diff)
downloadpkgsrc-240eed442d1f97f7d7dd9430673499ef25dd1f36.tar.gz
Import as of 09/25/97
Diffstat (limited to 'misc/astrolog')
-rw-r--r--misc/astrolog/Makefile53
-rw-r--r--misc/astrolog/files/md54
-rw-r--r--misc/astrolog/patches/patch-aa21
-rw-r--r--misc/astrolog/patches/patch-ab39
-rw-r--r--misc/astrolog/pkg/COMMENT1
-rw-r--r--misc/astrolog/pkg/DESCR20
-rw-r--r--misc/astrolog/pkg/INSTALL7
-rw-r--r--misc/astrolog/pkg/PLIST8
8 files changed, 153 insertions, 0 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
new file mode 100644
index 00000000000..7bf6bce7ae5
--- /dev/null
+++ b/misc/astrolog/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: astrolog
+#
+# http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
+# http://www.magitech.com/~cruiser1/astrolog.htm
+#
+# Version required: 5.30
+# Date created: 31 July 1995
+# Whom: faulkner@cactus.org
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:01 hubertf Exp $
+#
+
+DISTNAME= ast53unx
+PKGNAME= astrolog-5.30
+CATEGORIES= misc
+MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \
+ http://www.astrolog.org/ftp/ \
+ ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/
+EXTRACT_ONLY= ${DISTNAME}.shr
+EPHEM= LRZ5_24 CHI_24 CPJV_24
+DISTFILES= ${EXTRACT_ONLY} ${EPHEM}
+
+MAINTAINER= ache@FreeBSD.ORG
+
+EXTRACT_CMD= ${SH}
+EXTRACT_ARGS=
+DIST_SUBDIR= astrolog
+ALL_TARGET= astrolog
+NO_WRKSUBDIR= Yes
+
+do-install:
+ -@${MKDIR} ${PREFIX}/lib/astrolog
+ cd ${DISTDIR}/${DIST_SUBDIR} && \
+ ${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog
+ cd ${WRKSRC} && \
+ if [ -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
+ ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
+ else \
+ ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
+ fi
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
+ -@${MKDIR} ${PREFIX}/share/doc/astrolog
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} Helpfile.530 ${PREFIX}/share/doc/astrolog
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} Update.530 ${PREFIX}/share/doc/astrolog
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} README.530 ${PREFIX}/share/doc/astrolog
+ @echo
+ @echo "See the file ${PREFIX}/share/doc/astrolog/Helpfile.530 for help"
+ @echo "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
+
+.include <bsd.port.mk>
diff --git a/misc/astrolog/files/md5 b/misc/astrolog/files/md5
new file mode 100644
index 00000000000..dc2a4298e5f
--- /dev/null
+++ b/misc/astrolog/files/md5
@@ -0,0 +1,4 @@
+MD5 (astrolog/ast53unx.shr) = 3be257b0bbd25afe53acc6838d09af0b
+MD5 (astrolog/LRZ5_24) = a02e13225eadbe4771edaa1a85c7a3bc
+MD5 (astrolog/CHI_24) = b2b2643270155c0947ec8a36c24ce9d7
+MD5 (astrolog/CPJV_24) = 858e401a8fbf19dda777eb432e176698
diff --git a/misc/astrolog/patches/patch-aa b/misc/astrolog/patches/patch-aa
new file mode 100644
index 00000000000..4af7e5601af
--- /dev/null
+++ b/misc/astrolog/patches/patch-aa
@@ -0,0 +1,21 @@
+*** makefile.unx.bak Sun Sep 29 23:27:00 1996
+--- Makefile Tue Jan 14 01:06:55 1997
+***************
+*** 23,30 ****
+ charts0.o charts1.o charts2.o charts3.o intrpret.o\
+ xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o
+ # If you don't have X windows, delete the "-lX11" part from the line below:
+! LIBS = -lm -lX11
+! CFLAGS = -O
+
+ astrolog:: $(OBJ)
+ cc -o $(NAME) $(OBJ) $(LIBS)
+--- 23,30 ----
+ charts0.o charts1.o charts2.o charts3.o intrpret.o\
+ xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o
+ # If you don't have X windows, delete the "-lX11" part from the line below:
+! LIBS = -L${X11BASE}/lib -lX11 -lm
+! CFLAGS += -I${X11BASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
+
+ astrolog:: $(OBJ)
+ cc -o $(NAME) $(OBJ) $(LIBS)
diff --git a/misc/astrolog/patches/patch-ab b/misc/astrolog/patches/patch-ab
new file mode 100644
index 00000000000..8da349f1e68
--- /dev/null
+++ b/misc/astrolog/patches/patch-ab
@@ -0,0 +1,39 @@
+*** astrolog.h.orig Sun Feb 2 23:06:03 1997
+--- astrolog.h Thu May 29 05:06:03 1997
+***************
+*** 82,92 ****
+ #define ENVIRON /* Comment out this #define if your system doesn't have */
+ /* environment variables or can't compile calls to them. */
+
+! #define ATOF /* Comment out this #define if you have a system in which */
+ /* 'atof' and related functions aren't defined in stdio.h, */
+ /* such as most PC's, Linux, VMS compilers, and NeXT's. */
+
+! /*#define PROTO /* Comment out this #define if you have an older compiler */
+ /* which doesn't allow full Ansi function prototypes. This */
+ /* is for programmers only and has no effect on executable. */
+
+--- 82,92 ----
+ #define ENVIRON /* Comment out this #define if your system doesn't have */
+ /* environment variables or can't compile calls to them. */
+
+! /*#define ATOF /* Comment out this #define if you have a system in which */
+ /* 'atof' and related functions aren't defined in stdio.h, */
+ /* such as most PC's, Linux, VMS compilers, and NeXT's. */
+
+! #define PROTO /* Comment out this #define if you have an older compiler */
+ /* which doesn't allow full Ansi function prototypes. This */
+ /* is for programmers only and has no effect on executable. */
+
+***************
+*** 131,137 ****
+--- 131,139 ----
+ */
+
+ #ifndef PC
++ #ifndef DEFAULT_DIR
+ #define DEFAULT_DIR "~/astrolog"
++ #endif
+ #else
+ #define DEFAULT_DIR "C:\\ASTROLOG"
+ #endif
diff --git a/misc/astrolog/pkg/COMMENT b/misc/astrolog/pkg/COMMENT
new file mode 100644
index 00000000000..7902813bb85
--- /dev/null
+++ b/misc/astrolog/pkg/COMMENT
@@ -0,0 +1 @@
+An astrology program for X11 and alpha-numeric terminals
diff --git a/misc/astrolog/pkg/DESCR b/misc/astrolog/pkg/DESCR
new file mode 100644
index 00000000000..3c1f53c0eed
--- /dev/null
+++ b/misc/astrolog/pkg/DESCR
@@ -0,0 +1,20 @@
+* Astrolog 5.30 is a many featured and
+customizable astrology chart calculation
+program for DOS, Windows, Mac, and Unix,
+used in 30+ countries on six continents.
+It is 100% freeware and requires no
+registration fee. :) The complete source
+code is available. Astrolog features:
+wheels, aspects, midpoints, relationship
+charts, transits, progressions, some
+interpretations, astro-graphy, local
+horizon, constellations, planet orbits,
+dispositors, various influence charts,
+biorhythms, different zodiacs, central
+planets, 14 house systems, 8400 year
+ephemeris, asteroids, Uranians, fixed
+stars, Arabic parts, script files and
+macros, interactive PC & MS/X11 Windows
+graphics, smooth animation of charts,
+graphic files in PostScript, Windows
+metafile, and bitmap formats, and more!
diff --git a/misc/astrolog/pkg/INSTALL b/misc/astrolog/pkg/INSTALL
new file mode 100644
index 00000000000..89b4e2f026a
--- /dev/null
+++ b/misc/astrolog/pkg/INSTALL
@@ -0,0 +1,7 @@
+#!/bin/sh
+# installation script for astrolog
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+echo "See the file ${PKG_PREFIX}/share/doc/astrolog/Helpfile.530 for help"
+echo "and tune ${PKG_PREFIX}/lib/astrolog/astrolog.dat"
diff --git a/misc/astrolog/pkg/PLIST b/misc/astrolog/pkg/PLIST
new file mode 100644
index 00000000000..dfd8a9e59c6
--- /dev/null
+++ b/misc/astrolog/pkg/PLIST
@@ -0,0 +1,8 @@
+bin/astrolog
+share/doc/astrolog/Helpfile.530
+share/doc/astrolog/README.530
+share/doc/astrolog/Update.530
+lib/astrolog/astrolog.dat
+lib/astrolog/LRZ5_24
+lib/astrolog/CHI_24
+lib/astrolog/CPJV_24