2003-10-28 04:02:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= neverball
|
2014-10-30 21:29:41 +01:00
|
|
|
PORTVERSION= 1.6.0
|
2017-05-23 07:03:14 +02:00
|
|
|
PORTREVISION= 2
|
2003-10-28 04:02:53 +01:00
|
|
|
CATEGORIES= games
|
2014-10-30 21:29:41 +01:00
|
|
|
MASTER_SITES= http://icculus.org/neverball/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2003-10-28 04:02:53 +01:00
|
|
|
|
2009-03-19 16:14:33 +01:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2003-10-28 04:02:53 +01:00
|
|
|
COMMENT= Tilt the floor to guide a ball through an obstacle course
|
|
|
|
|
2014-01-11 01:50:39 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
|
|
libvorbis.so:audio/libvorbis \
|
|
|
|
libphysfs.so:devel/physfs
|
2003-11-07 07:25:59 +01:00
|
|
|
|
2015-06-22 20:33:20 +02:00
|
|
|
USES= gmake iconv jpeg
|
2007-05-19 22:36:56 +02:00
|
|
|
USE_GL= gl
|
2014-10-30 21:29:41 +01:00
|
|
|
USE_SDL= sdl2 ttf2
|
|
|
|
MAKE_ARGS+= DATADIR="${DATADIR}" \
|
|
|
|
LOCALEDIR="${PREFIX}/share/locale"
|
2003-10-28 04:02:53 +01:00
|
|
|
|
2014-10-30 21:29:41 +01:00
|
|
|
PORTDOCS= *
|
2013-11-08 00:14:50 +01:00
|
|
|
PORTDATA= *
|
2009-02-07 00:51:06 +01:00
|
|
|
|
2013-11-08 00:14:50 +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
|
2003-10-28 04:02:53 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-10-30 21:29:41 +01:00
|
|
|
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
|
2013-11-08 00:14:50 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/dist/*.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
2009-02-07 00:51:06 +01:00
|
|
|
.for f in neverball neverputt
|
2013-11-08 00:14:50 +01:00
|
|
|
${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/
|
2003-10-28 04:02:53 +01:00
|
|
|
.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
|
|
|
|
2003-10-28 04:02:53 +01:00
|
|
|
.include <bsd.port.mk>
|