diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1998-05-05 01:25:26 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1998-05-05 01:25:26 +0000 |
commit | 36a8f3820ff5f8ba3b7025f4aef493783ceb00bf (patch) | |
tree | 6f29d4bc5c36386efade37398e569e379d563847 /games | |
parent | Activate xabacus. (diff) |
Import of xabacus, an abacus for X11 with Motif.
PR: 6511
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Completes life of: jkh
Notes
Notes:
svn path=/head/; revision=10850
Diffstat (limited to 'games')
-rw-r--r-- | games/xabacus/Makefile | 30 | ||||
-rw-r--r-- | games/xabacus/distinfo | 1 | ||||
-rw-r--r-- | games/xabacus/files/patch-aa | 18 | ||||
-rw-r--r-- | games/xabacus/pkg-comment | 1 | ||||
-rw-r--r-- | games/xabacus/pkg-descr | 7 | ||||
-rw-r--r-- | games/xabacus/pkg-plist | 4 |
6 files changed, 61 insertions, 0 deletions
diff --git a/games/xabacus/Makefile b/games/xabacus/Makefile new file mode 100644 index 000000000000..10337e9ee100 --- /dev/null +++ b/games/xabacus/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: xabacus +# Version required: 5.4.4 +# Date created: 3 May 1998 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= xabacus-5.4.4 +CATEGORIES= games x11 +MASTER_SITES= ftp://ftp.tux.org/pub/people/david-bagley/xabacus/ \ + ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= applications + +MAINTAINER= andy@icc.surw.chel.su + +GNU_CONFIGURE= yes +USE_X11= yes +REQUIRES_MOTIF= yes +WRKSRC= ${WRKDIR}/xabacus + +MAN1= xabacus.1 + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/xabacus ${PREFIX}/bin + @ ${INSTALL_PROGRAM} ${WRKSRC}/xmabacus ${PREFIX}/bin + @ ${INSTALL_DATA} ${WRKSRC}/Abacus.ad ${X11BASE}/lib/X11/app-defaults/Abacus + @ ${INSTALL_MAN} ${WRKSRC}/xabacus.man ${PREFIX}/man/man1/xabacus.1 + +.include <bsd.port.mk> diff --git a/games/xabacus/distinfo b/games/xabacus/distinfo new file mode 100644 index 000000000000..f7052771de01 --- /dev/null +++ b/games/xabacus/distinfo @@ -0,0 +1 @@ +MD5 (xabacus-5.4.4.tar.gz) = 853452525520fc4f791b86eec6e7a968 diff --git a/games/xabacus/files/patch-aa b/games/xabacus/files/patch-aa new file mode 100644 index 000000000000..95717baf3c62 --- /dev/null +++ b/games/xabacus/files/patch-aa @@ -0,0 +1,18 @@ +--- Abacus.c Sat Feb 15 02:57:06 1997 ++++ /home/andy/tmp/wrk/Abacus.c Sun May 3 11:33:29 1998 +@@ -184,6 +184,7 @@ + #endif /* !LESS_THAN_AIX3_2 */ + #endif /* defined(SYSV) || defined(SVR4) */ + ++#ifndef __FreeBSD__ + static int + usleep(long unsigned int usec) + { +@@ -225,6 +226,7 @@ + #endif + return 0; + } ++#endif + #endif + + static void diff --git a/games/xabacus/pkg-comment b/games/xabacus/pkg-comment new file mode 100644 index 000000000000..e12053b3b14f --- /dev/null +++ b/games/xabacus/pkg-comment @@ -0,0 +1 @@ +Abacus for X Window System. diff --git a/games/xabacus/pkg-descr b/games/xabacus/pkg-descr new file mode 100644 index 000000000000..735e903ab92f --- /dev/null +++ b/games/xabacus/pkg-descr @@ -0,0 +1,7 @@ +This is abacus for X Window System. Essentially, this is a proof +by induction that a computer is more powerful than an abacus, since +a computer program can contain an abacus. (But then again, you can +simulate a computer within a computer, so what does that show). +Actually, with a real abacus, one can move more than one row at a +time with 10 fingers. But on the other hand, a real abacus does +not have the current sum displayed as an integer. diff --git a/games/xabacus/pkg-plist b/games/xabacus/pkg-plist new file mode 100644 index 000000000000..78ab57204f7d --- /dev/null +++ b/games/xabacus/pkg-plist @@ -0,0 +1,4 @@ +bin/xabacus +bin/xmabacus +lib/X11/app-defaults/Abacus +man/man1/xabacus.1.gz |