Skip to content

Commit

Permalink
Display lit face of Earth in ASCII (twin of phoon)
Browse files Browse the repository at this point in the history
  • Loading branch information
is committed Nov 26, 2001
1 parent 27a173c commit 8a6c3cc
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
2 changes: 2 additions & 0 deletions time/globe/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
globe, yet another cute Jef Poskanzer hack, displays the currently-lighted
face of Earth in ASCII. This is a twin of phoon by the same author.
15 changes: 15 additions & 0 deletions time/globe/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2001/11/26 20:39:14 is Exp $
#

DISTNAME= globe_26mar94
PKGNAME= globe-19940326
CATEGORIES= time
MASTER_SITES= http://www.acme.com/software/globe/

MAINTAINER= is@netbsd.org
HOMEPAGE= http://www.acme.com/software/globe/
COMMENT= display the currently-lighted face of Earth in ASCII

WRKSRC= ${WRKDIR}/globe

.include "../../mk/bsd.pkg.mk"
1 change: 1 addition & 0 deletions time/globe/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@comment $NetBSD: PLIST,v 1.1 2001/11/26 20:39:14 is Exp $
5 changes: 5 additions & 0 deletions time/globe/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2001/11/26 20:39:14 is Exp $

SHA1 (globe_26mar94.tar.gz) = e1d27953237d3ae1648080045f86a0529cd01b7f
Size (globe_26mar94.tar.gz) = 9813 bytes
SHA1 (patch-aa) = 1026b2f69c4b2d02da6e643245a07ace9c49b663
38 changes: 38 additions & 0 deletions time/globe/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
$NetBSD: patch-aa,v 1.1 2001/11/26 20:39:15 is Exp $

--- Makefile.orig Fri Nov 10 20:11:03 1995
+++ Makefile
@@ -1,17 +1,15 @@
# CONFIGURE: the directory where you want the executables installed.
-BINDIR = /usr/local/bin
+BINDIR = ${PREFIX}/bin

# CONFIGURE: the directory tree where you want the man pages installed.
-MANDIR = /usr/local/man
+MANDIR = ${PREFIX}/man/man1

# CONFIGURE: your favorite C compiler.
-CC = gcc

# CONFIGURE: your favorite C flags.
-CFLAGS = -O
+CFLAGS = -O2

# CONFIGURE: your favorite linker flags.
-LDFLAGS = -s

all: globe

@@ -19,10 +17,8 @@
$(CC) $(CFLAGS) globe.c $(LDFLAGS) -o globe

install: all
- rm -f $(BINDIR)/globe
- cp globe $(BINDIR)
- rm -f $(MANDIR)/man1/globe.1
- cp globe.1 $(MANDIR)/man1
+ ${BSD_INSTALL_PROGRAM} globe $(BINDIR)
+ ${BSD_INSTALL_MAN} globe.1 $(MANDIR)

clean:
rm -f globe a.out core

0 comments on commit 8a6c3cc

Please sign in to comment.