freebsd-ports/games/mkgichessclub/Makefile
Nicola Vitale 31eb14dc63 - Update to 2.2.0
- Add a note to files/pkg-message.in about upgrading to 2.2.0
2008-12-07 17:13:03 +00:00

57 lines
1.2 KiB
Makefile

# New ports collection makefile for: mkgichessclub
# Date created: 2008-01-11
# Whom: Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mkgichessclub
PORTVERSION= 2.2.0
#PORTREVISION= 0
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= MKGIChessClub-${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= A chess playing server with a pure web interface
RUN_DEPENDS= mysql-server>=4:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
OPTIONS= GNUCHESS "Install gnuchess robot" on \
PHALANX "Install phalanx robot" on
NO_BUILD= yes
SUB_FILES= pkg-message
USE_MYSQL= yes
USE_PHP= mysql pcre session
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/MKGIChessClub-${PORTVERSION}
do-install:
${MKDIR} ${DATADIR}; cd ${WRKSRC}; \
${INSTALL_DATA} database/* ${DATADIR}; \
${MKDIR} ${WWWDIR}; cd www; ${CP} -R . ${WWWDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}; \
${INSTALL_DATA} ${WRKSRC}/README.INSTALL ${DOCSDIR}
.endif
# pkg-message taken from www/b2evolution
post-install:
${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if defined (WITH_GNUCHESS)
RUN_DEPENDS+= gnuchess:${PORTSDIR}/games/gnuchess
.endif
.if defined (WITH_PHALANX)
RUN_DEPENDS+= phalanx:${PORTSDIR}/games/phalanx
.endif
.include <bsd.port.post.mk>