View | Details | Raw Unified | Return to bug 272059
Collapse All | Expand All

(-)b/games/Makefile (-1 lines)
Lines 648-654 Link Here
648
    SUBDIR += mvdsv
648
    SUBDIR += mvdsv
649
    SUBDIR += nInvaders
649
    SUBDIR += nInvaders
650
    SUBDIR += naev
650
    SUBDIR += naev
651
    SUBDIR += naev-data
652
    SUBDIR += narcissu2
651
    SUBDIR += narcissu2
653
    SUBDIR += nazghul
652
    SUBDIR += nazghul
654
    SUBDIR += nbsdgames
653
    SUBDIR += nbsdgames
(-)a/games/naev-data/Makefile (-26 lines)
Removed Link Here
1
PORTNAME=	naev
2
PORTVERSION=	0.7.0
3
DISTVERSIONSUFFIX=	-ndata
4
CATEGORIES=	games
5
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
6
PKGNAMESUFFIX=	-data
7
EXTRACT_ONLY=	# empty
8
9
MAINTAINER=	acm@FreeBSD.org
10
COMMENT=	Naev game data file
11
WWW=		http://blog.naev.org/
12
13
LICENSE=	GPLv2 GPLv3 CC-BY-3.0 CC-BY-SA-3.0 PD
14
LICENSE_COMB=	multi
15
16
USES=		zip
17
NO_ARCH=	yes
18
NO_BUILD=	yes
19
20
PORTDATA=	*
21
22
do-install:
23
	@${MKDIR} ${STAGEDIR}${DATADIR}
24
	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${DATADIR}/
25
26
.include <bsd.port.mk>
(-)a/games/naev-data/distinfo (-3 lines)
Removed Link Here
1
TIMESTAMP = 1501801746
2
SHA256 (naev-0.7.0-ndata.zip) = 98039d0c4f671128a1b8fba7937f2e8d272dc71322f42c18778fc1a89f45f295
3
SIZE (naev-0.7.0-ndata.zip) = 319608404
(-)a/games/naev-data/pkg-descr (-2 lines)
Removed Link Here
1
Naev is a 2D space trading and combat game, in a similar vein to
2
Escape Velocity (data files).
(-)b/games/naev/Makefile (-59 / +32 lines)
Lines 1-8 Link Here
1
PORTNAME=	naev
1
PORTNAME=	naev
2
PORTVERSION=	0.7.0
2
PORTVERSION=	0.10.5
3
PORTREVISION=	12
3
DISTVERSIONSUFFIX=	-source
4
CATEGORIES=	games
4
CATEGORIES=	games
5
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
5
MASTER_SITES=	https://github.com/naev/naev/releases/download/v${PORTVERSION}/
6
6
7
MAINTAINER=	acm@FreeBSD.org
7
MAINTAINER=	acm@FreeBSD.org
8
COMMENT=	2D action/RPG space game
8
COMMENT=	2D action/RPG space game
Lines 11-79 WWW= https://naev.org/ Link Here
11
LICENSE=	GPLv3
11
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
13
14
BROKEN_FreeBSD_13=	ld: error: duplicate symbol: nglActiveTexture
14
MY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \
15
BROKEN_FreeBSD_14=	ld: error: duplicate symbol: nglActiveTexture
15
		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
16
16
BUILD_DEPENDS=	${MY_DEPENDS}
17
LIB_DEPENDS=	libpng.so:graphics/png \
17
LIB_DEPENDS=	libamd.so:math/suitesparse-amd \
18
		libbacktrace.so:devel/libbacktrace \
19
		libblas.so:math/blas \
20
		libcholmod.so:math/suitesparse-cholmod \
21
		libcolamd.so:math/suitesparse-colamd \
22
		libcxsparse.so:math/suitesparse-cxsparse \
23
		libenet.so:net/enet \
18
		libfreetype.so:print/freetype2 \
24
		libfreetype.so:print/freetype2 \
25
		libglpk.so:math/glpk \
26
		libopenblas.so:math/openblas \
27
		libpcre2-8.so:devel/pcre2 \
28
		libphysfs.so:devel/physfs \
29
		libpng.so:graphics/png \
30
		libunibreak.so:textproc/libunibreak \
19
		libvorbisfile.so:audio/libvorbis \
31
		libvorbisfile.so:audio/libvorbis \
32
		libwebp.so:graphics/webp \
20
		libzip.so:archivers/libzip
33
		libzip.so:archivers/libzip
21
RUN_DEPENDS=	${LOCALBASE}/${DATADIR_REL}/${DISTNAME}-ndata.zip:games/naev-data
34
RUN_DEPENDS=	${DEPENDS}
22
35
23
USES=		autoreconf:build compiler:features gl gmake gnome pkgconfig sdl \
36
USES=		desktop-file-utils gettext gl gnome luajit:luajit-openresty \
24
		tar:bzip2
37
		meson openal pkgconfig python sdl tar:xz
25
GNU_CONFIGURE=	yes
26
USE_GL=		gl glu
38
USE_GL=		gl glu
27
USE_GNOME=	libxml2
39
USE_GNOME=	intltool libxml2
28
40
USE_SDL=	sdl2 image2
29
CONFIGURE_ARGS=	--with-ndata-path="${DATADIR}/${DISTNAME}-ndata.zip" \
30
		--enable-debug=no
31
CPPFLAGS+=	-I${LOCALBASE}/include
32
LIBS+=		-L${LOCALBASE}/lib -lm
33
34
PORTDATA=	*
35
PORTDOCS=	*
36
41
37
PLIST_FILES=	bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \
42
MESON_ARGS=	-Ddocs_c=disabled -Ddocs_lua=disabled
38
		share/applications/${PORTNAME}.desktop \
39
		share/appdata/${PORTNAME}.appdata.xml \
40
		share/pixmaps/${PORTNAME}.png
41
43
42
OPTIONS_DEFINE=	DOCS OPENAL SDL2 SDL_MIXER
44
# work around meson not looking for headers/libs in /usr/local
43
OPTIONS_DEFAULT=	LUA_JIT OPENAL SDL2 SDL_MIXER
45
CFLAGS+=	-I${LOCALBASE}/include
44
OPTIONS_DEFAULT_powerpc64=	LUA_SHARED
46
LDFLAGS+=	-L${LOCALBASE}/lib
45
OPTIONS_EXCLUDE_powerpc64=	LUA_JIT
46
OPTIONS_SINGLE=		LUA
47
OPTIONS_SINGLE_LUA=	LUA_INTERNAL LUA_SHARED LUA_JIT
48
47
49
LUA_INTERNAL_DESC=	Use bundled Lua
48
WRKSRC=		work/${PORTNAME}-${DISTVERSION}
50
LUA_INTERNAL_CONFIGURE_ON=	--enable-lua=internal
51
LUA_SHARED_DESC=	Use Lua from lang/lua51
52
LUA_SHARED_CONFIGURE_ON=	--enable-lua=shared
53
LUA_SHARED_USES=	lua:51
54
LUA_JIT_DESC=		Use LuaJIT from lang/luajit
55
LUA_JIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
56
OPENAL_USES=	openal
57
OPENAL_CONFIGURE_WITH=	openal
58
SDL_MIXER_DESC=	SDL_mixer sound backend
59
SDL_MIXER_CONFIGURE_WITH=	sdlmixer
60
SDL2_DESC=	Use SDL2 instead of SDL
61
SDL2_CONFIGURE_WITH=	sdl2
62
SDL2_USE=	SDL=sdl2
63
SDL2_USE_OFF=	SDL=sdl
64
49
65
.include <bsd.port.pre.mk>
50
PORTDATA=	*
66
67
.if ${COMPILER_TYPE} == "gcc"
68
USE_GCC=	yes
69
.endif
70
71
.if ${PORT_OPTIONS:MSDL_MIXER}
72
.	if ${PORT_OPTIONS:MSDL2}
73
USE_SDL+=	mixer2
74
.	else
75
USE_SDL+=	mixer
76
.	endif
77
.endif
78
51
79
.include <bsd.port.post.mk>
52
.include <bsd.port.mk>
(-)b/games/naev/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1501802079
1
TIMESTAMP = 1687065303
2
SHA256 (naev-0.7.0.tar.bz2) = 30c1ea58ce0b314048d629df196b2eec908a627f9c98395b0fc95417305b008a
2
SHA256 (naev-0.10.5-source.tar.xz) = a0b3a497bd43f47ee313f69a02348cfcb489d3216aa9992f2fefd6ae51b84c86
3
SIZE (naev-0.7.0.tar.bz2) = 1076658
3
SIZE (naev-0.10.5-source.tar.xz) = 444950676
(-)b/games/naev/pkg-plist (-1 / +9 lines)
Added Link Here
0
- 
1
bin/naev
2
man/man6/naev.6.gz
3
share/applications/org.naev.Naev.desktop
4
share/icons/hicolor/128x128/apps/org.naev.Naev.png
5
share/icons/hicolor/16x16/apps/org.naev.Naev.png
6
share/icons/hicolor/256x256/apps/org.naev.Naev.png
7
share/icons/hicolor/32x32/apps/org.naev.Naev.png
8
share/icons/hicolor/64x64/apps/org.naev.Naev.png
9
share/metainfo/org.naev.Naev.metainfo.xml

Return to bug 272059