Fix datadir, update homepage to https. ok Pascal Stumpf (maintainer)
This commit is contained in:
parent
366b53755b
commit
df8b6f7479
@ -1,14 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2019/02/04 10:02:07 pascal Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2019/02/28 17:42:53 thfr Exp $
|
||||
|
||||
COMMENT = jump 'n' run game
|
||||
|
||||
V = 0.6.0
|
||||
DISTNAME = SuperTux-v${V}-Source
|
||||
PKGNAME = supertux-$V
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = games
|
||||
|
||||
HOMEPAGE = http://supertux.lethargik.org/
|
||||
HOMEPAGE = https://www.supertux.org/
|
||||
|
||||
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
|
||||
|
||||
@ -17,7 +18,7 @@ PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} GL GLEW GLU SDL2 SDL2_image boost_date_time-mt
|
||||
WANTLIB += boost_filesystem-mt boost_locale-mt boost_system-mt
|
||||
WANTLIB += c curl freetype m ogg openal png vorbis vorbisfile
|
||||
WANTLIB += c curl freetype m ogg openal png16 vorbis vorbisfile
|
||||
WANTLIB += z
|
||||
|
||||
MASTER_SITES = https://github.com/SuperTux/supertux/releases/download/v${V}/
|
||||
|
19
games/supertux/patches/patch-src_supertux_main_cpp
Normal file
19
games/supertux/patches/patch-src_supertux_main_cpp
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-src_supertux_main_cpp,v 1.3 2019/02/28 17:42:53 thfr Exp $
|
||||
|
||||
fix datadir on OpenBSD
|
||||
|
||||
Index: src/supertux/main.cpp
|
||||
--- src/supertux/main.cpp.orig
|
||||
+++ src/supertux/main.cpp
|
||||
@@ -204,10 +204,7 @@ class PhysfsSubsystem final (public)
|
||||
}
|
||||
else
|
||||
{
|
||||
- // if the game is not run from the source directory, try to find
|
||||
- // the global install location
|
||||
- datadir = basepath.substr(0, basepath.rfind(INSTALL_SUBDIR_BIN));
|
||||
- datadir = FileSystem::join(datadir, INSTALL_SUBDIR_SHARE);
|
||||
+ datadir = "${PREFIX}/share/supertux2";
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2019/02/04 10:02:07 pascal Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2019/02/28 17:42:53 thfr Exp $
|
||||
@bin bin/supertux2
|
||||
share/applications/supertux2.desktop
|
||||
share/doc/supertux2/
|
||||
@ -6,10 +6,6 @@ share/doc/supertux2/INSTALL.md
|
||||
share/doc/supertux2/LICENSE.txt
|
||||
share/doc/supertux2/NEWS.md
|
||||
share/doc/supertux2/README.md
|
||||
share/icons/
|
||||
share/icons/hicolor/
|
||||
share/icons/hicolor/scalable/
|
||||
share/icons/hicolor/scalable/apps/
|
||||
share/icons/hicolor/scalable/apps/supertux2.svg
|
||||
share/metainfo/
|
||||
share/metainfo/supertux2.appdata.xml
|
||||
|
Loading…
Reference in New Issue
Block a user