Index: head/games/lgeneral/Makefile =================================================================== --- head/games/lgeneral/Makefile (revision 408005) +++ head/games/lgeneral/Makefile (revision 408006) @@ -1,52 +1,54 @@ # Created by: Filippo Natali # $FreeBSD$ PORTNAME= lgeneral PORTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME} \ SF/${PORTNAME}/${PORTNAME}-data:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \ pg-data${EXTRACT_SUFX}:data MAINTAINER= ports@FreeBSD.org COMMENT= Turn-based strategy engine inspired by Panzer General -LICENSE= GPLv2 +LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake +BROKEN_powerpc= does not install +BROKEN_sparc64= does not install + +USES= gmake localbase USE_CSTD= gnu89 USE_SDL= sdl GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -BROKEN_powerpc= Does not install on ${ARCH} -BROKEN_sparc64= Does not install on ${ARCH} - OPTIONS_DEFINE= DOCS NLS SOUND OPTIONS_DEFAULT= SOUND OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ENV_OFF= am_cv_func_iconv=no SOUND_USE= sdl=mixer SOUND_CONFIGURE_OFF= --disable-sound post-patch: @${REINPLACE_CMD} -e 's|/icons.*|/pixmaps|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure post-install: .for i in flags terrain units @${MKDIR} ${STAGEDIR}${DATADIR}/gfx/${i} .endfor - (${STAGEDIR}${PREFIX}/bin/lgc-pg -s ${WRKDIR}/pg-data \ - -d ${STAGEDIR}${DATADIR}) + ${SETENV} DISPLAY= \ + ${STAGEDIR}${PREFIX}/bin/lgc-pg --separate-bridges \ + -s ${WRKDIR}/pg-data \ + -d ${STAGEDIR}${DATADIR} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} README.* ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/README.* ${STAGEDIR}${DOCSDIR} .include Index: head/games/lgeneral/files/patch-util_localize.h =================================================================== --- head/games/lgeneral/files/patch-util_localize.h (nonexistent) +++ head/games/lgeneral/files/patch-util_localize.h (revision 408006) @@ -0,0 +1,14 @@ +--- util/localize.h.orig 2013-05-03 17:17:37 UTC ++++ util/localize.h +@@ -31,9 +31,10 @@ + # include + #endif + ++#ifdef ENABLE_NLS ++ + #include + +-#ifdef ENABLE_NLS + /** shorthand for fetching translation of default domain */ + # define tr(s) gettext (s) + /** shorthand for fetching translation of specified domain */ Property changes on: head/games/lgeneral/files/patch-util_localize.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/lgeneral/pkg-plist =================================================================== --- head/games/lgeneral/pkg-plist (revision 408005) +++ head/games/lgeneral/pkg-plist (revision 408006) @@ -1,219 +1,222 @@ bin/lgc-pg bin/lged bin/lgeneral bin/ltrextract bin/shptool man/man1/lgc-pg.1.gz man/man6/lgeneral.6.gz share/applications/lgeneral.desktop %%PORTDOCS%%%%DOCSDIR%%/README.lgc-pg %%PORTDOCS%%%%DOCSDIR%%/README.lgeneral %%PORTDOCS%%%%DOCSDIR%%/README.redit %%DATADIR%%/campaigns/PG %%DATADIR%%/convdata/air.wav %%DATADIR%%/convdata/air2.wav %%DATADIR%%/convdata/attack.bmp %%DATADIR%%/convdata/battle.wav %%DATADIR%%/convdata/crosshair.bmp %%DATADIR%%/convdata/damage_bars.bmp %%DATADIR%%/convdata/danger.bmp %%DATADIR%%/convdata/fog.bmp %%DATADIR%%/convdata/grid.bmp %%DATADIR%%/convdata/guard.bmp %%DATADIR%%/convdata/leg.wav %%DATADIR%%/convdata/move.bmp %%DATADIR%%/convdata/reinf %%DATADIR%%/convdata/sea.wav %%DATADIR%%/convdata/select.wav %%DATADIR%%/convdata/select_frame.bmp %%DATADIR%%/convdata/strength.bmp %%DATADIR%%/convdata/title.bmp %%DATADIR%%/convdata/tracked.wav %%DATADIR%%/convdata/wheeled.wav %%DATADIR%%/gfx/flags/pg.bmp %%DATADIR%%/gfx/font_credit.bmp %%DATADIR%%/gfx/terrain/pg/airfield.bmp %%DATADIR%%/gfx/terrain/pg/airfield_rain.bmp %%DATADIR%%/gfx/terrain/pg/airfield_snow.bmp +%%DATADIR%%/gfx/terrain/pg/bridge.bmp +%%DATADIR%%/gfx/terrain/pg/bridge_rain.bmp +%%DATADIR%%/gfx/terrain/pg/bridge_snow.bmp %%DATADIR%%/gfx/terrain/pg/clear.bmp %%DATADIR%%/gfx/terrain/pg/clear_rain.bmp %%DATADIR%%/gfx/terrain/pg/clear_snow.bmp %%DATADIR%%/gfx/terrain/pg/crosshair.bmp %%DATADIR%%/gfx/terrain/pg/damage_bars.bmp %%DATADIR%%/gfx/terrain/pg/danger.bmp %%DATADIR%%/gfx/terrain/pg/desert.bmp %%DATADIR%%/gfx/terrain/pg/desert_rain.bmp %%DATADIR%%/gfx/terrain/pg/desert_snow.bmp %%DATADIR%%/gfx/terrain/pg/explosion.bmp %%DATADIR%%/gfx/terrain/pg/fields.bmp %%DATADIR%%/gfx/terrain/pg/fields_rain.bmp %%DATADIR%%/gfx/terrain/pg/fields_snow.bmp %%DATADIR%%/gfx/terrain/pg/fog.bmp %%DATADIR%%/gfx/terrain/pg/forest.bmp %%DATADIR%%/gfx/terrain/pg/forest_rain.bmp %%DATADIR%%/gfx/terrain/pg/forest_snow.bmp %%DATADIR%%/gfx/terrain/pg/fort.bmp %%DATADIR%%/gfx/terrain/pg/fort_rain.bmp %%DATADIR%%/gfx/terrain/pg/fort_snow.bmp %%DATADIR%%/gfx/terrain/pg/grid.bmp %%DATADIR%%/gfx/terrain/pg/harbor.bmp %%DATADIR%%/gfx/terrain/pg/harbor_rain.bmp %%DATADIR%%/gfx/terrain/pg/harbor_snow.bmp %%DATADIR%%/gfx/terrain/pg/mountain.bmp %%DATADIR%%/gfx/terrain/pg/mountain_rain.bmp %%DATADIR%%/gfx/terrain/pg/mountain_snow.bmp %%DATADIR%%/gfx/terrain/pg/ocean.bmp %%DATADIR%%/gfx/terrain/pg/ocean_rain.bmp %%DATADIR%%/gfx/terrain/pg/ocean_snow.bmp %%DATADIR%%/gfx/terrain/pg/river.bmp %%DATADIR%%/gfx/terrain/pg/river_rain.bmp %%DATADIR%%/gfx/terrain/pg/river_snow.bmp %%DATADIR%%/gfx/terrain/pg/road.bmp %%DATADIR%%/gfx/terrain/pg/road_rain.bmp %%DATADIR%%/gfx/terrain/pg/road_snow.bmp %%DATADIR%%/gfx/terrain/pg/rough.bmp %%DATADIR%%/gfx/terrain/pg/rough_desert.bmp %%DATADIR%%/gfx/terrain/pg/rough_desert_rain.bmp %%DATADIR%%/gfx/terrain/pg/rough_desert_snow.bmp %%DATADIR%%/gfx/terrain/pg/rough_rain.bmp %%DATADIR%%/gfx/terrain/pg/rough_snow.bmp %%DATADIR%%/gfx/terrain/pg/select_frame.bmp %%DATADIR%%/gfx/terrain/pg/swamp.bmp %%DATADIR%%/gfx/terrain/pg/swamp_rain.bmp %%DATADIR%%/gfx/terrain/pg/swamp_snow.bmp %%DATADIR%%/gfx/terrain/pg/town.bmp %%DATADIR%%/gfx/terrain/pg/town_rain.bmp %%DATADIR%%/gfx/terrain/pg/town_snow.bmp %%DATADIR%%/gfx/title.bmp %%DATADIR%%/gfx/units/pg.bmp %%DATADIR%%/gfx/units/pg_attack.bmp %%DATADIR%%/gfx/units/pg_guard.bmp %%DATADIR%%/gfx/units/pg_move.bmp %%DATADIR%%/gfx/units/pg_strength.bmp %%DATADIR%%/maps/pg.tdb %%DATADIR%%/maps/pg/map01 %%DATADIR%%/maps/pg/map02 %%DATADIR%%/maps/pg/map03 %%DATADIR%%/maps/pg/map04 %%DATADIR%%/maps/pg/map05 %%DATADIR%%/maps/pg/map06 %%DATADIR%%/maps/pg/map07 %%DATADIR%%/maps/pg/map08 %%DATADIR%%/maps/pg/map09 %%DATADIR%%/maps/pg/map10 %%DATADIR%%/maps/pg/map11 %%DATADIR%%/maps/pg/map12 %%DATADIR%%/maps/pg/map13 %%DATADIR%%/maps/pg/map14 %%DATADIR%%/maps/pg/map15 %%DATADIR%%/maps/pg/map16 %%DATADIR%%/maps/pg/map17 %%DATADIR%%/maps/pg/map18 %%DATADIR%%/maps/pg/map19 %%DATADIR%%/maps/pg/map20 %%DATADIR%%/maps/pg/map21 %%DATADIR%%/maps/pg/map22 %%DATADIR%%/maps/pg/map23 %%DATADIR%%/maps/pg/map24 %%DATADIR%%/maps/pg/map25 %%DATADIR%%/maps/pg/map26 %%DATADIR%%/maps/pg/map27 %%DATADIR%%/maps/pg/map28 %%DATADIR%%/maps/pg/map29 %%DATADIR%%/maps/pg/map30 %%DATADIR%%/maps/pg/map31 %%DATADIR%%/maps/pg/map32 %%DATADIR%%/maps/pg/map33 %%DATADIR%%/maps/pg/map34 %%DATADIR%%/maps/pg/map35 %%DATADIR%%/maps/pg/map36 %%DATADIR%%/maps/pg/map37 %%DATADIR%%/maps/pg/map38 %%DATADIR%%/nations/pg.ndb %%DATADIR%%/scenarios/pg/.order %%DATADIR%%/scenarios/pg/Anvil %%DATADIR%%/scenarios/pg/Anzio %%DATADIR%%/scenarios/pg/Ardennes %%DATADIR%%/scenarios/pg/Balkans %%DATADIR%%/scenarios/pg/Barbarossa %%DATADIR%%/scenarios/pg/Berlin %%DATADIR%%/scenarios/pg/BerlinEast %%DATADIR%%/scenarios/pg/BerlinWest %%DATADIR%%/scenarios/pg/Budapest %%DATADIR%%/scenarios/pg/Byelorussia %%DATADIR%%/scenarios/pg/Caucasus %%DATADIR%%/scenarios/pg/Cobra %%DATADIR%%/scenarios/pg/Crete %%DATADIR%%/scenarios/pg/D-Day %%DATADIR%%/scenarios/pg/EarlyMoscow %%DATADIR%%/scenarios/pg/ElAlamein %%DATADIR%%/scenarios/pg/France %%DATADIR%%/scenarios/pg/Husky %%DATADIR%%/scenarios/pg/Kharkov %%DATADIR%%/scenarios/pg/Kiev %%DATADIR%%/scenarios/pg/Kursk %%DATADIR%%/scenarios/pg/LowCountries %%DATADIR%%/scenarios/pg/MarketGarden %%DATADIR%%/scenarios/pg/MiddleEast %%DATADIR%%/scenarios/pg/Moscow41 %%DATADIR%%/scenarios/pg/Moscow42 %%DATADIR%%/scenarios/pg/Moscow43 %%DATADIR%%/scenarios/pg/NorthAfrica %%DATADIR%%/scenarios/pg/Norway %%DATADIR%%/scenarios/pg/Poland %%DATADIR%%/scenarios/pg/Sealion40 %%DATADIR%%/scenarios/pg/Sealion43 %%DATADIR%%/scenarios/pg/SealionPlus %%DATADIR%%/scenarios/pg/Sevastapol %%DATADIR%%/scenarios/pg/Stalingrad %%DATADIR%%/scenarios/pg/Torch %%DATADIR%%/scenarios/pg/Warsaw %%DATADIR%%/scenarios/pg/Washington %%DATADIR%%/sounds/pg/air.wav %%DATADIR%%/sounds/pg/air2.wav %%DATADIR%%/sounds/pg/explosion.wav %%DATADIR%%/sounds/pg/leg.wav %%DATADIR%%/sounds/pg/sea.wav %%DATADIR%%/sounds/pg/select.wav %%DATADIR%%/sounds/pg/tracked.wav %%DATADIR%%/sounds/pg/wheeled.wav %%DATADIR%%/themes/default/bkgnd.bmp %%DATADIR%%/themes/default/brief_frame.bmp %%DATADIR%%/themes/default/click.wav %%DATADIR%%/themes/default/confirm_buttons.bmp %%DATADIR%%/themes/default/ctrl_buttons.bmp %%DATADIR%%/themes/default/cursors.bmp %%DATADIR%%/themes/default/deploy_buttons.bmp %%DATADIR%%/themes/default/edit.wav %%DATADIR%%/themes/default/folder.bmp %%DATADIR%%/themes/default/font_brief.bmp %%DATADIR%%/themes/default/font_error.bmp %%DATADIR%%/themes/default/font_status.bmp %%DATADIR%%/themes/default/font_std.bmp %%DATADIR%%/themes/default/font_turn_info.bmp %%DATADIR%%/themes/default/fr_hori.bmp %%DATADIR%%/themes/default/fr_llc.bmp %%DATADIR%%/themes/default/fr_luc.bmp %%DATADIR%%/themes/default/fr_rlc.bmp %%DATADIR%%/themes/default/fr_ruc.bmp %%DATADIR%%/themes/default/fr_vert.bmp %%DATADIR%%/themes/default/menu0_buttons.bmp %%DATADIR%%/themes/default/menu1_buttons.bmp %%DATADIR%%/themes/default/menu2_buttons.bmp %%DATADIR%%/themes/default/menu3_buttons.bmp %%DATADIR%%/themes/default/module_buttons.bmp %%DATADIR%%/themes/default/scen_dlg_buttons.bmp %%DATADIR%%/themes/default/scroll_buttons.bmp %%DATADIR%%/themes/default/setup_confirm_buttons.bmp %%DATADIR%%/themes/default/strength_buttons.bmp %%DATADIR%%/themes/default/unit_buttons.bmp %%DATADIR%%/themes/default/wallpaper.bmp %%DATADIR%%/units/pg.udb %%NLS%%share/locale/de/LC_MESSAGES/lgeneral.mo %%NLS%%share/locale/de/LC_MESSAGES/pg.mo %%NLS%%share/locale/en/LC_MESSAGES/lgeneral.mo %%NLS%%share/locale/en/LC_MESSAGES/pg.mo share/pixmaps/lgeneral.png @dir %%DATADIR%%/terrain @dir %%DATADIR%%/music @dir %%DATADIR%%/ai_modules