Update to starfighter-2.4.

From Tom Murphy; thanks!
This commit is contained in:
bentley 2021-12-11 10:39:32 +00:00
parent dd792a5197
commit 5abb3572d5
3 changed files with 33 additions and 34 deletions

View File

@ -1,45 +1,38 @@
# $OpenBSD: Makefile,v 1.9 2019/07/12 20:46:25 sthen Exp $
# $OpenBSD: Makefile,v 1.10 2021/12/11 10:39:32 bentley Exp $
COMMENT = sidescrolling space shmup
V = 1.7
V = 2.4
DISTNAME = starfighter-$V-src
PKGNAME = starfighter-$V
REVISION = 1
CATEGORIES = games
HOMEPAGE = http://starfighter.nongnu.org/
HOMEPAGE = https://pr-starfighter.github.io/
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += SDL2 SDL2_image SDL2_mixer c m pthread ${COMPILER_LIBCXX}
WANTLIB += SDL2 SDL2_image SDL2_mixer SDL2_ttf c glib-2.0 gobject-2.0
WANTLIB += harfbuzz intl m pango-1.0 pthread
MASTER_SITES = https://github.com/pr-starfighter/starfighter/releases/download/v${V}/
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=starfighter/$V/}
LIB_DEPENDS = devel/pango \
devel/sdl2-image \
devel/sdl2-mixer \
devel/sdl2-ttf
LIB_DEPENDS = devel/sdl2-image \
devel/sdl2-mixer
RUN_DEPENDS = devel/desktop-file-utils
MAKE_FLAGS = CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS} \
`pkg-config --cflags sdl2 SDL2_image SDL2_mixer`" \
BINDIR="${PREFIX}/bin/" \
DATADIR="${PREFIX}/share/starfighter/"
FAKE_FLAGS = PREFIX=${TRUEPREFIX}
CONFIGURE_STYLE = gnu
USE_GMAKE = Yes
NO_TEST = Yes
post-install:
chmod ${SHAREMODE} ${PREFIX}/share/starfighter/*/*
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (starfighter-1.7-src.tar.gz) = W4xT7mgK0pVY4kS1k0X7x8IQClQtKDnddOIvhOWFhpg=
SIZE (starfighter-1.7-src.tar.gz) = 46178626
SHA256 (starfighter-2.4-src.tar.gz) = Jae/Dz7hfAJpjHGtZGnEf+K1pgZqYkmM4sg3PWQ6+kY=
SIZE (starfighter-2.4-src.tar.gz) = 50431362

View File

@ -1,28 +1,18 @@
@comment $OpenBSD: PLIST,v 1.4 2018/06/27 21:03:49 espie Exp $
@comment $OpenBSD: PLIST,v 1.5 2021/12/11 10:39:33 bentley Exp $
@bin bin/starfighter
@man man/man6/starfighter.6
share/applications/starfighter.desktop
share/doc/starfighter/
share/doc/starfighter/COPYING
share/doc/starfighter/LICENSES
share/doc/starfighter/README.txt
share/doc/starfighter/docs/
share/doc/starfighter/docs/COPYING
share/doc/starfighter/docs/arrowNorthEast.png
share/doc/starfighter/docs/dollar.png
share/doc/starfighter/docs/heart.png
share/doc/starfighter/docs/index.html
share/doc/starfighter/docs/plasmaAmmo.png
share/doc/starfighter/docs/plasmaDamage.png
share/doc/starfighter/docs/plasmaRate.png
share/doc/starfighter/docs/rocket.png
share/doc/starfighter/docs/rocketAmmo.png
share/doc/starfighter/docs/sflogo.png
share/doc/starfighter/docs/superCharge.png
share/pixmaps/
share/pixmaps/starfighter.png
share/starfighter/
share/starfighter/data/
share/starfighter/data/TakaoPGothic.ttf
share/starfighter/data/credits.txt
share/starfighter/data/ipa_font_license.txt
share/starfighter/gfx/
share/starfighter/gfx/aimFighter1.png
share/starfighter/gfx/aimFighter2.png
@ -213,6 +203,22 @@ share/starfighter/gfx/tug2.png
share/starfighter/gfx/ursulaText.png
share/starfighter/gfx/wingmate1.png
share/starfighter/gfx/wingmate2.png
share/starfighter/locale/
@comment share/starfighter/locale/build.py
share/starfighter/locale/en/
share/starfighter/locale/en.po
share/starfighter/locale/en/LC_MESSAGES/
share/starfighter/locale/en/LC_MESSAGES/pr-starfighter.mo
share/starfighter/locale/genpot.sh
share/starfighter/locale/ja/
share/starfighter/locale/ja.po
share/starfighter/locale/ja/LC_MESSAGES/
share/starfighter/locale/ja/LC_MESSAGES/pr-starfighter.mo
share/starfighter/locale/nl/
share/starfighter/locale/nl.po
share/starfighter/locale/nl/LC_MESSAGES/
share/starfighter/locale/nl/LC_MESSAGES/pr-starfighter.mo
share/starfighter/locale/pr-starfighter.pot
share/starfighter/music/
share/starfighter/music/RE.ogg
share/starfighter/music/death.ogg