2013-03-09 22:43:02 +01:00
|
|
|
# Created by: Andrey Zakhvatov
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-05-04 01:27:37 +02:00
|
|
|
|
2009-06-09 17:33:28 +02:00
|
|
|
PORTNAME= 3dc
|
|
|
|
PORTVERSION= 0.8.1
|
|
|
|
PORTREVISION= 3
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
1998-05-04 01:27:37 +02:00
|
|
|
MASTER_SITE_SUBDIR= games/strategy
|
2009-06-09 17:33:28 +02:00
|
|
|
DISTNAME= 3Dc-${PORTVERSION}
|
1998-05-04 01:27:37 +02:00
|
|
|
|
2011-11-04 19:07:51 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= 3-Dimensional Chess for X Window System
|
1998-05-04 01:27:37 +02:00
|
|
|
|
2011-12-14 22:29:16 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-03-09 22:43:02 +01:00
|
|
|
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
|
1998-05-04 01:27:37 +02:00
|
|
|
|
2013-08-03 15:44:00 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= build
|
2009-06-09 17:33:28 +02:00
|
|
|
USE_XORG= x11 xaw xext xmu xpm xt
|
|
|
|
WRKSRC= ${WRKDIR}/3Dc/src
|
1998-05-04 01:27:37 +02:00
|
|
|
|
2013-09-20 19:36:33 +02:00
|
|
|
NO_STAGE= yes
|
2002-01-02 06:09:37 +01:00
|
|
|
post-patch:
|
|
|
|
.for file in init.c main.c piece.c stack.c xif.c
|
2013-07-26 07:33:51 +02:00
|
|
|
@${REINPLACE_CMD} -i '' -e 's|malloc.h|stdlib.h|' \
|
|
|
|
${WRKSRC}/${file}
|
2002-01-02 06:09:37 +01:00
|
|
|
.endfor
|
|
|
|
|
1998-05-04 01:27:37 +02:00
|
|
|
do-install:
|
1998-09-28 04:04:40 +02:00
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${PREFIX}/bin
|
1998-05-04 01:27:37 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/3Dc
|
|
|
|
.for file in 3Dc-rules.html ACKNOWLEDGEMENTS GPL README TODO
|
1998-09-28 04:04:40 +02:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/3Dc
|
1998-05-04 01:27:37 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|