1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/games/phalanx/Makefile
Pav Lucistnik d333512aa2 - MAKE_JOBS_UNSAFE
Reported by:	pointyhat
2011-08-28 21:13:08 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: phalanx
# Date created: 2 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= phalanx
PORTVERSION= 23.b
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Version%20XXIII%20Beta
DISTNAME= ${PORTNAME}-XXIII-beta
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Xboard-compatible chess playing program
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${DISTNAME:S/-beta//}
USE_GMAKE= yes
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}\\\"
PORTDOCS= HISTORY README README.old
PLIST_FILES= bin/phalanx \
%%DATADIR%%/eco.phalanx \
%%DATADIR%%/pbook.phalanx \
%%DATADIR%%/sbook.phalanx
PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.phalanx ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>