diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-11-30 20:41:57 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-11-30 20:41:57 +0000 |
commit | d4d0b13971cdad142053f437d2895a69f98b720e (patch) | |
tree | 62ff668d46da9c51e14be28ccbf8e50e7c8d295f /games/palomino | |
parent | 1e00f52e124d13804f9dcf172e5b903a85fa41c3 (diff) |
Notes
Diffstat (limited to 'games/palomino')
-rw-r--r-- | games/palomino/Makefile | 21 | ||||
-rw-r--r-- | games/palomino/pkg-descr | 4 | ||||
-rw-r--r-- | games/palomino/pkg-plist | 1 |
3 files changed, 17 insertions, 9 deletions
diff --git a/games/palomino/Makefile b/games/palomino/Makefile index 2de1929e0d22..a406bba13029 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -3,6 +3,7 @@ PORTNAME= palomino PORTVERSION= 20121026 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ftp://ftp.palomino3d.org/sim/ DISTFILES= ${PORTNAME}_src_${PORTVERSION}.txz \ @@ -11,8 +12,8 @@ DISTFILES= ${PORTNAME}_src_${PORTVERSION}.txz \ ${PORTNAME}_data_sounds_${SOUNDS_VER}.tar.bz2 \ ${PORTNAME}_data_terrain_${TERRAIN_VER}.tar.bz2 -MAINTAINER= ports@FreeBSD.org -COMMENT= Action flight simulator with its own 3D engine +MAINTAINER= nemysis@gmx.ch +COMMENT= Action flight simulation computer program using OSG LIB_DEPENDS= osg:${PORTSDIR}/graphics/osg @@ -39,6 +40,9 @@ SDL_DESC= SDL support for input and sound PLIB_DESC= Enable sound support through plib GUI_DESC= Enable FLTK GUI +DESKTOP_ENTRIES= "Palomino" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MJOYSTICK} @@ -62,11 +66,11 @@ do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} @cd ${WRKDIR}; \ - for file in ${DISTFILES}; do \ - if ${ECHO_CMD} $$file | ${GREP} -q txz$$; then \ - ${XZ_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS}; \ + for distfile in ${DISTFILES}; do \ + if ${ECHO_CMD} $$distfile | ${GREP} -q txz$$; then \ + ${XZ_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$distfile ${EXTRACT_AFTER_ARGS}; \ else \ - ${BZIP2_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS}; \ + ${BZIP2_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$distfile ${EXTRACT_AFTER_ARGS}; \ fi; \ done @@ -102,6 +106,9 @@ post-install: 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}/ + cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} \* ${DOCSDIR}/ + + ${LN} -sf ${PREFIX}/share/doc/palomino/images/palominoLogo.png \ + ${PREFIX}/share/pixmaps/${PORTNAME}.png .include <bsd.port.mk> diff --git a/games/palomino/pkg-descr b/games/palomino/pkg-descr index 73c7eadbc553..fa2d6e88e1bf 100644 --- a/games/palomino/pkg-descr +++ b/games/palomino/pkg-descr @@ -1,4 +1,4 @@ -Palomino is an open-source action flight simulator with its own -3D engine. +Palomino is a flight simulation computer program. Version 3 renders using +OpenSceneGraph. OSG provides the ability to render satellite imagery. WWW: http://www.palomino3d.org/ diff --git a/games/palomino/pkg-plist b/games/palomino/pkg-plist index ac7bf2bc805b..f9ca24d03d97 100644 --- a/games/palomino/pkg-plist +++ b/games/palomino/pkg-plist @@ -1,4 +1,5 @@ bin/palomino +share/pixmaps/palomino.png %%DOCSDIR%%/coding.html %%DOCSDIR%%/compression.html %%DOCSDIR%%/crash.html |