summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4934f30..4ede7d1 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 89d79d4..47d1bb1 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>
OpenPOWER on IntegriCloud