summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authoris <is>2001-11-10 19:53:45 +0000
committeris <is>2001-11-10 19:53:45 +0000
commit99a7ff2b9d81298c7c19e6f938a30bc69fa286ec (patch)
treef13b3fba6fc6ff90d246ea40e6c0c33fb42d775c /time
parent7a7404044dc1d0d577f462e6dad3ad3824ef532f (diff)
downloadpkgsrc-99a7ff2b9d81298c7c19e6f938a30bc69fa286ec.tar.gz
Add phoon-19950401, Jes Poskanzers PHase of the mOON display program.
Diffstat (limited to 'time')
-rw-r--r--time/phoon/DESCR12
-rw-r--r--time/phoon/Makefile15
-rw-r--r--time/phoon/PLIST3
-rw-r--r--time/phoon/distinfo5
-rw-r--r--time/phoon/patches/patch-aa38
5 files changed, 73 insertions, 0 deletions
diff --git a/time/phoon/DESCR b/time/phoon/DESCR
new file mode 100644
index 00000000000..48ceb071024
--- /dev/null
+++ b/time/phoon/DESCR
@@ -0,0 +1,12 @@
+ phoon - display current moon phase on ASCII terminal
+ Distribution of 01apr95
+ Previous distribution 07jun88
+
+phoon - program to display the PHase of the mOON. Unlike other
+such programs, which just tell you how long since first quarter
+or something like that, phoon *shows* you the phase with a little
+picture. I've put an example at the end of this file. I first
+wrote this program in Pascal / TOPS-20 at CMU in 1979; I translated
+it to Ratfor / Software Tools in 1981; and now it's in C / Unix.
+
+ Jef Poskanzer jef@acme.com http://www.acme.com/jef/
diff --git a/time/phoon/Makefile b/time/phoon/Makefile
new file mode 100644
index 00000000000..505c09f5d5d
--- /dev/null
+++ b/time/phoon/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2001/11/10 19:53:45 is Exp $
+#
+
+DISTNAME= phoon_01apr95
+PKGNAME= phoon-19950401
+CATEGORIES= time
+MASTER_SITES= http://www.acme.com/software/phoon/
+
+MAINTAINER= is@netbsd.org
+HOMEPAGE= http://www.acme.com/software/phoon/
+COMMENT= show phase of the moon on ASCII terminal
+
+WRKSRC= ${WRKDIR}/phoon
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/phoon/PLIST b/time/phoon/PLIST
new file mode 100644
index 00000000000..95cc833ffe4
--- /dev/null
+++ b/time/phoon/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2001/11/10 19:53:46 is Exp $
+bin/phoon
+man/man1/phoon.1
diff --git a/time/phoon/distinfo b/time/phoon/distinfo
new file mode 100644
index 00000000000..0c84a71c42e
--- /dev/null
+++ b/time/phoon/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2001/11/10 19:53:46 is Exp $
+
+SHA1 (phoon_01apr95.tar.gz) = b0e81c9cd6f1d332bc25340c12e1f0fcc274c8b5
+Size (phoon_01apr95.tar.gz) = 15769 bytes
+SHA1 (patch-aa) = 0f449ed1994d54cea9db0d727c646ff03b94e4fc
diff --git a/time/phoon/patches/patch-aa b/time/phoon/patches/patch-aa
new file mode 100644
index 00000000000..582f5d4bf54
--- /dev/null
+++ b/time/phoon/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1 2001/11/10 19:53:46 is Exp $
+diff -r -u phoon.orig/Makefile Makefile
+--- phoon.orig/Makefile Sat Nov 11 20:57:08 1995
++++ Makefile Sat Nov 10 20:10:33 2001
+@@ -1,15 +1,15 @@
+ # Makefile for phoon
+
+-BINDIR = /usr/local/bin
+-MANDIR = /usr/local/man/man1
++BINDIR = ${PREFIX}/bin
++MANDIR = ${PREFIX}/man/man1
++
++INSTALL = install
+
+ DEFINES = -DBSD
+ #DEFINES = -DSYSV
+
+-CC = gcc
+-CFLAGS = -O $(DEFINES)
++CFLAGS += $(DEFINES)
+
+-LDFLAGS = -s
+
+
+ all: phoon
+@@ -21,10 +21,8 @@
+ $(CC) $(CFLAGS) -c $<
+
+ install: all
+- rm -f $(BINDIR)/phoon
+- cp phoon $(BINDIR)
+- rm -f $(MANDIR)/phoon.1
+- cp phoon.1 $(MANDIR)
++ ${BSD_INSTALL_PROGRAM} phoon $(BINDIR)
++ ${BSD_INSTALL_MAN} phoon.1 $(MANDIR)
+
+ clean:
+ rm -f phoon *.o a.out core