1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Import of 3dc, a three-dimensional chess game for X11.

PR:		6491
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
Matthew Hunt 1998-05-03 23:27:37 +00:00
parent a22982e021
commit 14b487fa47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10827
6 changed files with 81 additions and 0 deletions

35
games/3dc/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: 3Dc
# Version required: 0.8.1
# Date created: 2 May 1998
# Whom: Andrey Zakhvatov
#
# $Id$
#
DISTNAME= 3Dc-0.8.1
PKGNAME= 3dc-0.8.1
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
MAINTAINER= andy@icc.surw.chel.su
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
USE_X11= yes
WRKSRC= ${WRKDIR}/3Dc
do-build:
@ cd ${WRKSRC}/src; make
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/src/3Dc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/3Dc
.for file in 3Dc-rules.html ACKNOWLEDGEMENTS GPL README TODO
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/3Dc
.endfor
.endif
.include <bsd.port.mk>

1
games/3dc/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (3Dc-0.8.1.tar.gz) = 9f577656749a4b67d8ff6b5283fdfe5f

35
games/3dc/files/patch-aa Normal file
View File

@ -0,0 +1,35 @@
--- src/Makefile.orig Thu Apr 11 10:23:53 1996
+++ src/Makefile Sun May 3 19:20:18 1998
@@ -13,7 +13,7 @@
# If your system doesn't have a unique define already, define one here.
# Linux
-CONFIGS=-DHAVE_UNISTD_H -DHAVE_ULIMIT_H
+CONFIGS=-DHAVE_UNISTD_H
# OSF/Digital Unix/HPUX
#CONFIGS=-fPIC -DHAVE_UNISTD_H -DHAVE_ULIMIT_H
# Sun
@@ -27,19 +27,19 @@
# can send me opinions at mailto:paulh@euristix.ie
PREFS=-DUNDO_ANY_MOVE
-CC=gcc
+#CC=gcc
#DEBUG=-g -Wall -DDEBUG
DEBUG=
-COPTIONS=-O2 -fstrength-reduce -fpcc-struct-return -DVERSION=\"${VERSION}\"
+COPTIONS=-DVERSION=\"${VERSION}\"
-CFLAGS=${COPTIONS} ${DEBUG} ${CONFIGS} ${PREFS} -I../include
+CFLAGS+=${COPTIONS} ${DEBUG} ${CONFIGS} ${PREFS} -I../include -I${X11BASE}/include
LDOPTIONS=
# LDLIBS should include the name of your X library path if not /usr/lib;
# and I definitely recommend getting Xaw3d. The extra appearance doesn't
# appear much but it looks much better when it does.
# Linux
-LDLIBS=-L/usr/X11R6/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11
+LDLIBS=-L${X11BASE}/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11
# Sun
#LDLIBS=-lXpm -lXaw -lXmu -lXext -lXt -lX11 -lm

1
games/3dc/pkg-comment Normal file
View File

@ -0,0 +1 @@
3-Dimensional Chess for X Window System.

2
games/3dc/pkg-descr Normal file
View File

@ -0,0 +1,2 @@
3-Dimensional Chess for X. Three boards, 96 pieces and 26 directions.
3Dc is played with three chess boards arranged one above another.

7
games/3dc/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
bin/3Dc
share/doc/3Dc/3Dc-rules.html
share/doc/3Dc/ACKNOWLEDGEMENTS
share/doc/3Dc/GPL
share/doc/3Dc/README
share/doc/3Dc/TODO
@dirrm share/doc/3Dc