Index: head/games/pathological/Makefile =================================================================== --- head/games/pathological/Makefile (revision 341886) +++ head/games/pathological/Makefile (revision 341887) @@ -1,40 +1,43 @@ # Created by: Janos Mohacsi # $FreeBSD$ PORTNAME= pathological PORTVERSION= 1.1.3 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF MAINTAINER= jmohacsi@bsd.hu COMMENT= Enriched clone of the game "Logical" -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game +LICENSE= GPLv2 +RUN_DEPENDS= ${PYGAME} + +OPTIONS_DEFINE= DOCS + USE_PYTHON= yes NO_BUILD= yes -MAN6= pathological.6 -MANCOMPRESSED= yes DOC_FILES= favicon.ico index.html -NO_STAGE= yes +DESKTOP_ENTRIES="Pathological" \ + "Logic game" \ + "${DATADIR}/pathological.ico" \ + "pathological" \ + "Game;LogicGame;" \ + false + do-install: - @${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}; tar -cf - circuits graphics music sounds pathological.ico pathological.py pathological.xpm) | \ - (cd ${DATADIR}; tar --unlink -xf -) - @printf "#!/bin/sh\ncd ${DATADIR} && \ + (cd ${STAGEDIR}${DATADIR}; tar --unlink -xf -) + @${PRINTF} "#!/bin/sh\ncd ${DATADIR} && \ exec ${PYTHON_CMD} ${DATADIR}/pathological.py\n" > ${WRKDIR}/pathological.sh - @${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh ${PREFIX}/bin/pathological -.ifndef(NO_INSTALL_MANPAGES) - ${INSTALL_MAN} ${WRKSRC}/${MAN6}.gz ${MAN6PREFIX}/man/man6/ -.endif -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/html/${file} ${DOCSDIR} -.endfor -.endif + ${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh \ + ${STAGEDIR}${PREFIX}/bin/pathological + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6.gz ${STAGEDIR}${MANPREFIX}/man/man6 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/html/|g} ${STAGEDIR}${DOCSDIR} .include Index: head/games/pathological/pkg-descr =================================================================== --- head/games/pathological/pkg-descr (revision 341886) +++ head/games/pathological/pkg-descr (revision 341887) @@ -1,13 +1,13 @@ Pathological is an enriched clone of the game "Logical" by Rainbow Arts. To solve a level, fill each wheel with four marbles of matching color. Various board elements such as teleporters, switches, filters, etc., make the game interesting and challenging. New levels can be created using your favorite text editor. Features * Sharp 800x600 graphics * 50 diverse and challenging levels (more to come...) * A cool 6-minute ambient soundtrack by an award-winning musician -WWW: http://pathological.sourceforge.net/ +WWW: http://pathological.sourceforge.net/ Index: head/games/pathological/pkg-plist =================================================================== --- head/games/pathological/pkg-plist (revision 341886) +++ head/games/pathological/pkg-plist (revision 341887) @@ -1,161 +1,162 @@ bin/pathological +man/man6/pathological.6.gz %%DATADIR%%/circuits/all-boards %%DATADIR%%/graphics/backdrop.jpg %%DATADIR%%/graphics/blank-bg-tile.png %%DATADIR%%/graphics/blank-wheel-dark.png %%DATADIR%%/graphics/blank-wheel.png %%DATADIR%%/graphics/buffer-top.png %%DATADIR%%/graphics/buffer.png %%DATADIR%%/graphics/director-0.png %%DATADIR%%/graphics/director-1.png %%DATADIR%%/graphics/director-2.png %%DATADIR%%/graphics/director-3.png %%DATADIR%%/graphics/entrance.png %%DATADIR%%/graphics/filter-0-cb.png %%DATADIR%%/graphics/filter-0.png %%DATADIR%%/graphics/filter-1-cb.png %%DATADIR%%/graphics/filter-1.png %%DATADIR%%/graphics/filter-2-cb.png %%DATADIR%%/graphics/filter-2.png %%DATADIR%%/graphics/filter-3-cb.png %%DATADIR%%/graphics/filter-3.png %%DATADIR%%/graphics/filter-4-cb.png %%DATADIR%%/graphics/filter-4.png %%DATADIR%%/graphics/filter-5-cb.png %%DATADIR%%/graphics/filter-5.png %%DATADIR%%/graphics/filter-6-cb.png %%DATADIR%%/graphics/filter-6.png %%DATADIR%%/graphics/filter-7-cb.png %%DATADIR%%/graphics/filter-7.png %%DATADIR%%/graphics/gadget.xcf %%DATADIR%%/graphics/icon.png %%DATADIR%%/graphics/intro.png %%DATADIR%%/graphics/intro.xcf %%DATADIR%%/graphics/launcher-corner.png %%DATADIR%%/graphics/launcher-v.png %%DATADIR%%/graphics/launcher.png %%DATADIR%%/graphics/life-marble.png %%DATADIR%%/graphics/marble-0-cb.png %%DATADIR%%/graphics/marble-0.png %%DATADIR%%/graphics/marble-1-cb.png %%DATADIR%%/graphics/marble-1.png %%DATADIR%%/graphics/marble-2-cb.png %%DATADIR%%/graphics/marble-2.png %%DATADIR%%/graphics/marble-3-cb.png %%DATADIR%%/graphics/marble-3.png %%DATADIR%%/graphics/marble-4-cb.png %%DATADIR%%/graphics/marble-4.png %%DATADIR%%/graphics/marble-5-cb.png %%DATADIR%%/graphics/marble-5.png %%DATADIR%%/graphics/marble-6-cb.png %%DATADIR%%/graphics/marble-6.png %%DATADIR%%/graphics/marble-7-cb.png %%DATADIR%%/graphics/marble-7.png %%DATADIR%%/graphics/marble-8-cb.png %%DATADIR%%/graphics/marble-8.png %%DATADIR%%/graphics/marbles.xcf %%DATADIR%%/graphics/moving-hole-dark.png %%DATADIR%%/graphics/moving-hole.png %%DATADIR%%/graphics/moving-hole.xcf %%DATADIR%%/graphics/painter-0-cb.png %%DATADIR%%/graphics/painter-0.png %%DATADIR%%/graphics/painter-1-cb.png %%DATADIR%%/graphics/painter-1.png %%DATADIR%%/graphics/painter-2-cb.png %%DATADIR%%/graphics/painter-2.png %%DATADIR%%/graphics/painter-3-cb.png %%DATADIR%%/graphics/painter-3.png %%DATADIR%%/graphics/painter-4-cb.png %%DATADIR%%/graphics/painter-4.png %%DATADIR%%/graphics/painter-5-cb.png %%DATADIR%%/graphics/painter-5.png %%DATADIR%%/graphics/painter-6-cb.png %%DATADIR%%/graphics/painter-6.png %%DATADIR%%/graphics/painter-7-cb.png %%DATADIR%%/graphics/painter-7.png %%DATADIR%%/graphics/path-0.png %%DATADIR%%/graphics/path-1.png %%DATADIR%%/graphics/path-10.png %%DATADIR%%/graphics/path-11.png %%DATADIR%%/graphics/path-12.png %%DATADIR%%/graphics/path-13.png %%DATADIR%%/graphics/path-14.png %%DATADIR%%/graphics/path-15.png %%DATADIR%%/graphics/path-2.png %%DATADIR%%/graphics/path-3.png %%DATADIR%%/graphics/path-4.png %%DATADIR%%/graphics/path-5.png %%DATADIR%%/graphics/path-6.png %%DATADIR%%/graphics/path-7.png %%DATADIR%%/graphics/path-8.png %%DATADIR%%/graphics/path-9.png %%DATADIR%%/graphics/pathological-logo.gif %%DATADIR%%/graphics/paths.xcf %%DATADIR%%/graphics/replicator.png %%DATADIR%%/graphics/shredder.png %%DATADIR%%/graphics/stoplight.png %%DATADIR%%/graphics/switch-01.png %%DATADIR%%/graphics/switch-02.png %%DATADIR%%/graphics/switch-03.png %%DATADIR%%/graphics/switch-10.png %%DATADIR%%/graphics/switch-12.png %%DATADIR%%/graphics/switch-13.png %%DATADIR%%/graphics/switch-20.png %%DATADIR%%/graphics/switch-21.png %%DATADIR%%/graphics/switch-23.png %%DATADIR%%/graphics/switch-30.png %%DATADIR%%/graphics/switch-31.png %%DATADIR%%/graphics/switch-32.png %%DATADIR%%/graphics/teleporter-h.png %%DATADIR%%/graphics/teleporter-v.png %%DATADIR%%/graphics/tile.png %%DATADIR%%/graphics/trigger.png %%DATADIR%%/graphics/tunnel-0.png %%DATADIR%%/graphics/tunnel-1.png %%DATADIR%%/graphics/tunnel-10.png %%DATADIR%%/graphics/tunnel-11.png %%DATADIR%%/graphics/tunnel-12.png %%DATADIR%%/graphics/tunnel-13.png %%DATADIR%%/graphics/tunnel-14.png %%DATADIR%%/graphics/tunnel-15.png %%DATADIR%%/graphics/tunnel-2.png %%DATADIR%%/graphics/tunnel-3.png %%DATADIR%%/graphics/tunnel-4.png %%DATADIR%%/graphics/tunnel-5.png %%DATADIR%%/graphics/tunnel-6.png %%DATADIR%%/graphics/tunnel-7.png %%DATADIR%%/graphics/tunnel-8.png %%DATADIR%%/graphics/tunnel-9.png %%DATADIR%%/graphics/wheel-dark.png %%DATADIR%%/graphics/wheel.png %%DATADIR%%/graphics/wheel.xcf %%DATADIR%%/music/background.xm %%DATADIR%%/music/intro.xm %%DATADIR%%/pathological.ico %%DATADIR%%/pathological.py %%DATADIR%%/pathological.xpm %%DATADIR%%/sounds/change_color.wav %%DATADIR%%/sounds/die.wav %%DATADIR%%/sounds/direct_marble.wav %%DATADIR%%/sounds/extra_life.wav %%DATADIR%%/sounds/filter_admit.wav %%DATADIR%%/sounds/incorrect.wav %%DATADIR%%/sounds/levelfinish.wav %%DATADIR%%/sounds/marble_release.wav %%DATADIR%%/sounds/menu_scroll.wav %%DATADIR%%/sounds/ping.wav %%DATADIR%%/sounds/replicator.wav %%DATADIR%%/sounds/shredder.wav %%DATADIR%%/sounds/switch.wav %%DATADIR%%/sounds/teleport.wav %%DATADIR%%/sounds/trigger_setup.wav %%DATADIR%%/sounds/wheel_completed.wav %%DATADIR%%/sounds/wheel_turn.wav %%PORTDOCS%%%%DOCSDIR%%/favicon.ico %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/sounds @dirrm %%DATADIR%%/music @dirrm %%DATADIR%%/graphics @dirrm %%DATADIR%%/circuits @dirrm %%DATADIR%%