1998-06-01 04:56:10 +00:00
|
|
|
# New ports collection makefile for: crafty
|
1999-08-30 22:28:59 +00:00
|
|
|
# Version required: 16.17
|
1998-06-01 04:56:10 +00:00
|
|
|
# Date created: 31 May 1998
|
|
|
|
# Whom: Stefan Eggers <seggers@semyam.dinoco.de>
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-06-01 04:56:10 +00:00
|
|
|
#
|
|
|
|
|
1999-08-30 22:28:59 +00:00
|
|
|
DISTNAME= crafty-16.17
|
1998-06-01 04:56:10 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/ \
|
|
|
|
ftp://ftp.cis.uab.edu/pub/hyatt/common/ \
|
1999-02-23 03:27:43 +00:00
|
|
|
ftp://ftp.cis.uab.edu/pub/hyatt/v16/ \
|
|
|
|
ftp://ftp.jpunix.com/pub/hyatt/ \
|
|
|
|
ftp://ftp.jpunix.com/pub/hyatt/common/ \
|
|
|
|
ftp://ftp.jpunix.com/pub/hyatt/v16/
|
1999-08-30 22:28:59 +00:00
|
|
|
DISTFILES= crafty-16.17.tar.gz crafty.doc crafty.faq read.me start.zip
|
1998-06-01 04:56:10 +00:00
|
|
|
|
|
|
|
MAINTAINER= seggers@semyam.dinoco.de
|
|
|
|
|
|
|
|
ALL_TARGET= crafty
|
|
|
|
DIST_SUBDIR= crafty
|
1999-08-30 22:28:59 +00:00
|
|
|
EXTRACT_ONLY= crafty-16.17.tar.gz
|
1999-02-22 06:41:10 +00:00
|
|
|
IGNOREFILES= crafty.doc crafty.faq read.me
|
1998-06-01 04:56:10 +00:00
|
|
|
|
|
|
|
MAN6= crafty.6
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
post-extract:
|
1999-06-19 18:00:17 +00:00
|
|
|
(cd ${WRKDIR}; ${GUNZIP_CMD} <${DISTDIR}/${DIST_SUBDIR}/start.zip >${WRKDIR}/start.pgn)
|
1998-06-01 04:56:10 +00:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
(cd ${WRKDIR}; ./crafty <${FILESDIR}/books-building)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/crafty ${PREFIX}/bin/crafty
|
|
|
|
${MKDIR} ${PREFIX}/lib/crafty
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/books.bin ${PREFIX}/lib/crafty/books.bin
|
|
|
|
${INSTALL_MAN} ${FILESDIR}/crafty.6 ${MANPREFIX}/man/man6/crafty.6
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/crafty
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/crafty.doc ${PREFIX}/share/doc/crafty/crafty.doc
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/crafty.faq ${PREFIX}/share/doc/crafty/crafty.faq
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/read.me ${PREFIX}/share/doc/crafty/read.me
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/crafty
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|