# Created by: Nicola Vitale # $FreeBSD: head/games/mkgichessclub/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= mkgichessclub PORTVERSION= 2.2.0 #PORTREVISION= 0 CATEGORIES= games MASTER_SITES= SF DISTNAME= MKGIChessClub-${PORTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Chess playing server with a pure web interface OPTIONS_DEFINE= GNUCHESS PHALANX DOCS GNUCHESS_DESC= Install gnuchess robot PHALANX_DESC= Install phalanx robot OPTIONS_DEFAULT= GNUCHESS PHALANX NO_BUILD= yes SUB_FILES= pkg-message USES= python USE_MYSQL= server USE_PHP= mysql pcre session GNUCHESS_RUN_DEPENDS= gnuchess:games/gnuchess PHALANX_RUN_DEPENDS= phalanx:games/phalanx WRKSRC= ${WRKDIR}/MKGIChessClub-${PORTVERSION} do-install: ${MKDIR} ${STAGEDIR}${DATADIR}; cd ${WRKSRC}; \ ${INSTALL_DATA} database/* ${STAGEDIR}${DATADIR}; \ ${MKDIR} ${STAGEDIR}${WWWDIR}; cd www; ${CP} -R . ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}; \ ${INSTALL_DATA} ${WRKSRC}/README.INSTALL ${STAGEDIR}${DOCSDIR} .include