freebsd-ports/games/neverball/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= neverball
2014-10-30 21:29:41 +01:00
PORTVERSION= 1.6.0
PORTREVISION= 2
CATEGORIES= games
2014-10-30 21:29:41 +01:00
MASTER_SITES= http://icculus.org/neverball/ \
http://mirror.amdmi3.ru/distfiles/
2009-03-19 16:14:33 +01:00
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tilt the floor to guide a ball through an obstacle course
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libphysfs.so:devel/physfs
2015-06-22 20:33:20 +02:00
USES= gmake iconv jpeg
USE_GL= gl
2014-10-30 21:29:41 +01:00
USE_SDL= sdl2 ttf2
MAKE_ARGS+= DATADIR="${DATADIR}" \
LOCALEDIR="${PREFIX}/share/locale"
2014-10-30 21:29:41 +01:00
PORTDOCS= *
PORTDATA= *
2009-02-07 00:51:06 +01:00
OPTIONS_DEFINE= DOCS NLS
2014-10-30 21:29:41 +01:00
OPTIONS_SUB= yes
2015-08-21 17:59:22 +02:00
NLS_USES= gettext
NLS_MAKE_ENV_ON= ENABLE_NLS=1
NLS_MAKE_ENV_OFF= ENABLE_NLS=0
do-install:
2014-10-30 21:29:41 +01:00
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
${INSTALL_MAN} ${WRKSRC}/dist/*.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
2009-02-07 00:51:06 +01:00
.for f in neverball neverputt
${INSTALL_DATA} ${WRKSRC}/dist/${f}.desktop \
${STAGEDIR}${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/dist/${f}_512.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${f}.png
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/
.endfor
2015-08-21 17:59:22 +02:00
do-install-NLS-on:
2014-10-30 21:29:41 +01:00
cd ${WRKSRC}/locale && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/
2015-08-21 17:59:22 +02:00
do-install-DOCS-on:
2014-10-30 21:29:41 +01:00
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
2004-07-04 05:22:09 +02:00
.include <bsd.port.mk>