diff options
author | wg <wg@FreeBSD.org> | 2013-06-18 21:03:10 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-18 21:03:10 +0800 |
commit | 61d5abfeca662e90ff9c4e41308fbc9b58774c8b (patch) | |
tree | 599b94bc46812cfa61b7eafb8c3881866b0f100f /games | |
parent | a620fb6626930069db3555b1c651f12236007900 (diff) | |
download | freebsd-ports-gnome-61d5abfeca662e90ff9c4e41308fbc9b58774c8b.tar.gz freebsd-ports-gnome-61d5abfeca662e90ff9c4e41308fbc9b58774c8b.tar.zst freebsd-ports-gnome-61d5abfeca662e90ff9c4e41308fbc9b58774c8b.zip |
games/palomino: update to 20130527
- Update to 20130527 [1]
- Add LICENSE (GPLv2) [2]
- Remove JOYSTICK option, dependency broken [2]
- Use PORTDOCS instead of pkg-plist [2]
PR: ports/179335
Submitted by: Hardy Schumacher <hardy.schumacher@gmx.de> [1], maintainer [2]
Approved by: culot / jpaetzel (mentors, implicit), maintainer
Diffstat (limited to 'games')
-rw-r--r-- | games/palomino/Makefile | 43 | ||||
-rw-r--r-- | games/palomino/distinfo | 4 | ||||
-rw-r--r-- | games/palomino/pkg-plist | 49 |
3 files changed, 24 insertions, 72 deletions
diff --git a/games/palomino/Makefile b/games/palomino/Makefile index bbb63c479843..b55887adae1e 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= palomino -PORTVERSION= 20121026 -PORTREVISION= 2 +PORTVERSION= 20130527 CATEGORIES= games MASTER_SITES= ftp://ftp.palomino3d.org/sim/ DISTFILES= ${PORTNAME}_src_${PORTVERSION}.txz \ @@ -15,6 +14,8 @@ DISTFILES= ${PORTNAME}_src_${PORTVERSION}.txz \ MAINTAINER= nemysis@gmx.ch COMMENT= Action flight simulation computer program using OSG +LICENSE= GPLv2 + LIB_DEPENDS= osg:${PORTSDIR}/graphics/osg USE_BZIP2= yes @@ -32,24 +33,20 @@ TERRAIN_VER= 20080206 WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS_DEFINE= JOYSTICK SDL PLIB GUI +OPTIONS_DEFINE= SDL PLIB GUI OPTIONS_DEFAULT= SDL GUI -JOYSTICK_DESC= Enable joystick support through linux-js SDL_DESC= SDL support for input and sound PLIB_DESC= Enable sound support through plib GUI_DESC= Enable FLTK GUI +PORTDOCS= * + DESKTOP_ENTRIES= "Palomino" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + "${PORTNAME}" "Game;ArcadeGame;" false .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MJOYSTICK} -BUILD_DEPENDS+= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js -RUN_DEPENDS+= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js -.endif - .if ${PORT_OPTIONS:MSDL} USE_SDL+= sdl mixer .endif @@ -71,30 +68,34 @@ post-patch: @${REINPLACE_CMD} -e '/FIND_PACKAGE(/ s|)| REQUIRED)|' \ ${WRKSRC}/CMakeModules/libraries.cmake @${REINPLACE_CMD} -e '/COMPILE_WITH_OSSIM/ d' ${WRKSRC}/CMakeLists.txt -.if empty(PORT_OPTIONS:MJOYSTICK) + +# Please look MOVED 2013-06-04 @${REINPLACE_CMD} -e '/COMPILE_WITH_LINUX_JOYSTICK/ d' ${WRKSRC}/CMakeLists.txt -.endif -.if empty(PORT_OPTIONS:MSDL) + +.if ! ${PORT_OPTIONS:MSDL} @${REINPLACE_CMD} -e '/COMPILE_WITH_SDL/ d' ${WRKSRC}/CMakeLists.txt .endif -.if empty(PORT_OPTIONS:MPLIB) + +.if ! ${PORT_OPTIONS:MPLIB} @${REINPLACE_CMD} -e '/COMPILE_WITH_PLIB/ d' ${WRKSRC}/CMakeLists.txt .endif -.if empty(PORT_OPTIONS:MGUI) + +.if ! ${PORT_OPTIONS:MGUI} @${REINPLACE_CMD} -e '/COMPILE_WITH_FLTK/ d' ${WRKSRC}/CMakeLists.txt .endif + @${REINPLACE_CMD} -e 's|string sDataDir|&="${DATADIR}/data/"|'\ - ${WRKSRC}/src/base/conf.cc + ${WRKSRC}/src/base/conf.cc @${REINPLACE_CMD} -e '/LUABIND_SCRIPTS_DIR/ s|"scripts"|"${DATADIR}/scripts"|' \ - ${WRKSRC}/src/lua_bind/defs.hh + ${WRKSRC}/src/lua_bind/defs.hh @${REINPLACE_CMD} -e 's|doc/html/|${DOCSDIR}/|' ${WRKSRC}/src/gui/gui.cc post-install: - ${MKDIR} ${DATADIR} - cd ${WRKSRC}/ && ${COPYTREE_SHARE} "data scripts" ${DATADIR}/ + @${MKDIR} ${DATADIR} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data scripts" ${DATADIR}) # docs are used from within the game, so this is unconditional - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} \* ${DOCSDIR}/ + @${MKDIR} ${DOCSDIR} + @(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR}) ${LN} -sf ${DOCSDIR}/images/palominoLogo.png \ ${PREFIX}/share/pixmaps/${PORTNAME}.png diff --git a/games/palomino/distinfo b/games/palomino/distinfo index 655c5d86de51..56000f97aa52 100644 --- a/games/palomino/distinfo +++ b/games/palomino/distinfo @@ -1,5 +1,5 @@ -SHA256 (palomino_src_20121026.txz) = fee1f1d05c8cb8bb25484d01b03ffdce44b31fac54a68c27f82d017ddee29b76 -SIZE (palomino_src_20121026.txz) = 572424 +SHA256 (palomino_src_20130527.txz) = ae5be1a8e146030289ec75b2c44f0dde11641809ef57a572038cb746c64bceca +SIZE (palomino_src_20130527.txz) = 572468 SHA256 (palomino_data_misc_20091027.tar.bz2) = f5b7183ae98a7842dcc626de388d396a50c98011745bc6afca7da402c13fdac8 SIZE (palomino_data_misc_20091027.tar.bz2) = 632943 SHA256 (palomino_data_models_20090615.tar.bz2) = 53acdb00a61cbfe5faca7c30276ae76a2d0c8a169eff292b54fc9701bfbe885a diff --git a/games/palomino/pkg-plist b/games/palomino/pkg-plist index f9ca24d03d97..2f648065d86a 100644 --- a/games/palomino/pkg-plist +++ b/games/palomino/pkg-plist @@ -1,52 +1,5 @@ bin/palomino share/pixmaps/palomino.png -%%DOCSDIR%%/coding.html -%%DOCSDIR%%/compression.html -%%DOCSDIR%%/crash.html -%%DOCSDIR%%/docs.css -%%DOCSDIR%%/images/arrowBlue.gif -%%DOCSDIR%%/images/arrowGreen.gif -%%DOCSDIR%%/images/arrowRed.gif -%%DOCSDIR%%/images/arrowWhite.gif -%%DOCSDIR%%/images/arrowYellow.gif -%%DOCSDIR%%/images/favicon.png -%%DOCSDIR%%/images/palominoLogo.png -%%DOCSDIR%%/images/palomino_pegasus_50x40.png -%%DOCSDIR%%/images/sprite1.png -%%DOCSDIR%%/images/sprite2.png -%%DOCSDIR%%/images/sprite3.png -%%DOCSDIR%%/index.html -%%DOCSDIR%%/issues.html -%%DOCSDIR%%/lua_scripts.html -%%DOCSDIR%%/manual.css -%%DOCSDIR%%/manual.html -%%DOCSDIR%%/math.html -%%DOCSDIR%%/module_base.html -%%DOCSDIR%%/module_base_configuration.html -%%DOCSDIR%%/module_collision.html -%%DOCSDIR%%/module_control.html -%%DOCSDIR%%/module_fx.html -%%DOCSDIR%%/module_game.html -%%DOCSDIR%%/module_gfx.html -%%DOCSDIR%%/module_graph.html -%%DOCSDIR%%/module_gui.html -%%DOCSDIR%%/module_hud.html -%%DOCSDIR%%/module_init.html -%%DOCSDIR%%/module_input.html -%%DOCSDIR%%/module_lua.html -%%DOCSDIR%%/module_math.html -%%DOCSDIR%%/module_object.html -%%DOCSDIR%%/module_physics.html -%%DOCSDIR%%/module_program.html -%%DOCSDIR%%/module_shader.html -%%DOCSDIR%%/module_shadows.html -%%DOCSDIR%%/module_sky.html -%%DOCSDIR%%/module_sound.html -%%DOCSDIR%%/module_view.html -%%DOCSDIR%%/module_world.html -%%DOCSDIR%%/rules.html -%%DOCSDIR%%/scene.html -%%DOCSDIR%%/terrain.html %%DATADIR%%/data/fonts/README.txt %%DATADIR%%/data/fonts/arial.ttf %%DATADIR%%/data/fonts/masque.ttf @@ -516,5 +469,3 @@ share/pixmaps/palomino.png @dirrm %%DATADIR%%/data/fonts @dirrm %%DATADIR%%/data @dirrm %%DATADIR%% -@dirrm %%DOCSDIR%%/images -@dirrm %%DOCSDIR%% |