1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Support staging

- Convert USE_GMAKE to USES
- Use new LIB_DEPENDS syntax
This commit is contained in:
Dmitry Marakasov 2013-11-18 22:52:46 +00:00
parent 3699070f4d
commit 9d90ae8fc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334270
2 changed files with 8 additions and 8076 deletions

View File

@ -10,25 +10,24 @@ MASTER_SITES= SF/freedroid/freedroidRPG/freedroidRPG-${PORTVERSION:C/^([0-9]+\.[
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Modification of the classical Freedroid engine into an RPG
USE_SDL= sdl image mixer gfx
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= gmake
USE_SDL= sdl image mixer gfx
USE_LUA= 5.1+
CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
USE_GCC= any # doesn't build with clang
MAN6= freedroidRPG.6
PORTDATA= *
OPTIONS_DEFINE= BACKTRACE OPENGL VORBIS
BACKTRACE_DESC= Use backtrace() to generate nice bug reports
OPTIONS_DEFAULT= BACKTRACE OPENGL VORBIS
OPTIONS_DEFAULT=BACKTRACE OPENGL VORBIS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBACKTRACE}
LIB_DEPENDS+= execinfo:${PORTSDIR}/devel/libexecinfo
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
CONFIGURE_ARGS+=--enable-backtrace
STRIP= #
.else
@ -43,8 +42,8 @@ CONFIGURE_ARGS+=--disable-opengl
.endif
.if ${PORT_OPTIONS:MVORBIS}
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis \
ogg:${PORTSDIR}/audio/libogg
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis \
libogg.so:${PORTSDIR}/audio/libogg
CONFIGURE_ARGS+=--enable-vorbis
.else
CONFIGURE_ARGS+=--disable-vorbis

File diff suppressed because it is too large Load Diff