diff options
Diffstat (limited to '')
-rw-r--r-- | games/trackballs/Makefile | 37 | ||||
-rw-r--r-- | games/trackballs/files/patch-share-icons-Makefile.in | 29 | ||||
-rw-r--r-- | games/trackballs/pkg-descr | 23 | ||||
-rw-r--r-- | games/trackballs/pkg-plist | 1 |
4 files changed, 45 insertions, 45 deletions
diff --git a/games/trackballs/Makefile b/games/trackballs/Makefile index a3a637a56ead..cdcb9aab482c 100644 --- a/games/trackballs/Makefile +++ b/games/trackballs/Makefile @@ -3,7 +3,7 @@ PORTNAME= trackballs PORTVERSION= 1.1.4 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= games MASTER_SITES= SF \ SF/${PORTNAME}/music/1.4/:music @@ -15,53 +15,36 @@ COMMENT= SDL-based Marble Madness clone LICENSE= GPLv2 -LIB_DEPENDS= guile:${PORTSDIR}/lang/guile +LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile RUN_DEPENDS= bash:${PORTSDIR}/shells/bash USE_GL= gl USE_SDL= image mixer sdl ttf -USES= desktop-file-utils gettext -USE_GMAKE= yes +USES= gmake gettext desktop-file-utils GNU_CONFIGURE= yes INSTALLS_ICONS= yes MAKE_ARGS= mkinstalldirs="${MKDIR}" -MAN6= trackballs.6 -MANCOMPRESSED= no - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl -OPTIONS_DEFINE= NLS MUSIC +OPTIONS_DEFINE= MUSIC NLS +OPTIONS_DEFAULT= MUSIC NLS +OPTIONS_SUB= yes MUSIC_DESC= Install additional music -OPTIONS_DEFAULT= NLS MUSIC +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+= --enable-nls -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:MMUSIC} -PLIST_SUB+= MUSIC="" -.else -PLIST_SUB+= MUSIC="@comment " -.endif - post-patch: @${REINPLACE_CMD} -e 's|install -D|$$(INSTALL)|' \ ${WRKSRC}/share/Makefile.in post-install: .if ${PORT_OPTIONS:MMUSIC} - @${INSTALL_DATA} ${WRKDIR}/trackballs-music/*.ogg ${DATADIR}/music/ + @${INSTALL_DATA} ${WRKDIR}/trackballs-music/*.ogg ${STAGEDIR}${DATADIR}/music/ .endif - @${INSTALL_DATA} ${WRKSRC}/share/icons/${PORTNAME}-48x48.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + @${INSTALL_DATA} ${WRKSRC}/share/icons/${PORTNAME}-48x48.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include <bsd.port.mk> diff --git a/games/trackballs/files/patch-share-icons-Makefile.in b/games/trackballs/files/patch-share-icons-Makefile.in new file mode 100644 index 000000000000..d4c55483ab5a --- /dev/null +++ b/games/trackballs/files/patch-share-icons-Makefile.in @@ -0,0 +1,29 @@ +--- share/icons/Makefile.in.orig 2013-11-20 07:09:14.000000000 +0100 ++++ share/icons/Makefile.in 2013-11-20 07:11:37.000000000 +0100 +@@ -374,17 +374,17 @@ + echo "Exec=$(bindir)/trackballs" >> trackballs.desktop + + install-iconsDATA: +- $(mkinstalldirs) $(iconsdir)/32x32/apps +- $(INSTALL_DATA) $(srcdir)/trackballs-32x32.png $(iconsdir)/32x32/apps/trackballs.png +- $(mkinstalldirs) $(iconsdir)/48x48/apps +- $(INSTALL_DATA) $(srcdir)/trackballs-48x48.png $(iconsdir)/48x48/apps/trackballs.png +- $(mkinstalldirs) $(iconsdir)/64x64/apps +- $(INSTALL_DATA) $(srcdir)/trackballs-64x64.png $(iconsdir)/64x64/apps/trackballs.png ++ $(mkinstalldirs) $(DESTDIR)$(iconsdir)/32x32/apps ++ $(INSTALL_DATA) $(srcdir)/trackballs-32x32.png $(DESTDIR)$(iconsdir)/32x32/apps/trackballs.png ++ $(mkinstalldirs) $(DESTDIR)$(iconsdir)/48x48/apps ++ $(INSTALL_DATA) $(srcdir)/trackballs-48x48.png $(DESTDIR)$(iconsdir)/48x48/apps/trackballs.png ++ $(mkinstalldirs) $(DESTDIR)$(iconsdir)/64x64/apps ++ $(INSTALL_DATA) $(srcdir)/trackballs-64x64.png $(DESTDIR)$(iconsdir)/64x64/apps/trackballs.png + + uninstall-iconsDATA: +- -rm -f $(iconsdir)/32x32/apps/trackballs.png +- -rm -f $(iconsdir)/48x48/apps/trackballs.png +- -rm -f $(iconsdir)/64x64/apps/trackballs.png ++ -rm -f $(DESTDIR)$(iconsdir)/32x32/apps/trackballs.png ++ -rm -f $(DESTDIR)$(iconsdir)/48x48/apps/trackballs.png ++ -rm -f $(DESTDIR)$(iconsdir)/64x64/apps/trackballs.png + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/games/trackballs/pkg-descr b/games/trackballs/pkg-descr index c76065404ec5..80ee6d4e8b29 100644 --- a/games/trackballs/pkg-descr +++ b/games/trackballs/pkg-descr @@ -1,20 +1,7 @@ -Trackballs is a simple game similar to the classical game Marble Madness -on the Amiga in the 80's. By steering a marble ball through a labyrinth -filled with vicious hammers, pools of acid and other obstacles the player -collects points. When the ball reaches the destination it continues -at the next, more difficult level - unless the time runs out. - -It should be noted that this game is not intended to be a replica of -marble madness but rather inspired by it. For instance the game uses -advanced 3D graphics even though the original game had no real use for -it. Also we aim at making the game highly configurable by a scripting -extension (Guile) and provide a simple editor by which new levels easily -can be created. The current status of the project is very early in -development and is thus barely playable. - -You start /Trackballs/ by giving the command 'trackballs' which -instructs the game to load the first level. If you wish to cheat or simply -are testing out a level you are currently designing you can give the command -'trackballs -l foo' which jumps to level "foo". +Trackballs is a simple game similar to the classical game Marble Madness on the +Amiga in the 80's. By steering a marble ball through a labyrinth filled with +vicious hammers, pools of acid and other obstacles the player collects points. +When the ball reaches the destination it continues at the next, more difficult +level - unless the time runs out. WWW: http://trackballs.sourceforge.net/ diff --git a/games/trackballs/pkg-plist b/games/trackballs/pkg-plist index 8d216a649acb..3d5f5439461d 100644 --- a/games/trackballs/pkg-plist +++ b/games/trackballs/pkg-plist @@ -1,4 +1,5 @@ bin/trackballs +man/man6/trackballs.6.gz share/applications/trackballs.desktop share/icons/hicolor/32x32/apps/trackballs.png share/icons/hicolor/48x48/apps/trackballs.png |