1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/gnurobbo/Makefile
2019-11-08 10:47:01 +00:00

37 lines
814 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnurobbo
PORTVERSION= 0.68
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION:C/^([0-9]+\.[0-9]+)\..*$/\1/}/
EXTRACT_SUFX= -source.tar.gz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Reimplementation of LK Avalon's Robbo for the Atari XE/XL
USES= gmake sdl
USE_SDL= sdl ttf mixer image
MAKE_ENV= PACKAGE_DATA_DIR="${DATADIR}" \
BINDIR="${PREFIX}/bin" \
DOCDIR="${DOCSDIR}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
WRKSRC_SUBDIR= ${PORTNAME}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^install:/,$$ s|$$([A-Z_]*DIR)|$${DESTDIR}&| g' \
-e '/^CFLAGS/s/-d//' \
${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>