diff options
-rw-r--r-- | games/3dc/Makefile | 7 | ||||
-rw-r--r-- | games/3dc/pkg-descr | 2 |
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> |