diff --git a/games/xpilot-ng-server/Makefile b/games/xpilot-ng-server/Makefile index 7f3be3677c6b..7df55a8388f6 100644 --- a/games/xpilot-ng-server/Makefile +++ b/games/xpilot-ng-server/Makefile @@ -1,87 +1,88 @@ PORTNAME= xpilot-ng PORTVERSION= 4.7.3 -PORTREVISION?= 5 +PORTREVISION?= 6 CATEGORIES= games MASTER_SITES= SF/xpilot/xpilot_ng/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX?= -server MAINTAINER= ports@FreeBSD.org COMMENT?= Enhanced version of XPilot (server program) WWW= https://xpilot.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include -Wno-return-type LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --program-prefix="" PKGFILESUFFIX= ${PKGNAMESUFFIX:S/-/./} DESCR= ${PKGDIR}/pkg-descr${PKGFILESUFFIX} PLIST= ${PKGDIR}/pkg-plist${PKGFILESUFFIX} .if ${PKGNAMESUFFIX} == "-server" CONFIGURE_ARGS+=--disable-replay \ --disable-xp-mapedit \ --disable-x11-client \ --disable-sdl-client .else # client CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -I${LOCALBASE}/include DESKTOP_ENTRIES= "Xpilot-ng X11" "Xpilot game client program" \ "" "xpilot-ng-x11" "Game;ArcadeGame;" false \ "Xpilot-ng Map Editor" "Xpilot Map Editor" \ "" "xpilot-ng-xp-mapedit" "Game;ArcadeGame;" false OPTIONS_DEFINE= SDL SOUND OPTIONS_DEFAULT= SDL OPTIONS_SUB= yes SOUND_DESC= Enable sound support SOUND_CONFIGURE_ENABLE= sound SOUND_USES= openal:al,alut SDL_CONFIGURE_ENABLE= sdl-client SDL_USE= SDL=image,sdl,ttf GL=gl SDL_USES= gl sdl .endif .include .if ${PKGNAMESUFFIX} == "-server" post-patch: @${REINPLACE_CMD} -e \ 's|xpilot-ng-sdl\.man||; \ s|xpilot-ng-x11\.man||; \ s|xpilot-ng-replay\.man||; \ s|xpilot-ng-xp-mapedit\.man||' ${WRKSRC}/doc/man/Makefile.in @${REINPLACE_CMD} -e \ 's| fonts||; s| textures||; s| shipshapes\.txt||' \ ${WRKSRC}/lib/Makefile.in .else # client .if ${PORT_OPTIONS:MSDL} DESKTOP_ENTRIES+= "Xpilot-ng SDL" "Xpilot game client program" \ "" "xpilot-ng-sdl" "Game;ArcadeGame;" false .endif post-patch: @${REINPLACE_CMD} -e 's|mapconvert\.py||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|xpilot-ng-server\.man||' \ ${WRKSRC}/doc/man/Makefile.in @${REINPLACE_CMD} -e \ 's| maps||; s|defaults\.txt password\.txt robots\.txt||' \ ${WRKSRC}/lib/Makefile.in @${REINPLACE_CMD} -e 's| server||' ${WRKSRC}/src/Makefile.in .if empty(PORT_OPTIONS:MSDL) @${REINPLACE_CMD} -e 's|xpilot-ng-sdl\.man||' \ ${WRKSRC}/doc/man/Makefile.in .endif .endif .include diff --git a/games/xpilot-ng-server/pkg-plist.client b/games/xpilot-ng-server/pkg-plist.client index 635fb5ae62dc..612000aa1e30 100644 --- a/games/xpilot-ng-server/pkg-plist.client +++ b/games/xpilot-ng-server/pkg-plist.client @@ -1,110 +1,110 @@ bin/xpilot-ng-replay %%SDL%%bin/xpilot-ng-sdl bin/xpilot-ng-x11 bin/xpilot-ng-xp-mapedit -man/man6/xpilot-ng-replay.6.gz -%%SDL%%man/man6/xpilot-ng-sdl.6.gz -man/man6/xpilot-ng-x11.6.gz -man/man6/xpilot-ng-xp-mapedit.6.gz +share/man/man6/xpilot-ng-replay.6.gz +%%SDL%%share/man/man6/xpilot-ng-sdl.6.gz +share/man/man6/xpilot-ng-x11.6.gz +share/man/man6/xpilot-ng-xp-mapedit.6.gz share/xpilot-ng/fonts/ConsoleFont.bmp share/xpilot-ng/fonts/FreeSansBoldOblique.ttf share/xpilot-ng/fonts/VeraMoBd.ttf share/xpilot-ng/shipshapes.txt %%SOUND%%share/xpilot-ng/sound/Drop01.wav %%SOUND%%share/xpilot-ng/sound/MusicaDefault.wav %%SOUND%%share/xpilot-ng/sound/RobotzDefault.wav %%SOUND%%share/xpilot-ng/sound/RobotzQuestion.wav %%SOUND%%share/xpilot-ng/sound/UtopiaClose.wav %%SOUND%%share/xpilot-ng/sound/bfire.wav %%SOUND%%share/xpilot-ng/sound/bloop.wav %%SOUND%%share/xpilot-ng/sound/buzzer.wav %%SOUND%%share/xpilot-ng/sound/confirm.wav %%SOUND%%share/xpilot-ng/sound/corkpop.wav %%SOUND%%share/xpilot-ng/sound/done.wav %%SOUND%%share/xpilot-ng/sound/doorchimes.wav %%SOUND%%share/xpilot-ng/sound/explo2.wav %%SOUND%%share/xpilot-ng/sound/failure.wav %%SOUND%%share/xpilot-ng/sound/finished.wav %%SOUND%%share/xpilot-ng/sound/flare.wav %%SOUND%%share/xpilot-ng/sound/gundead.wav %%SOUND%%share/xpilot-ng/sound/launch1.18.wav %%SOUND%%share/xpilot-ng/sound/lboom.wav %%SOUND%%share/xpilot-ng/sound/magic.wav %%SOUND%%share/xpilot-ng/sound/popclick.wav %%SOUND%%share/xpilot-ng/sound/sboom.wav %%SOUND%%share/xpilot-ng/sound/sbounce.wav %%SOUND%%share/xpilot-ng/sound/sounds.txt %%SOUND%%share/xpilot-ng/sound/sstart.wav %%SOUND%%share/xpilot-ng/sound/success.wav %%SOUND%%share/xpilot-ng/sound/thrust.wav %%SOUND%%share/xpilot-ng/sound/waiting.wav %%SOUND%%share/xpilot-ng/sound/zap.wav share/xpilot-ng/textures/acwise_grav.ppm share/xpilot-ng/textures/allitems.ppm share/xpilot-ng/textures/asteroid.ppm share/xpilot-ng/textures/asteroidconcentrator.ppm share/xpilot-ng/textures/ball.ppm share/xpilot-ng/textures/ball_gray.ppm share/xpilot-ng/textures/ball_gray16.ppm share/xpilot-ng/textures/base_down.ppm share/xpilot-ng/textures/base_left.ppm share/xpilot-ng/textures/base_right.ppm share/xpilot-ng/textures/base_up.ppm share/xpilot-ng/textures/bullet.ppm share/xpilot-ng/textures/bullet2.ppm share/xpilot-ng/textures/bullet_blue.ppm share/xpilot-ng/textures/bullet_green.ppm share/xpilot-ng/textures/cannon_down.ppm share/xpilot-ng/textures/cannon_left.ppm share/xpilot-ng/textures/cannon_right.ppm share/xpilot-ng/textures/cannon_up.ppm share/xpilot-ng/textures/checkpoint.ppm share/xpilot-ng/textures/clouds.ppm share/xpilot-ng/textures/concentrator.ppm share/xpilot-ng/textures/cwise_grav.ppm share/xpilot-ng/textures/fuel2.ppm share/xpilot-ng/textures/fuelcell.ppm share/xpilot-ng/textures/holder1.ppm share/xpilot-ng/textures/holder2.ppm share/xpilot-ng/textures/huditems.ppm share/xpilot-ng/textures/logo.ppm share/xpilot-ng/textures/metabtndown.png share/xpilot-ng/textures/metabtnup.png share/xpilot-ng/textures/metalite.ppm share/xpilot-ng/textures/meter.ppm share/xpilot-ng/textures/mine_other.ppm share/xpilot-ng/textures/mine_team.ppm share/xpilot-ng/textures/minus.ppm share/xpilot-ng/textures/missile.ppm share/xpilot-ng/textures/moon.ppm share/xpilot-ng/textures/paused.ppm share/xpilot-ng/textures/plus.ppm share/xpilot-ng/textures/radar.ppm share/xpilot-ng/textures/radar2.ppm share/xpilot-ng/textures/radar3.ppm share/xpilot-ng/textures/refuel.ppm share/xpilot-ng/textures/rock4.ppm share/xpilot-ng/textures/sdlmetabg.png share/xpilot-ng/textures/shield.ppm share/xpilot-ng/textures/ship.ppm share/xpilot-ng/textures/ship_blue.ppm share/xpilot-ng/textures/ship_enemy.ppm share/xpilot-ng/textures/ship_friend.ppm share/xpilot-ng/textures/ship_red.ppm share/xpilot-ng/textures/ship_red2.ppm share/xpilot-ng/textures/ship_red3.ppm share/xpilot-ng/textures/sparks.ppm share/xpilot-ng/textures/target.ppm share/xpilot-ng/textures/volcanic.ppm share/xpilot-ng/textures/wall_bottom.ppm share/xpilot-ng/textures/wall_dl.ppm share/xpilot-ng/textures/wall_dr.ppm share/xpilot-ng/textures/wall_fi.ppm share/xpilot-ng/textures/wall_left.ppm share/xpilot-ng/textures/wall_right.ppm share/xpilot-ng/textures/wall_top.ppm share/xpilot-ng/textures/wall_ul.ppm share/xpilot-ng/textures/wall_ull.ppm share/xpilot-ng/textures/wall_ur.ppm share/xpilot-ng/textures/wall_url.ppm share/xpilot-ng/textures/wormhole.ppm diff --git a/games/xpilot-ng-server/pkg-plist.server b/games/xpilot-ng-server/pkg-plist.server index 0dfd84bc4a01..6371bc9aea3c 100644 --- a/games/xpilot-ng-server/pkg-plist.server +++ b/games/xpilot-ng-server/pkg-plist.server @@ -1,18 +1,18 @@ bin/xpilot-ng-server -man/man6/xpilot-ng-server.6.gz +share/man/man6/xpilot-ng-server.6.gz share/xpilot-ng/defaults.txt share/xpilot-ng/mapconvert.py share/xpilot-ng/maps/blood-music.xp2 share/xpilot-ng/maps/circle2.xp2 share/xpilot-ng/maps/dodgers-legacy.xp2 share/xpilot-ng/maps/dodgers-robots.xp2 share/xpilot-ng/maps/dragon-1.0.xp2 share/xpilot-ng/maps/ndh.xp2 share/xpilot-ng/maps/ndh.xpd share/xpilot-ng/maps/polybloods.xp2 share/xpilot-ng/maps/sadistic_bastard_v2.xp2 share/xpilot-ng/maps/spaceball.xp2 share/xpilot-ng/maps/teamcup.xp share/xpilot-ng/maps/tourmination.xp2 share/xpilot-ng/password.txt share/xpilot-ng/robots.txt