1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/games/gnurobots/Makefile
Dmitry Marakasov a94953ebab games/gnurobots: fix build, simplify and modernize
- Fix build by depending on correct guile port
- Simplify and modernize the port
- Switch to USES=localbase
2021-04-23 18:03:05 +03:00

45 lines
895 B
Makefile

# Created by: Aaron VonderHaar <avh4@usa.net>
PORTNAME= gnurobots
PORTVERSION= 1.2.0
PORTREVISION= 15
CATEGORIES= games
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU diversion wherein Scheme-coded robots explore a world
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libguile.so:lang/guile1
USES= autoreconf gnome localbase:ldflags pkgconfig readline
USE_GNOME= vte
GNU_CONFIGURE= yes
PORTDOCS= *
CFLAGS+= -O0
SUB_FILES= pkg-install pkg-message
DESKTOP_ENTRIES="GNU Robots" \
"" \
"${PORTNAME}" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${WRKSRC}/xpm/robot.xpm \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.xpm
post-install-DOCS-on:
cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog NEWS README THANKS \
doc/Robots-HOWTO doc/contrib" ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>