2016-10-10 11:40:56 +00:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnujump
|
|
|
|
PORTVERSION= 1.0.8
|
2017-05-23 05:03:14 +00:00
|
|
|
PORTREVISION= 1
|
2016-10-10 11:40:56 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= GNU
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Platform game where you have to jump up to survive
|
|
|
|
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USES= gmake localbase
|
|
|
|
USE_SDL= sdl mixer image
|
|
|
|
USE_GL= gl
|
|
|
|
USE_XORG= x11
|
|
|
|
|
|
|
|
LDFLAGS+= -lm
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS README
|
|
|
|
PORTDATA= *
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="GNUJump" \
|
|
|
|
"" \
|
|
|
|
"${DATADIR}/skins/default/hero1.0.png" \
|
|
|
|
"${PORTNAME}" \
|
|
|
|
"Game;ArcadeGame;" \
|
|
|
|
""
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_LDFLAGS= -lintl
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/gnujump.h
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|