blob: a1d948651ba11396a323b43002a033d12f068009 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
PORTNAME= neverball
PORTVERSION= 1.6.0
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= https://icculus.org/neverball/ \
https://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tilt the floor to guide a ball through an obstacle course
WWW= https://neverball.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/legal/license-GPL-2.0.txt
LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libphysfs.so:devel/physfs
USES= gl gmake iconv jpeg sdl
USE_GL= gl
USE_SDL= sdl2 ttf2
MAKE_ARGS+= DATADIR="${DATADIR}" \
LOCALEDIR="${PREFIX}/share/locale"
CFLAGS+= -fcommon
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_MAKE_ENV= ENABLE_NLS=1
NLS_MAKE_ENV_OFF= ENABLE_NLS=0
do-install:
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
${INSTALL_MAN} ${WRKSRC}/dist/*.6 ${STAGEDIR}${MAN6PREFIX}/share/man/man6/
.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
do-install-NLS-on:
cd ${WRKSRC}/locale && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/
do-install-DOCS-on:
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|