mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
66 lines
1.5 KiB
Makefile
66 lines
1.5 KiB
Makefile
# New ports collection makefile for: naev
|
|
# Date created: 2009-04-26
|
|
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= naev
|
|
PORTVERSION= 0.5.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
|
|
${MASTER_SITE_GOOGLE_CODE}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= A 2d action/rpg space game
|
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
|
|
freetype:${PORTSDIR}/print/freetype2
|
|
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data
|
|
|
|
USE_AUTOTOOLS= automake:env aclocal:env autoconf:env
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GL= gl
|
|
USE_GMAKE= yes
|
|
USE_GNOME= libxml2
|
|
USE_SDL= sdl image
|
|
|
|
CONFIGURE_ARGS= --with-ndata-path=${DATADIR}/ndata-${PORTVERSION}
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAN6= naev.6
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS= OPENAL "Use the OpenAL sound backend" on \
|
|
SDL_MIXER "Use the SDL_mixer sound backend" on
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if defined(WITH_OPENAL)
|
|
USE_OPENAL= yes
|
|
CONFIGURE_ARGS+= --with-openal=yes
|
|
.else
|
|
CONFIGURE_ARGS+= --with-openal=no
|
|
.endif
|
|
|
|
.if defined(WITH_SDL_MIXER)
|
|
USE_SDL+= mixer
|
|
CONFIGURE_ARGS+= --with-sdlmixer=yes
|
|
.else
|
|
CONFIGURE_ARGS+= --with-sdlmixer=no
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${PREFIX}/man/man6
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|