-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display lit face of Earth in ASCII (twin of phoon)
- Loading branch information
is
committed
Nov 26, 2001
1 parent
27a173c
commit 8a6c3cc
Showing
5 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |