mirror of https://git.freebsd.org/ports.git
games/lbreakouthd: add port: Breakout-style arcade game
- Also deprecate (without setting EXPIRATION_DATE, as the ports still build and work fine) games/lbreakout and games/lbreakout2 - the former has latest release in 2001 and is not even mentioned on the upstream website any more, and the latter explicitly mentions deprecation. LBreakoutHD is claimed to support all levelsets and themes for LBreakout2, being a drop-in replacement for it. - While here, some cosmetic fixes to games/lbreakout and games/lbreakout2. LBreakoutHD is a scaleable 16:9 remake of LBreakout2. You try to clear levels full of different types of bricks and extras by using your paddle to aim balls at the bricks. All LBreakout2 themes and levelsets work. New themes can be of any resolution.2023Q2
parent
dee6c5d703
commit
f97f297ce7
|
@ -478,6 +478,7 @@
|
|||
SUBDIR += lapispuzzle
|
||||
SUBDIR += lbreakout
|
||||
SUBDIR += lbreakout2
|
||||
SUBDIR += lbreakouthd
|
||||
SUBDIR += ldmud
|
||||
SUBDIR += leela-zero
|
||||
SUBDIR += legend-of-edgar
|
||||
|
|
|
@ -6,13 +6,15 @@ MASTER_SITES= SF/lgames/${PORTNAME}
|
|||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Nice clone of classical Breakout game
|
||||
WWW= http://lgames.sourceforge.net/index.php?project=LBreakout
|
||||
WWW= https://sourceforge.net/projects/lgames/files/lbreakout/
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USE_SDL= sdl
|
||||
DEPRECATED= Abandoned by upsteam, does not support large screen resolutions. Use games/lbreakouthd instead
|
||||
|
||||
USES= gmake sdl
|
||||
USE_SDL= sdl
|
||||
GNU_CONFIGURE= yes
|
||||
LIBS+= -lcompat
|
||||
|
||||
|
|
|
@ -10,11 +10,13 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Breakout-style arcade game
|
||||
WWW= http://lgames.sourceforge.net/index.php?project=LBreakout2
|
||||
WWW= https://lgames.sourceforge.io/LBreakout2/
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= Deprecated by upsteam, does not support large screen resolutions. Use games/lbreakouthd instead
|
||||
|
||||
LIB_DEPENDS= libpng.so:graphics/png
|
||||
|
||||
USES= gmake sdl
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
PORTNAME= lbreakouthd
|
||||
PORTVERSION= 1.1.1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/lgames/${PORTNAME}/
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Breakout-style arcade game
|
||||
WWW= https://lgames.sourceforge.io/LBreakout2/
|
||||
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= autoreconf localbase sdl
|
||||
USE_SDL= sdl2 mixer2 image2 ttf2
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --localstatedir=/var/games/${PORTNAME}
|
||||
|
||||
PORTDOCS= ChangeLog README
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}/var/games/${PORTNAME}/${PORTNAME}.hscr ${STAGEDIR}/var/games/${PORTNAME}/${PORTNAME}.hscr.sample
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1674481048
|
||||
SHA256 (lbreakouthd-1.1.1.tar.gz) = 9639d9a6e57d1cf3d1e5b81d6f213c814b5be26f89a69c469b7315ebdd6cc3b1
|
||||
SIZE (lbreakouthd-1.1.1.tar.gz) = 4372165
|
|
@ -0,0 +1,20 @@
|
|||
https://sourceforge.net/p/lgames/bugs/95/
|
||||
--- Makefile.am.orig 2021-04-03 20:47:05 UTC
|
||||
+++ Makefile.am
|
||||
@@ -6,14 +6,14 @@ EXTRA_DIST = gettext.h config.rpath m4/ChangeLog \
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
desktop_DATA = lbreakouthd.desktop
|
||||
-icondir = $(datadir)/icons
|
||||
+icondir = $(datadir)/pixmaps
|
||||
icon_DATA = lbreakouthd256.gif
|
||||
|
||||
# We can't use static desktop file because of icon location. Is this
|
||||
# the right way to handle it? At least it works... as long as $datadir
|
||||
# does not contain plus signs. :-)
|
||||
lbreakouthd.desktop:
|
||||
- @sed -e "s+Icon=+Icon=$(datadir)/icons/lbreakouthd256.gif+" \
|
||||
+ @sed -e "s+Icon=+Icon=$(icondir)/lbreakouthd256.gif+" \
|
||||
< lbreakouthd.desktop.in > lbreakouthd.desktop
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
|
@ -0,0 +1,12 @@
|
|||
https://sourceforge.net/p/lgames/bugs/96/
|
||||
--- src/Makefile.am.orig 2022-12-22 18:40:51 UTC
|
||||
+++ src/Makefile.am
|
||||
@@ -4,7 +4,7 @@ lbreakouthd_SOURCES = sdl.cpp sdl.h view.h view.cpp \
|
||||
config.cpp config.h hiscores.cpp hiscores.h theme.cpp theme.h \
|
||||
sprite.cpp sprite.h mixer.h menu.cpp menu.h selectdlg.h selectdlg.cpp \
|
||||
editor.h editor.cpp
|
||||
-lbreakouthd_LDADD = ../libgame/libgame.a
|
||||
+lbreakouthd_LDADD = ../libgame/libgame.a @INTLLIBS@
|
||||
|
||||
EXTRA_DIST = empty.hscr
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
LBreakoutHD is a scaleable 16:9 remake of LBreakout2. You try to
|
||||
clear levels full of different types of bricks and extras by using
|
||||
your paddle to aim balls at the bricks.
|
||||
|
||||
All LBreakout2 themes and levelsets work. New themes can be of any
|
||||
resolution.
|
|
@ -0,0 +1,8 @@
|
|||
@(,games,2555) bin/lbreakouthd
|
||||
share/applications/lbreakouthd.desktop
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/lbreakouthd.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/lbreakouthd.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/lbreakouthd.mo
|
||||
share/pixmaps/lbreakouthd256.gif
|
||||
@sample(,games,664) /var/games/lbreakouthd/lbreakouthd.hscr.sample
|
||||
@dir(,games,775) /var/games/lbreakouthd
|
Loading…
Reference in New Issue