aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/astrolog/Makefile20
-rw-r--r--misc/astrolog/distinfo1
-rw-r--r--misc/astrolog/files/patch-aa33
-rw-r--r--misc/astrolog/pkg-comment1
-rw-r--r--misc/astrolog/pkg-descr5
-rw-r--r--misc/astrolog/pkg-install6
-rw-r--r--misc/astrolog/pkg-plist2
7 files changed, 68 insertions, 0 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
new file mode 100644
index 000000000000..123f789e0df1
--- /dev/null
+++ b/misc/astrolog/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: astrolog
+# Version required: 5.0
+# Date created: 31 July 1995
+# Whom: faulkner@cactus.org
+#
+# $Id: Makefile,v 1.2 1995/08/26 05:57:08 asami Exp $
+#
+
+DISTNAME= ast50unx
+PKGNAME= astrolog-5.0
+CATEGORIES+= games
+MASTER_SITES= ftp://ftp.kiae.su/unix/magick/astrology/
+EXTRACT_SUFX= .shar.gz
+
+EXTRACT_CMD= zcat
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= | tr -d "\r" |sh
+NO_WRKSUBDIR= yes
+
+.include <bsd.port.mk>
diff --git a/misc/astrolog/distinfo b/misc/astrolog/distinfo
new file mode 100644
index 000000000000..8507e058b5cd
--- /dev/null
+++ b/misc/astrolog/distinfo
@@ -0,0 +1 @@
+MD5 (ast50unx.shar.gz) = 412e62e63e723755119c2e17d3e75f14
diff --git a/misc/astrolog/files/patch-aa b/misc/astrolog/files/patch-aa
new file mode 100644
index 000000000000..c7c7fd7df5ec
--- /dev/null
+++ b/misc/astrolog/files/patch-aa
@@ -0,0 +1,33 @@
+*** ./Makefile.org Mon Jul 31 14:01:23 1995
+--- ./Makefile Mon Jul 31 14:40:51 1995
+***************
+*** 22,31 ****
+ 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)
+ strip $(NAME)
+ #
+--- 22,39 ----
+ 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 -L/usr/X11R6/lib -lX11
+! CFLAGS = -O -I/usr/X11R6/include
+
++ all: astrolog
++
+ astrolog:: $(OBJ)
+ cc -o $(NAME) -I/usr/X11R6/include $(OBJ) $(LIBS)
+ strip $(NAME)
++
++ install:
++ /usr/bin/install -c -s astrolog ${PREFIX}/bin
++ -mkdir -p ${PREFIX}/share/astrolog
++ /usr/bin/install -c Helpfile.500 ${PREFIX}/share/astrolog
++ @echo "See the file ${PREFIX}/share/astrolog/Helpfile.500 for help.
+ #
diff --git a/misc/astrolog/pkg-comment b/misc/astrolog/pkg-comment
new file mode 100644
index 000000000000..1db989ab31da
--- /dev/null
+++ b/misc/astrolog/pkg-comment
@@ -0,0 +1 @@
+An astrology program for X and ascii, version 5.0
diff --git a/misc/astrolog/pkg-descr b/misc/astrolog/pkg-descr
new file mode 100644
index 000000000000..b579d9275e8f
--- /dev/null
+++ b/misc/astrolog/pkg-descr
@@ -0,0 +1,5 @@
+Astrolog is a high precision astrological tool with X support.
+
+This is version 5.0.
+
+faulkner@cactus.org
diff --git a/misc/astrolog/pkg-install b/misc/astrolog/pkg-install
new file mode 100644
index 000000000000..011094549c82
--- /dev/null
+++ b/misc/astrolog/pkg-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+# installation script for Wnn4.2
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+echo "See the file ${PKG_PREFIX}/share/astrolog/Helpfile.500 for help."
diff --git a/misc/astrolog/pkg-plist b/misc/astrolog/pkg-plist
new file mode 100644
index 000000000000..e4859b7d5824
--- /dev/null
+++ b/misc/astrolog/pkg-plist
@@ -0,0 +1,2 @@
+bin/astrolog
+share/astrolog/Helpfile.500