1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/naev/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

58 lines
1.4 KiB
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= naev
PORTVERSION= 0.5.3
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
${MASTER_SITE_GOOGLE_CODE}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= 2D action/RPG space game
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libvorbisfile.so:${PORTSDIR}/audio/libvorbis
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data
USES= gmake pkgconfig tar:bzip2
USE_AUTOTOOLS= automake:env aclocal:env autoconf:env
GNU_CONFIGURE= yes
USE_GL= glu
USE_GNOME= libxml2
USE_SDL= sdl image
CONFIGURE_ARGS= --with-ndata-path=${DATADIR}/ndata-${PORTVERSION}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lm
PLIST_FILES= bin/${PORTNAME} man/man6/naev.6.gz
SUB_FILES= pkg-message
OPTIONS_DEFINE= OPENAL SDL_MIXER
SDL_MIXER_DESC= SDL_mixer sound backend
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENAL}
USES+= openal
CONFIGURE_ARGS+= --with-openal=yes
.else
CONFIGURE_ARGS+= --with-openal=no
.endif
.if ${PORT_OPTIONS:MSDL_MIXER}
USE_SDL+= mixer
CONFIGURE_ARGS+= --with-sdlmixer=yes
.else
CONFIGURE_ARGS+= --with-sdlmixer=no
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
.include <bsd.port.mk>