freebsd-ports/games/gnurobots/Makefile
Will Andrews 5321816733 Add gnurobots 1.0D, a game/diversion where you construct a program for a
little robot, then set him loose and watch him explore a world on his own.
It is written in Scheme and implemented using Guile.

PR:		21482
Submitted by:	Aaron VonderHaar <avh4@crosswinds.net>
2000-10-28 01:29:09 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: gnurobots
# Date created: 22 Sept 2000
# Whom: Aaron VonderHaar <avh4@usa.net>
#
# $FreeBSD$
#
PORTNAME= gnurobots
PORTVERSION= 1.0D
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gnurobots
MAINTAINER= avh4@usa.net
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile
GNU_CONFIGURE= yes
pre-patch:
${CP} ${WRKSRC}/getopt/getopt.h ${WRKSRC}/include
${CP} ${WRKSRC}/getopt/getopt.c ${WRKSRC}/src
${CP} ${WRKSRC}/getopt/getopt1.c ${WRKSRC}/src
do-install:
${MKDIR} ${PREFIX}/share/gnurobots/maps ${PREFIX}/share/gnurobots/scheme \
${PREFIX}/share/doc/gnurobots
${INSTALL_PROGRAM} ${WRKSRC}/src/robots ${PREFIX}/bin/gnurobots
${INSTALL_PROGRAM} ${WRKSRC}/src/robots_logfile ${PREFIX}/bin/gnurobots_logfile
${INSTALL_PROGRAM} ${WRKSRC}/src/xrobots ${PREFIX}/bin/xgnurobots
${INSTALL_DATA} ${WRKSRC}/maps/* ${PREFIX}/share/gnurobots/maps/
${INSTALL_DATA} ${WRKSRC}/scheme/* ${PREFIX}/share/gnurobots/scheme/
${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/gnurobots/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>