diff options
-rw-r--r-- | games/foobillard/Makefile | 17 | ||||
-rw-r--r-- | games/foobillard/pkg-plist | 66 |
2 files changed, 36 insertions, 47 deletions
diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile index 622513383939..29a321db3f1e 100644 --- a/games/foobillard/Makefile +++ b/games/foobillard/Makefile @@ -17,6 +17,9 @@ COMMENT= A free OpenGL-billard game LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ freetype.9:${PORTSDIR}/print/freetype2 +OPTIONS= SDL "Use SDL instead of glut" off \ + NVIDIA_BUMPREF "Enable NVidia extensions" off + .include <bsd.port.pre.mk> FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config @@ -43,20 +46,6 @@ CONFIGURE_ARGS+= --disable-nvidia MAN6= foobillard.6 -pre-everything:: -.if !defined(WITH_SDL) || !defined(WITH_NVIDIA_BUMPREF) - @${ECHO_MSG} "You may specify the following on the command line:" - @${ECHO_MSG} "" -.endif - -.if !defined(WITH_SDL) - @${ECHO_MSG} "WITH_SDL=yes to use SDL-lib instead of glut" -.endif - -.if !defined(WITH_NVIDIA_BUMPREF) - @${ECHO_MSG} "WITH_NVIDIA_BUMPREF=yes to enable NV-extensions" -.endif - post-patch: @${REINPLACE_CMD} -e 's|%%FREETYPE_CONFIG%%|${FREETYPE_CONFIG}|g' \ ${WRKSRC}/src/Makefile.in diff --git a/games/foobillard/pkg-plist b/games/foobillard/pkg-plist index 5bf05545cc90..e33d1911ee8b 100644 --- a/games/foobillard/pkg-plist +++ b/games/foobillard/pkg-plist @@ -1,34 +1,34 @@ bin/foobillard -share/foobillard/ball_ball.raw -share/foobillard/blende.png -share/foobillard/bluebold.ttf -share/foobillard/bumpref.png -share/foobillard/cloth.png -share/foobillard/cue_shadow.png -share/foobillard/foobillard.gif -share/foobillard/foobillard.png -share/foobillard/full_symbol.png -share/foobillard/fullhalf_symbol.png -share/foobillard/half_symbol.png -share/foobillard/iomanoid.ttf -share/foobillard/lightflare.png -share/foobillard/negx.png -share/foobillard/negy.png -share/foobillard/negz.png -share/foobillard/place_cue_ball.png -share/foobillard/posx.png -share/foobillard/posy.png -share/foobillard/posz.png -share/foobillard/queue.png -share/foobillard/queue_shadow.png -share/foobillard/shadow2.png -share/foobillard/shadow3.png -share/foobillard/shadow_alpha.png -share/foobillard/sphere_map_128x128.png -share/foobillard/sphere_map_128x128_light.png -share/foobillard/sphere_map_64x64.png -share/foobillard/table-frame.png -share/foobillard/tabletex_fB_128x128.png -share/foobillard/tabletex_fB_256x256.png -share/foobillard/youregon.ttf -@dirrm share/foobillard +%%DATADIR%%/ball_ball.raw +%%DATADIR%%/blende.png +%%DATADIR%%/bluebold.ttf +%%DATADIR%%/bumpref.png +%%DATADIR%%/cloth.png +%%DATADIR%%/cue_shadow.png +%%DATADIR%%/foobillard.gif +%%DATADIR%%/foobillard.png +%%DATADIR%%/full_symbol.png +%%DATADIR%%/fullhalf_symbol.png +%%DATADIR%%/half_symbol.png +%%DATADIR%%/iomanoid.ttf +%%DATADIR%%/lightflare.png +%%DATADIR%%/negx.png +%%DATADIR%%/negy.png +%%DATADIR%%/negz.png +%%DATADIR%%/place_cue_ball.png +%%DATADIR%%/posx.png +%%DATADIR%%/posy.png +%%DATADIR%%/posz.png +%%DATADIR%%/queue.png +%%DATADIR%%/queue_shadow.png +%%DATADIR%%/shadow2.png +%%DATADIR%%/shadow3.png +%%DATADIR%%/shadow_alpha.png +%%DATADIR%%/sphere_map_128x128.png +%%DATADIR%%/sphere_map_128x128_light.png +%%DATADIR%%/sphere_map_64x64.png +%%DATADIR%%/table-frame.png +%%DATADIR%%/tabletex_fB_128x128.png +%%DATADIR%%/tabletex_fB_256x256.png +%%DATADIR%%/youregon.ttf +@dirrm %%DATADIR%% |