mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
- Update to 0.15.1
- Add LICENSE - Install .desktop file and icon - Use options helpers PR: 194731 Submitted by: lightside@gmx.com
This commit is contained in:
parent
c009229106
commit
47ebae21bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372961
@ -2,54 +2,53 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= freedroidrpg
|
||||
PORTVERSION= 0.15
|
||||
PORTREVISION= 6
|
||||
PORTVERSION= 0.15.1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/freedroid/freedroidRPG/freedroidRPG-${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\\1/}/
|
||||
MASTER_SITES= SF/freedroid/${SF_NAME}/${SF_NAME}-${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\\1/}/
|
||||
DISTNAME= ${SF_NAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Modification of the classical Freedroid engine into an RPG
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_sparc64= Does not configure on sparc64
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake lua:51
|
||||
USE_SDL= sdl image mixer gfx
|
||||
CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
|
||||
USE_GCC= any # doesn't build with clang
|
||||
|
||||
SF_NAME= freedroidRPG
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
PORTDATA= *
|
||||
|
||||
DESKTOP_ENTRIES="FreedroidRPG" "" \
|
||||
"${PORTNAME}" "${SF_NAME}" \
|
||||
"Game;RolePlaying;" false
|
||||
|
||||
OPTIONS_DEFINE= BACKTRACE OPENGL VORBIS
|
||||
OPTIONS_DEFAULT=BACKTRACE OPENGL VORBIS
|
||||
BACKTRACE_DESC= Use backtrace() to generate nice bug reports
|
||||
|
||||
OPTIONS_DEFAULT=BACKTRACE OPENGL VORBIS
|
||||
BACKTRACE_LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
||||
BACKTRACE_CONFIGURE_ENABLE= backtrace
|
||||
OPENGL_USE= GL=gl
|
||||
OPENGL_CONFIGURE_ENABLE= opengl
|
||||
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
||||
libogg.so:${PORTSDIR}/audio/libogg
|
||||
VORBIS_CONFIGURE_ENABLE= vorbis
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MBACKTRACE}
|
||||
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
||||
CONFIGURE_ARGS+=--enable-backtrace
|
||||
STRIP= #
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-backtrace
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENGL}
|
||||
USE_GL= yes
|
||||
CONFIGURE_ARGS+=--enable-opengl
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-opengl
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MVORBIS}
|
||||
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
||||
libogg.so:${PORTSDIR}/audio/libogg
|
||||
CONFIGURE_ARGS+=--enable-vorbis
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-vorbis
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not configure on sparc64
|
||||
.endif
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/win32/w32icon2_64x64.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (freedroidrpg-0.15.tar.gz) = 4481a96c9cd6bfbb91ec65dbd260a4c729b82569c977b364a7f5580760af4c2f
|
||||
SIZE (freedroidrpg-0.15.tar.gz) = 209412185
|
||||
SHA256 (freedroidRPG-0.15.1.tar.gz) = 3e0e0e901f05386f49b8dfa1a8b3582ea82347deb7fb8e94fc15bf8ad058ba08
|
||||
SIZE (freedroidRPG-0.15.1.tar.gz) = 209427247
|
||||
|
@ -6,3 +6,4 @@ bin/gluefont
|
||||
bin/make_atlas
|
||||
bin/pngtoico
|
||||
man/man6/freedroidRPG.6.gz
|
||||
share/pixmaps/freedroidrpg.png
|
||||
|
Loading…
Reference in New Issue
Block a user