diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-09-23 21:26:43 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-09-23 21:26:43 +0800 |
commit | f19b8a8b4b34d47f7214c99a47ad72b2f722301c (patch) | |
tree | 37b6b4a6e9ab24ff75beaafbe00d6e70f27ca1c2 /games/allacrost | |
parent | b820f9400ca8f5925d7254c4682f7c80c8a54b6e (diff) | |
download | freebsd-ports-gnome-f19b8a8b4b34d47f7214c99a47ad72b2f722301c.tar.gz freebsd-ports-gnome-f19b8a8b4b34d47f7214c99a47ad72b2f722301c.tar.zst freebsd-ports-gnome-f19b8a8b4b34d47f7214c99a47ad72b2f722301c.zip |
- Update to 0.2.2
- Support editor (optionally)
Diffstat (limited to 'games/allacrost')
-rw-r--r-- | games/allacrost/Makefile | 33 | ||||
-rw-r--r-- | games/allacrost/distinfo | 6 | ||||
-rw-r--r-- | games/allacrost/pkg-plist | 36 |
3 files changed, 69 insertions, 6 deletions
diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile index a98c55c01740..04263d5e7236 100644 --- a/games/allacrost/Makefile +++ b/games/allacrost/Makefile @@ -6,8 +6,7 @@ # PORTNAME= allacrost -PORTVERSION= 0.2.1 -PORTREVISION= 1 +PORTVERSION= 0.2.2 CATEGORIES= games MASTER_SITES= SF DISTNAME= allacrost_demo_source_${PORTVERSION} @@ -28,20 +27,48 @@ USE_LUA= 5.0 USE_SDL= sdl ttf net USE_GL= yes USE_GCC= 4.2+ +USE_GETTEXT= yes CONFIGURE_ARGS= --datadir=${DATADIR} CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${LUA_LIBDIR}" \ CPPFLAGS="-I${LOCALBASE}/include -I${LUA_INCDIR}" +USE_QT_VER= 4 +QT_COMPONENTS= # none by default +QT_NONSTANDARD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= MANUAL +OPTIONS= EDITOR "Enable editor" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_EDITOR) +QT_COMPONENTS+= corelib gui opengl moc_build qt3support +CONFIGURE_ARGS+=--enable-editor=yes +PLIST_SUB= EDITOR="" +.else +CONFIGURE_ARGS+=--enable-editor=no +PLIST_SUB= EDITOR="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|-I/usr/include/|-I${LOCALBASE}/include/|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|exit -1|exit 1|; /CXXFLAGS=/ d; \ s|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/^LIBS =/ s|$$| @INTLLIBS@|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^bindir = / s|games|bin|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/qt4_incdirs/ s|".*"|"${QT_INCDIR}"|; \ + /qt4_libdirs/ s|".*"|"${QT_LIBDIR}"|; /test/ s|==|=|' \ + ${WRKSRC}/configure +.if defined(WITH_EDITOR) + @${REINPLACE_CMD} -e '/^INCLUDES = / s|=|= -I${QT_INCDIR}/QtGui \ + -I${QT_INCDIR}/QtOpenGL -I${QT_INCDIR}/Qt3Support \ + -I${QT_INCDIR}/QtCore -I${QT_INCDIR}|' \ + ${WRKSRC}/Makefile.in +.endif post-install: .if !defined(NOPORTDOCS) @@ -52,4 +79,4 @@ post-install: .endif @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/allacrost/distinfo b/games/allacrost/distinfo index d9d1d74d15a4..7d458149a4fa 100644 --- a/games/allacrost/distinfo +++ b/games/allacrost/distinfo @@ -1,3 +1,3 @@ -MD5 (allacrost_demo_source_0.2.1.tar.gz) = 305b27f323e3ca86c68135749f84bc70 -SHA256 (allacrost_demo_source_0.2.1.tar.gz) = 0cfd62395f7e696f95c8f74c195344276e62e99f785f9d2002770fabbae121fb -SIZE (allacrost_demo_source_0.2.1.tar.gz) = 40634200 +MD5 (allacrost_demo_source_0.2.2.tar.gz) = ca3f5eee544cf6530d1cfc159cddb848 +SHA256 (allacrost_demo_source_0.2.2.tar.gz) = 10adf0fb191f4b938c99e8241d379d601348821eb5d1526d42317dbd7d0b8e56 +SIZE (allacrost_demo_source_0.2.2.tar.gz) = 41502484 diff --git a/games/allacrost/pkg-plist b/games/allacrost/pkg-plist index 3baabb38d87a..eb011af946de 100644 --- a/games/allacrost/pkg-plist +++ b/games/allacrost/pkg-plist @@ -1,4 +1,5 @@ bin/allacrost +%%EDITOR%%bin/allacrost-editor %%DATADIR%%/allacrost/dat/actors/characters.lua %%DATADIR%%/allacrost/dat/actors/enemies_set_01.lua %%DATADIR%%/allacrost/dat/actors/enemies_set_02.lua @@ -6,6 +7,8 @@ bin/allacrost %%DATADIR%%/allacrost/dat/config/restore_settings.lua %%DATADIR%%/allacrost/dat/config/settings.lua %%DATADIR%%/allacrost/dat/credits.lua +%%DATADIR%%/allacrost/dat/effects/status.lua +%%DATADIR%%/allacrost/dat/global.lua %%DATADIR%%/allacrost/dat/maps/demo_cave.lua %%DATADIR%%/allacrost/dat/maps/demo_town.lua %%DATADIR%%/allacrost/dat/objects/arm_armor.lua @@ -27,6 +30,7 @@ bin/allacrost %%DATADIR%%/allacrost/dat/tilesets/mountain_house_exterior2.lua %%DATADIR%%/allacrost/dat/tilesets/mountain_house_interior.lua %%DATADIR%%/allacrost/dat/tilesets/mountain_landscape.lua +%%DATADIR%%/allacrost/doc/allacrost.dox %%DATADIR%%/allacrost/img/backdrops/battle/desert_cave.png %%DATADIR%%/allacrost/img/backdrops/battle/desert_cave_anim.png %%DATADIR%%/allacrost/img/backdrops/battle/mountain_village.png @@ -37,7 +41,9 @@ bin/allacrost %%DATADIR%%/allacrost/img/fonts/tarnhalo.ttf %%DATADIR%%/allacrost/img/fonts/vtc_switchblade_romance.ttf %%DATADIR%%/allacrost/img/icons/actors/characters/claudius.png +%%DATADIR%%/allacrost/img/icons/actors/characters/claudius_bw.png %%DATADIR%%/allacrost/img/icons/actors/characters/laila.png +%%DATADIR%%/allacrost/img/icons/actors/characters/laila_bw.png %%DATADIR%%/allacrost/img/icons/actors/enemies/aerocephal.png %%DATADIR%%/allacrost/img/icons/actors/enemies/arcana_drake.png %%DATADIR%%/allacrost/img/icons/actors/enemies/aurum-drakueli.png @@ -95,6 +101,7 @@ bin/allacrost %%DATADIR%%/allacrost/img/menus/dialogue_nameplate.png %%DATADIR%%/allacrost/img/menus/locations/desert_cave.png %%DATADIR%%/allacrost/img/menus/locations/mountain_village.png +%%DATADIR%%/allacrost/img/menus/scroll_cursors.png %%DATADIR%%/allacrost/img/menus/stamina_bar.png %%DATADIR%%/allacrost/img/menus/stamina_icon.png %%DATADIR%%/allacrost/img/menus/stamina_icon_selected.png @@ -102,6 +109,9 @@ bin/allacrost %%DATADIR%%/allacrost/img/misc/category_icons.png %%DATADIR%%/allacrost/img/misc/chest1.png %%DATADIR%%/allacrost/img/misc/dialogue_icon.png +%%DATADIR%%/allacrost/img/misc/editor-tools/arrow-left.png +%%DATADIR%%/allacrost/img/misc/editor-tools/arrow-right.png +%%DATADIR%%/allacrost/img/misc/editor-tools/stock-tool-arrow.png %%DATADIR%%/allacrost/img/misc/editor-tools/stock-tool-bucket-fill-22.png %%DATADIR%%/allacrost/img/misc/editor-tools/stock-tool-color-picker-22.png %%DATADIR%%/allacrost/img/misc/editor-tools/stock-tool-eraser-22.png @@ -112,9 +122,11 @@ bin/allacrost %%DATADIR%%/allacrost/img/misc/torch_light_mask.png %%DATADIR%%/allacrost/img/portraits/battle/claudius_damage.png %%DATADIR%%/allacrost/img/portraits/battle/laila_damage.png +%%DATADIR%%/allacrost/img/portraits/battle/rafaela_damage.png %%DATADIR%%/allacrost/img/portraits/map/claudius.png %%DATADIR%%/allacrost/img/portraits/map/laila.png %%DATADIR%%/allacrost/img/portraits/map/marcus.png +%%DATADIR%%/allacrost/img/portraits/map/rafaela.png %%DATADIR%%/allacrost/img/portraits/map/vanica.png %%DATADIR%%/allacrost/img/portraits/menu/claudius.png %%DATADIR%%/allacrost/img/portraits/menu/claudius_large.png @@ -123,6 +135,9 @@ bin/allacrost %%DATADIR%%/allacrost/img/portraits/menu/laila_large.png %%DATADIR%%/allacrost/img/portraits/menu/laila_small.png %%DATADIR%%/allacrost/img/portraits/menu/marcus_small.png +%%DATADIR%%/allacrost/img/portraits/menu/rafaela.png +%%DATADIR%%/allacrost/img/portraits/menu/rafaela_large.png +%%DATADIR%%/allacrost/img/portraits/menu/rafaela_small.png %%DATADIR%%/allacrost/img/portraits/menu/vanica_small.png %%DATADIR%%/allacrost/img/sprites/battle/characters/claudius_idle.png %%DATADIR%%/allacrost/img/sprites/battle/characters/laila_idle.png @@ -151,6 +166,8 @@ bin/allacrost %%DATADIR%%/allacrost/img/sprites/map/marcus_walk.png %%DATADIR%%/allacrost/img/sprites/map/naga_walk.png %%DATADIR%%/allacrost/img/sprites/map/old_woman_npc01_walk.png +%%DATADIR%%/allacrost/img/sprites/map/rafaela_run.png +%%DATADIR%%/allacrost/img/sprites/map/rafaela_walk.png %%DATADIR%%/allacrost/img/sprites/map/scorpion_walk.png %%DATADIR%%/allacrost/img/sprites/map/slime_walk.png %%DATADIR%%/allacrost/img/sprites/map/snake_walk.png @@ -181,6 +198,7 @@ bin/allacrost %%DATADIR%%/allacrost/snd/battle_encounter_03.ogg %%DATADIR%%/allacrost/snd/bump.wav %%DATADIR%%/allacrost/snd/cancel.wav +%%DATADIR%%/allacrost/snd/cave-in.ogg %%DATADIR%%/allacrost/snd/chestclose1.wav %%DATADIR%%/allacrost/snd/chestclose2.wav %%DATADIR%%/allacrost/snd/chestclose3.wav @@ -214,6 +232,22 @@ bin/allacrost %%DATADIR%%/allacrost/snd/swordslice2.wav %%DATADIR%%/allacrost/snd/swordslice3.wav %%DATADIR%%/allacrost/snd/volume_test.wav +%%DATADIR%%/allacrost/txt/Makefile +%%DATADIR%%/allacrost/txt/Makefile.in +%%DATADIR%%/allacrost/txt/Makefile.in.in +%%DATADIR%%/allacrost/txt/Makevars +%%DATADIR%%/allacrost/txt/POTFILES +%%DATADIR%%/allacrost/txt/POTFILES.in +%%DATADIR%%/allacrost/txt/Rules-quot +%%DATADIR%%/allacrost/txt/allacrost.pot +%%DATADIR%%/allacrost/txt/boldquot.sed +%%DATADIR%%/allacrost/txt/en@boldquot.header +%%DATADIR%%/allacrost/txt/en@quot.header +%%DATADIR%%/allacrost/txt/insert-header.sin +%%DATADIR%%/allacrost/txt/quot.sed +%%DATADIR%%/allacrost/txt/remove-potcdate.sin +%%DATADIR%%/allacrost/txt/stamp-po +@dirrm %%DATADIR%%/allacrost/txt @dirrm %%DATADIR%%/allacrost/snd @dirrm %%DATADIR%%/allacrost/mus @dirrm %%DATADIR%%/allacrost/img/tilesets @@ -244,10 +278,12 @@ bin/allacrost @dirrm %%DATADIR%%/allacrost/img/backdrops/battle @dirrm %%DATADIR%%/allacrost/img/backdrops @dirrm %%DATADIR%%/allacrost/img +@dirrm %%DATADIR%%/allacrost/doc @dirrm %%DATADIR%%/allacrost/dat/tilesets @dirrm %%DATADIR%%/allacrost/dat/skills @dirrm %%DATADIR%%/allacrost/dat/objects @dirrm %%DATADIR%%/allacrost/dat/maps +@dirrm %%DATADIR%%/allacrost/dat/effects @dirrm %%DATADIR%%/allacrost/dat/config @dirrm %%DATADIR%%/allacrost/dat/actors @dirrm %%DATADIR%%/allacrost/dat |