2000-10-28 03:29:09 +02:00
|
|
|
# New ports collection makefile for: gnurobots
|
|
|
|
# Date created: 22 Sept 2000
|
|
|
|
# Whom: Aaron VonderHaar <avh4@usa.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnurobots
|
2008-08-12 00:41:47 +02:00
|
|
|
PORTVERSION= 1.2.0
|
2009-08-22 19:55:27 +02:00
|
|
|
PORTREVISION= 4
|
2000-10-28 03:29:09 +02:00
|
|
|
CATEGORIES= games
|
2008-05-22 02:49:31 +02:00
|
|
|
MASTER_SITES= GNU
|
2000-10-28 03:29:09 +02:00
|
|
|
|
2002-11-18 04:48:10 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= GNU diversion wherein Scheme-coded robots explore a world
|
2000-10-28 03:29:09 +02:00
|
|
|
|
2009-01-22 17:04:11 +01:00
|
|
|
LIB_DEPENDS= guile.20:${PORTSDIR}/lang/guile
|
2000-10-28 03:29:09 +02:00
|
|
|
|
2008-08-12 00:41:47 +02:00
|
|
|
USE_GNOME= gnometarget vte
|
2008-05-22 02:49:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-12 00:41:47 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2000-10-28 03:29:09 +02:00
|
|
|
|
2008-05-22 02:49:31 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
|
2008-08-12 00:41:47 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|#include <pty.h>||g' ${WRKSRC}/src/ui-cmdwin.c
|
2000-10-28 03:29:09 +02:00
|
|
|
|
|
|
|
post-install:
|
2008-05-22 02:49:31 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in AUTHORS ChangeLog NEWS README THANKS doc/Robots-HOWTO doc/contrib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2000-10-28 03:29:09 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|