summaryrefslogtreecommitdiff
path: root/games/3dc
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-02 05:09:37 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-02 05:09:37 +0000
commitacec4b49e25886fb0d484b1e74ebe7551bd5807a (patch)
tree149b50605ead2351c410ca1b4d82aa9d02a43fcf /games/3dc
parentUpdate to 1.3 (diff)
- Fix for -CURRENT: s/malloc.h/stdlib.h/
- Give maintainership to submitter PR: 33399 Submitted by: Adam Kranzel <adam-ports@blacktabby.org>
Notes
Notes: svn path=/head/; revision=52487
Diffstat (limited to 'games/3dc')
-rw-r--r--games/3dc/Makefile7
-rw-r--r--games/3dc/pkg-descr2
2 files changed, 8 insertions, 1 deletions
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index 4934f308f1c3..4ede7d182da6 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
DISTNAME= 3Dc-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= adam-ports@blacktabby.org
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
@@ -20,6 +20,11 @@ USE_X_PREFIX= yes
USE_XPM= yes
WRKSRC= ${WRKDIR}/3Dc/src
+post-patch:
+.for file in init.c main.c piece.c stack.c xif.c
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/${file}
+.endfor
+
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
diff --git a/games/3dc/pkg-descr b/games/3dc/pkg-descr
index 89d79d430705..47d1bb12faac 100644
--- a/games/3dc/pkg-descr
+++ b/games/3dc/pkg-descr
@@ -1,2 +1,4 @@
3-Dimensional Chess for X. Three boards, 96 pieces and 26 directions.
3Dc is played with three chess boards arranged one above another.
+
+ -Adam <adam-ports@blacktabby.org>