mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
PORTNAME= neverball
|
|
PORTVERSION= 1.6.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://icculus.org/neverball/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Tilt the floor to guide a ball through an obstacle course
|
|
|
|
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}/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>
|