View | Details | Raw Unified | Return to bug 198684 | Differences between
and this patch

Collapse All | Expand All

(-)naev/Makefile (-26 / +33 lines)
Lines 2-57 Link Here
2
# $FreeBSD: head/games/naev/Makefile 375598 2014-12-25 20:54:41Z bapt $
2
# $FreeBSD: head/games/naev/Makefile 375598 2014-12-25 20:54:41Z bapt $
3
3
4
PORTNAME=	naev
4
PORTNAME=	naev
5
PORTVERSION=	0.5.3
5
PORTVERSION=	0.6.0
6
PORTREVISION=	4
7
CATEGORIES=	games
6
CATEGORIES=	games
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
9
		${MASTER_SITE_GOOGLE_CODE}
10
DIST_SUBDIR=	${PORTNAME}
8
DIST_SUBDIR=	${PORTNAME}
11
9
12
MAINTAINER=	acm@FreeBSD.org
10
MAINTAINER=	acm@FreeBSD.org
13
COMMENT=	2D action/RPG space game
11
COMMENT=	2D action/RPG space game
14
12
13
LICENSE=	GPLv3
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
15
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
16
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
16
		libfreetype.so:${PORTSDIR}/print/freetype2 \
17
		libfreetype.so:${PORTSDIR}/print/freetype2 \
17
		libvorbisfile.so:${PORTSDIR}/audio/libvorbis
18
		libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
18
RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data
19
		libzip.so:${PORTSDIR}/archivers/libzip \
20
		libcsparse.so:${PORTSDIR}/math/suitesparse
21
RUN_DEPENDS=	${DATADIR}/ndata-${PORTVERSION}.zip:${PORTSDIR}/games/naev-data
19
22
20
USES=		gmake pkgconfig tar:bzip2
23
USES=		gmake pkgconfig tar:bzip2
21
USE_AUTOTOOLS=	automake:env aclocal:env autoconf:env
24
USE_AUTOTOOLS=	automake:env aclocal:env autoconf:env
22
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
23
USE_GL=		glu
26
USE_GL=		glu
24
USE_GNOME=	libxml2
27
USE_GNOME=	libxml2
25
USE_SDL=	sdl image
26
28
27
CONFIGURE_ARGS=	--with-ndata-path=${DATADIR}/ndata-${PORTVERSION}
29
CONFIGURE_ARGS=	--with-ndata-path="${DATADIR}/ndata-${PORTVERSION}.zip" \
30
		--enable-debug=no
28
CPPFLAGS+=	-I${LOCALBASE}/include
31
CPPFLAGS+=	-I${LOCALBASE}/include
29
LIBS+=		-L${LOCALBASE}/lib -lm
32
LIBS+=		-L${LOCALBASE}/lib -lm
30
33
31
PLIST_FILES=	bin/${PORTNAME} man/man6/naev.6.gz
34
PORTDATA=	*
32
SUB_FILES=	pkg-message
35
PORTDOCS=	*
36
37
PLIST_FILES=	bin/${PORTNAME} man/man6/naev.6.gz \
38
		share/applications/${PORTNAME}.desktop \
39
		share/appdata/${PORTNAME}.appdata.xml \
40
		share/pixmaps/${PORTNAME}.png
41
42
OPTIONS_DEFINE=	DOCS OPENAL SDL2 SDL_MIXER
43
OPTIONS_DEFAULT=	OPENAL SDL2 SDL_MIXER
33
44
34
OPTIONS_DEFINE=	OPENAL SDL_MIXER
45
OPENAL_USES=	openal
46
OPENAL_CONFIGURE_WITH=	openal
35
SDL_MIXER_DESC=	SDL_mixer sound backend
47
SDL_MIXER_DESC=	SDL_mixer sound backend
48
SDL_MIXER_CONFIGURE_WITH=	sdlmixer
49
SDL2_DESC=	Use SDL2 instead of SDL
50
SDL2_CONFIGURE_WITH=	sdl2
51
SDL2_USE=	SDL=sdl2
52
SDL2_USE_OFF=	SDL=sdl
36
53
37
.include <bsd.port.options.mk>
54
.include <bsd.port.options.mk>
38
55
39
.if ${PORT_OPTIONS:MOPENAL}
40
USES+=			openal
41
CONFIGURE_ARGS+=	--with-openal=yes
42
.else
43
CONFIGURE_ARGS+=	--with-openal=no
44
.endif
45
46
.if ${PORT_OPTIONS:MSDL_MIXER}
56
.if ${PORT_OPTIONS:MSDL_MIXER}
47
USE_SDL+=		mixer
57
.	if ${PORT_OPTIONS:MSDL2}
48
CONFIGURE_ARGS+=	--with-sdlmixer=yes
58
USE_SDL+=	mixer2
49
.else
59
.	else
50
CONFIGURE_ARGS+=	--with-sdlmixer=no
60
USE_SDL+=	mixer
61
.	endif
51
.endif
62
.endif
52
63
53
do-install:
54
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
55
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
56
57
.include <bsd.port.mk>
64
.include <bsd.port.mk>
(-)naev/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (naev/naev-0.5.3.tar.bz2) = b2d026abb099bcb884e13a26b1bce4273f094830690340468f752a3b9b64c719
1
SHA256 (naev/naev-0.6.0.tar.bz2) = 0f0b498c7642e36dfaa15f284e13b9aa2d20e4aa01ed812fb7854583e7161cac
2
SIZE (naev/naev-0.5.3.tar.bz2) = 997522
2
SIZE (naev/naev-0.6.0.tar.bz2) = 1054649
(-)naev/files/pkg-message.in (-9 lines)
Lines 1-9 Link Here
1
###############################################################################
2
3
The NAEV space game was installed
4
5
1) You can find the conf.lua config file into your ~/.config/naev/ directory
6
7
2) Enjoy it :)
8
9
###############################################################################
(-)naev/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
NAEV is a 2D space game that combines elements from the action, RPG, and
1
NAEV is a 2D space game that combines elements from the action, RPG, and
2
simulation genres.
2
simulation genres.
3
3
4
WWW: http://code.google.com/p/naev/
4
WWW: http://sourceforge.net/projects/naev/

Return to bug 198684