Add xphoon port.

This commit is contained in:
angelos 1997-12-02 01:33:20 +00:00
parent 8a3662018c
commit 109c1c9154
8 changed files with 90 additions and 0 deletions

19
astro/xphoon/Makefile Normal file
View File

@ -0,0 +1,19 @@
# OpenBSD makefile for: xphoon
# Version required: 18sep91 (in R5 contrib)
# Date created: December 1, 1997
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/02 01:33:20 angelos Exp $
#
DISTNAME= xphoon
PKGNAME= xphoon-91.9.18
CATEGORIES= astro x11
MASTER_SITES= ftp://ftp.cdrom.com/pub/X11/R5contrib/
EXTRACT_SUFX= .tar.Z
MAINTAINER= angelos@openbsd.org
USE_IMAKE= yes
.include <bsd.port.mk>

1
astro/xphoon/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xphoon.tar.Z) = 9d8cce7199cd445692929e1e80f7058e

View File

@ -0,0 +1,11 @@
--- ./Imakefile.org Wed Sep 18 12:57:31 1991
+++ ./Imakefile Tue Feb 14 18:44:28 1995
@@ -11,7 +11,7 @@
INCLUDES = -I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps
-LOCAL_LIBRARIES = $(XLIB)
+LOCAL_LIBRARIES = $(XLIB) -lcompat
DEPLIBS = $(DEPXLIB)
LDLIBS = -lm

View File

@ -0,0 +1,19 @@
*** xphoon.c.orig Mon Dec 1 20:26:36 1997
--- xphoon.c Mon Dec 1 20:26:54 1997
***************
*** 32,38 ****
/* Externals. */
extern char* malloc();
! extern long time();
extern long random();
extern void getbits();
--- 32,38 ----
/* Externals. */
extern char* malloc();
! extern time_t time();
extern long random();
extern void getbits();

View File

@ -0,0 +1,36 @@
*** dtime.c.orig Mon Dec 1 20:27:44 1997
--- dtime.c Mon Dec 1 20:28:26 1997
***************
*** 26,32 ****
#include <sys/timeb.h>
#endif /*SYS5*/
! extern long time();
struct tm* localtime();
struct tws*
--- 26,32 ----
#include <sys/timeb.h>
#endif /*SYS5*/
! extern time_t time(time_t *);
struct tm* localtime();
struct tws*
***************
*** 40,46 ****
struct tws*
dlocaltime( clock )
! long* clock;
{
register struct tm* tm;
#ifndef SYS5
--- 40,46 ----
struct tws*
dlocaltime( clock )
! time_t* clock;
{
register struct tm* tm;
#ifndef SYS5

1
astro/xphoon/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Set the root window to the moon in its current phase

1
astro/xphoon/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
Xphoon sets X the root window to a picture of the moon in its current phase.

2
astro/xphoon/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/xphoon
man/man1/xphoon.1