2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Andrey Zakhvatov
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-06-06 19:40:06 +02:00
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= phalanx
|
2016-05-02 07:39:30 +02:00
|
|
|
PORTVERSION= 25
|
2000-04-02 03:00:24 +02:00
|
|
|
CATEGORIES= games
|
2016-05-02 07:39:30 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Version%20XXV
|
|
|
|
DISTNAME= ${PORTNAME}-XXV-source
|
1999-06-06 19:40:06 +02:00
|
|
|
|
2014-05-24 13:42:20 +02:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Xboard-compatible chess playing program
|
1999-06-06 19:40:06 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2011-08-26 05:58:59 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-08-02 19:04:00 +02:00
|
|
|
|
2014-12-21 16:02:30 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/p/P/:S/-source//}
|
2003-05-10 09:03:07 +02:00
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= gmake tar:tgz
|
2000-04-02 03:00:24 +02:00
|
|
|
MAKEFILE= makefile
|
2011-08-26 05:58:59 +02:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
ALL_TARGET= # empty
|
2011-08-28 23:13:08 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2011-08-26 05:58:59 +02:00
|
|
|
|
|
|
|
CFLAGS+= -DECO_DIR=\\\"${DATADIR}\\\" \
|
|
|
|
-DLEARN_DIR=\\\"${DATADIR}\\\" \
|
|
|
|
-DPBOOK_DIR=\\\"${DATADIR}\\\" \
|
|
|
|
-DSBOOK_DIR=\\\"${DATADIR}\\\"
|
|
|
|
|
2014-12-21 16:02:30 +01:00
|
|
|
PORTDOCS= HISTORY README
|
2011-08-26 05:58:59 +02:00
|
|
|
PLIST_FILES= bin/phalanx \
|
|
|
|
%%DATADIR%%/eco.phalanx \
|
|
|
|
%%DATADIR%%/pbook.phalanx \
|
|
|
|
%%DATADIR%%/sbook.phalanx
|
2004-08-08 19:08:40 +02:00
|
|
|
|
2013-11-05 01:39:45 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
1999-06-06 19:40:06 +02:00
|
|
|
do-install:
|
2013-11-05 01:39:45 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.phalanx ${STAGEDIR}${DATADIR}
|
2016-01-10 01:07:35 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2013-11-05 01:39:45 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-12-21 16:02:30 +01:00
|
|
|
cd ${WRKSRC}/${file}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
1999-06-06 19:40:06 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|