freebsd-ports/games/phalanx/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Andrey Zakhvatov
1999-08-25 08:06:33 +02:00
# $FreeBSD$
PORTNAME= phalanx
2016-05-02 07:39:30 +02:00
PORTVERSION= 25
CATEGORIES= games
2016-05-02 07:39:30 +02:00
MASTER_SITES= SF/${PORTNAME}/Version%20XXV
DISTNAME= ${PORTNAME}-XXV-source
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
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
2014-12-21 16:02:30 +01:00
WRKSRC= ${WRKDIR}/${DISTNAME:S/p/P/:S/-source//}
USES= gmake tar:tgz
MAKEFILE= makefile
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= # empty
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -DECO_DIR=\\\"${DATADIR}\\\" \
-DLEARN_DIR=\\\"${DATADIR}\\\" \
-DPBOOK_DIR=\\\"${DATADIR}\\\" \
-DSBOOK_DIR=\\\"${DATADIR}\\\"
2014-12-21 16:02:30 +01:00
PORTDOCS= HISTORY README
PLIST_FILES= bin/phalanx \
%%DATADIR%%/eco.phalanx \
%%DATADIR%%/pbook.phalanx \
%%DATADIR%%/sbook.phalanx
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.phalanx ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
2014-12-21 16:02:30 +01:00
cd ${WRKSRC}/${file}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>