diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/jvgs/Makefile | 45 | ||||
-rw-r--r-- | games/jvgs/distinfo | 3 | ||||
-rw-r--r-- | games/jvgs/files/jvgs.in | 8 | ||||
-rw-r--r-- | games/jvgs/pkg-descr | 6 | ||||
-rw-r--r-- | games/jvgs/pkg-plist | 180 |
6 files changed, 243 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index b189f5f87c6a..c9d72f64de75 100644 --- a/games/Makefile +++ b/games/Makefile @@ -395,6 +395,7 @@ SUBDIR += joequake SUBDIR += jools SUBDIR += jtans + SUBDIR += jvgs SUBDIR += jzip SUBDIR += kaid SUBDIR += kamikaze diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile new file mode 100644 index 000000000000..c9b825575d32 --- /dev/null +++ b/games/jvgs/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: jvgs +# Date created: 15 Jan 2010 +# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= jvgs +PORTVERSION= 0.4 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= A minimalistic platform game + +BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 +LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 + +USE_CMAKE= yes +USE_SDL= sdl mixer +USE_GL= gl glu +USE_LUA= 5.1+ +MAKE_JOBS_SAFE= yes + +SUB_FILES= ${PORTNAME} + +NO_CDROM= contains data under CC-by-NC-SA + +PORTDOCS= AUTHORS + +post-patch: + @${REINPLACE_CMD} -e 's|main.lua|${DATADIR}/&|' ${WRKSRC}/src/main.cpp + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/jvgs ${PREFIX}/libexec/ + ${INSTALL_SCRIPT} ${WRKDIR}/jvgs ${PREFIX}/bin/ + ${MKDIR} ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "resources main.lua" ${DATADIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/games/jvgs/distinfo b/games/jvgs/distinfo new file mode 100644 index 000000000000..b3409a20cebd --- /dev/null +++ b/games/jvgs/distinfo @@ -0,0 +1,3 @@ +MD5 (jvgs-0.4-src.tar.gz) = 2da8adf3adcf151cbfeed62dedc77ae1 +SHA256 (jvgs-0.4-src.tar.gz) = cfc58d665863fab25e622a099bb6739207ed070c67ab394f51358d880e85b103 +SIZE (jvgs-0.4-src.tar.gz) = 24740388 diff --git a/games/jvgs/files/jvgs.in b/games/jvgs/files/jvgs.in new file mode 100644 index 000000000000..d83ea71d03c1 --- /dev/null +++ b/games/jvgs/files/jvgs.in @@ -0,0 +1,8 @@ +#!/bin/sh -e + +mkdir -p ~/.jvgs +cd ~/.jvgs +if [ ! -e 'resources' ]; then + ln -s %%DATADIR%%/resources +fi +exec %%PREFIX%%/libexec/jvgs diff --git a/games/jvgs/pkg-descr b/games/jvgs/pkg-descr new file mode 100644 index 000000000000..badf4528fe90 --- /dev/null +++ b/games/jvgs/pkg-descr @@ -0,0 +1,6 @@ +JVGS is a free, minimalistic platform game that runs on windows, +mac, linux and most other obscure systems out there. Some elements +are loosely based on xkcd. The Ghosts album by Nine Inch Nails was +chosen as soundtrack. + +WWW: http://jvgs.sourceforge.net/ diff --git a/games/jvgs/pkg-plist b/games/jvgs/pkg-plist new file mode 100644 index 000000000000..b8bd503bb5a1 --- /dev/null +++ b/games/jvgs/pkg-plist @@ -0,0 +1,180 @@ +bin/jvgs +libexec/jvgs +%%DATADIR%%/main.lua +%%DATADIR%%/resources/clock/clock.svg +%%DATADIR%%/resources/clock/obtain-clock.lua +%%DATADIR%%/resources/clock/obtain-clock.xml +%%DATADIR%%/resources/common-scripts/enemy.lua +%%DATADIR%%/resources/common-scripts/invincible-enemy.lua +%%DATADIR%%/resources/drawing.svg +%%DATADIR%%/resources/effects/moon.svg +%%DATADIR%%/resources/effects/skull.svg +%%DATADIR%%/resources/effects/spiral.svg +%%DATADIR%%/resources/effects/star.svg +%%DATADIR%%/resources/font.ttf +%%DATADIR%%/resources/grenade/explosion.ogg +%%DATADIR%%/resources/grenade/grenade.svg +%%DATADIR%%/resources/grenade/grenade.xml +%%DATADIR%%/resources/grenade/obtain-grenade.lua +%%DATADIR%%/resources/grenade/obtain-grenade.xml +%%DATADIR%%/resources/grenade/script.lua +%%DATADIR%%/resources/hat/obtain-hat.lua +%%DATADIR%%/resources/hat/obtain-hat.svg +%%DATADIR%%/resources/hat/obtain-hat.xml +%%DATADIR%%/resources/hedgehog/hedgehog.ogg +%%DATADIR%%/resources/hedgehog/hedgehog.xml +%%DATADIR%%/resources/hedgehog/walking-01.svg +%%DATADIR%%/resources/hedgehog/walking-02.svg +%%DATADIR%%/resources/helidude/helidude.ogg +%%DATADIR%%/resources/helidude/helidude.xml +%%DATADIR%%/resources/helidude/walking-01.svg +%%DATADIR%%/resources/helidude/walking-02.svg +%%DATADIR%%/resources/knife/knife-01.svg +%%DATADIR%%/resources/knife/knife-02.svg +%%DATADIR%%/resources/knife/knife-03.svg +%%DATADIR%%/resources/knife/knife-04.svg +%%DATADIR%%/resources/knife/knife.xml +%%DATADIR%%/resources/knife/obtain-knife.lua +%%DATADIR%%/resources/knife/obtain-knife.xml +%%DATADIR%%/resources/knife/script.lua +%%DATADIR%%/resources/knife/throw.ogg +%%DATADIR%%/resources/level-city/cloud.lua +%%DATADIR%%/resources/level-city/level.xml +%%DATADIR%%/resources/level-city/world.svg +%%DATADIR%%/resources/level-contact/girl.lua +%%DATADIR%%/resources/level-contact/level.xml +%%DATADIR%%/resources/level-contact/world.svg +%%DATADIR%%/resources/level-credits/level.xml +%%DATADIR%%/resources/level-credits/world.svg +%%DATADIR%%/resources/level-end/end.lua +%%DATADIR%%/resources/level-end/girl.lua +%%DATADIR%%/resources/level-end/girl.svg +%%DATADIR%%/resources/level-end/girl.xml +%%DATADIR%%/resources/level-end/level.xml +%%DATADIR%%/resources/level-end/world.svg +%%DATADIR%%/resources/level-four/crown.lua +%%DATADIR%%/resources/level-four/crown.svg +%%DATADIR%%/resources/level-four/crown.xml +%%DATADIR%%/resources/level-four/level.xml +%%DATADIR%%/resources/level-four/teleport-to-start.lua +%%DATADIR%%/resources/level-four/world.svg +%%DATADIR%%/resources/level-intro/heart.lua +%%DATADIR%%/resources/level-intro/level.xml +%%DATADIR%%/resources/level-intro/tutorial-01.lua +%%DATADIR%%/resources/level-intro/tutorial-02.lua +%%DATADIR%%/resources/level-intro/tutorial-03.lua +%%DATADIR%%/resources/level-intro/tutorial-04.lua +%%DATADIR%%/resources/level-intro/world.svg +%%DATADIR%%/resources/level-knife/level.xml +%%DATADIR%%/resources/level-knife/star.lua +%%DATADIR%%/resources/level-knife/world.svg +%%DATADIR%%/resources/level-main-menu/main-menu.svg +%%DATADIR%%/resources/level-main-menu/main-menu.xml +%%DATADIR%%/resources/level-main-menu/play.lua +%%DATADIR%%/resources/level-main-menu/quit.lua +%%DATADIR%%/resources/level-nostalgia/level.xml +%%DATADIR%%/resources/level-nostalgia/spiral.lua +%%DATADIR%%/resources/level-nostalgia/world.svg +%%DATADIR%%/resources/level-planet/level.xml +%%DATADIR%%/resources/level-planet/star.lua +%%DATADIR%%/resources/level-planet/world.svg +%%DATADIR%%/resources/level-run/level.xml +%%DATADIR%%/resources/level-run/triforce.lua +%%DATADIR%%/resources/level-run/world.svg +%%DATADIR%%/resources/level-sea/level.xml +%%DATADIR%%/resources/level-sea/star.lua +%%DATADIR%%/resources/level-sea/world.svg +%%DATADIR%%/resources/modules/common.lua +%%DATADIR%%/resources/modules/effects.lua +%%DATADIR%%/resources/modules/events.lua +%%DATADIR%%/resources/modules/jlib.lua +%%DATADIR%%/resources/mouse/mouse.ogg +%%DATADIR%%/resources/mouse/mouse.xml +%%DATADIR%%/resources/mouse/walking-01.svg +%%DATADIR%%/resources/mouse/walking-02.svg +%%DATADIR%%/resources/music/city.ogg +%%DATADIR%%/resources/music/contact.ogg +%%DATADIR%%/resources/music/end.ogg +%%DATADIR%%/resources/music/four.ogg +%%DATADIR%%/resources/music/intro.ogg +%%DATADIR%%/resources/music/knife.ogg +%%DATADIR%%/resources/music/nostalgia.ogg +%%DATADIR%%/resources/music/planet.ogg +%%DATADIR%%/resources/music/run.ogg +%%DATADIR%%/resources/music/sea.ogg +%%DATADIR%%/resources/pacman/pacman.ogg +%%DATADIR%%/resources/pacman/pacman.xml +%%DATADIR%%/resources/pacman/walking-01.svg +%%DATADIR%%/resources/pacman/walking-02.svg +%%DATADIR%%/resources/plant/plant.xml +%%DATADIR%%/resources/plant/walking-01.svg +%%DATADIR%%/resources/plant/walking-02.svg +%%DATADIR%%/resources/player/camera.xml +%%DATADIR%%/resources/player/clock-sprite.xml +%%DATADIR%%/resources/player/die.ogg +%%DATADIR%%/resources/player/falling-01.svg +%%DATADIR%%/resources/player/falling-clock-01.svg +%%DATADIR%%/resources/player/falling-grenade-01.svg +%%DATADIR%%/resources/player/falling-hat-01.svg +%%DATADIR%%/resources/player/falling-knife-01.svg +%%DATADIR%%/resources/player/grenade-sprite.xml +%%DATADIR%%/resources/player/hat-sprite.xml +%%DATADIR%%/resources/player/knife-sprite.xml +%%DATADIR%%/resources/player/player.xml +%%DATADIR%%/resources/player/regular-sprite.xml +%%DATADIR%%/resources/player/script.lua +%%DATADIR%%/resources/player/walking-01.svg +%%DATADIR%%/resources/player/walking-02.svg +%%DATADIR%%/resources/player/walking-clock-01.svg +%%DATADIR%%/resources/player/walking-clock-02.svg +%%DATADIR%%/resources/player/walking-grenade-01.svg +%%DATADIR%%/resources/player/walking-grenade-02.svg +%%DATADIR%%/resources/player/walking-hat-01.svg +%%DATADIR%%/resources/player/walking-hat-02.svg +%%DATADIR%%/resources/player/walking-knife-01.svg +%%DATADIR%%/resources/player/walking-knife-02.svg +%%DATADIR%%/resources/spider/spider.ogg +%%DATADIR%%/resources/spider/spider.xml +%%DATADIR%%/resources/spider/walking-01.svg +%%DATADIR%%/resources/spider/walking-02.svg +%%DATADIR%%/resources/spikey-ball/ball-script.lua +%%DATADIR%%/resources/spikey-ball/ball.svg +%%DATADIR%%/resources/spikey-ball/ball.xml +%%DATADIR%%/resources/spikey-ball/cable-script.lua +%%DATADIR%%/resources/spikey-ball/cable.svg +%%DATADIR%%/resources/spikey-ball/cable.xml +%%DATADIR%%/resources/velociraptor/velociraptor.ogg +%%DATADIR%%/resources/velociraptor/velociraptor.xml +%%DATADIR%%/resources/velociraptor/walking-01.svg +%%DATADIR%%/resources/velociraptor/walking-02.svg +@dirrm %%DATADIR%%/resources/velociraptor +@dirrm %%DATADIR%%/resources/spikey-ball +@dirrm %%DATADIR%%/resources/spider +@dirrm %%DATADIR%%/resources/player +@dirrm %%DATADIR%%/resources/plant +@dirrm %%DATADIR%%/resources/pacman +@dirrm %%DATADIR%%/resources/music +@dirrm %%DATADIR%%/resources/mouse +@dirrm %%DATADIR%%/resources/modules +@dirrm %%DATADIR%%/resources/level-sea +@dirrm %%DATADIR%%/resources/level-run +@dirrm %%DATADIR%%/resources/level-planet +@dirrm %%DATADIR%%/resources/level-nostalgia +@dirrm %%DATADIR%%/resources/level-main-menu +@dirrm %%DATADIR%%/resources/level-knife +@dirrm %%DATADIR%%/resources/level-intro +@dirrm %%DATADIR%%/resources/level-four +@dirrm %%DATADIR%%/resources/level-end +@dirrm %%DATADIR%%/resources/level-credits +@dirrm %%DATADIR%%/resources/level-contact +@dirrm %%DATADIR%%/resources/level-city +@dirrm %%DATADIR%%/resources/knife +@dirrm %%DATADIR%%/resources/helidude +@dirrm %%DATADIR%%/resources/hedgehog +@dirrm %%DATADIR%%/resources/hat +@dirrm %%DATADIR%%/resources/grenade +@dirrm %%DATADIR%%/resources/effects +@dirrm %%DATADIR%%/resources/common-scripts +@dirrm %%DATADIR%%/resources/clock +@dirrm %%DATADIR%%/resources +@dirrm %%DATADIR%% |