Update to prboom-plus-2.5.1.4.
Changelog: http://prboom-plus.sourceforge.net/history.html From Ryan Freeman; thanks!
This commit is contained in:
parent
95370520a3
commit
3510a4be40
@ -1,8 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2017/09/28 22:40:01 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2018/06/12 06:07:29 bentley Exp $
|
||||
|
||||
COMMENT = enhanced version the PrBoom Doom engine
|
||||
DISTNAME = prboom-plus-2.5.1.3
|
||||
REVISION = 1
|
||||
DISTNAME = prboom-plus-2.5.1.4
|
||||
CATEGORIES = games x11
|
||||
|
||||
HOMEPAGE = http://prboom-plus.sourceforge.net/
|
||||
@ -12,9 +11,7 @@ MAINTAINER = Ryan Freeman <ryan@slipgate.org>
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
BUILD_DEPENDS = archivers/unzip \
|
||||
${MODGNU_AUTOCONF_DEPENDS} \
|
||||
${MODGNU_AUTOMAKE_DEPENDS}
|
||||
BUILD_DEPENDS = archivers/unzip
|
||||
|
||||
WANTLIB += SDL c m pthread GL GLU SDL_mixer SDL_net
|
||||
|
||||
@ -24,23 +21,10 @@ LIB_DEPENDS = devel/sdl-mixer \
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=prboom-plus/}
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
AUTOCONF_VERSION = 2.65
|
||||
AUTOMAKE_VERSION = 1.9
|
||||
CONFIGURE_ARGS += --disable-cpu-opt \
|
||||
--with-waddir=${TRUEPREFIX}/share/doom
|
||||
CONFIGURE_ARGS += --with-waddir=${TRUEPREFIX}/share/doom
|
||||
CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include"
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
|
||||
|
||||
FAKE_FLAGS += gamesdir=${PREFIX}/bin \
|
||||
docdir=${PREFIX}/share/doc/prboom-plus
|
||||
|
||||
post-extract:
|
||||
@perl -MExtUtils::Command -e dos2unix ${WRKSRC}/*
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC} && \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
||||
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
sh bootstrap && chmod 0755 ./configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (prboom-plus-2.5.1.3.tar.gz) = CkBvqdJ1+96Ur89ybL/206Ai+DtBPb+20TGHLkZCZo8=
|
||||
SIZE (prboom-plus-2.5.1.3.tar.gz) = 1465003
|
||||
SHA256 (prboom-plus-2.5.1.4.tar.gz) = 4OIkHRdIObEH8aQrGRqpiV3GdJ5HfLyFCtUg+6I1O5Q=
|
||||
SIZE (prboom-plus-2.5.1.4.tar.gz) = 1627558
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-autotools_ac_c_compile_flags_m4,v 1.1 2017/09/28 22:40:01 naddy Exp $
|
||||
|
||||
Index: autotools/ac_c_compile_flags.m4
|
||||
--- autotools/ac_c_compile_flags.m4.orig
|
||||
+++ autotools/ac_c_compile_flags.m4
|
||||
@@ -5,7 +5,6 @@ do
|
||||
AC_MSG_CHECKING(whether compiler supports $ac_flag)
|
||||
CFLAGS="$NEW_CFLAGS $ac_flag"
|
||||
AC_TRY_COMPILE(,[
|
||||
- void f() {};
|
||||
],[
|
||||
NEW_CFLAGS="$CFLAGS"
|
||||
AC_MSG_RESULT(yes)
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-data_Makefile_am,v 1.2 2017/09/28 22:40:01 naddy Exp $
|
||||
Index: data/Makefile.am
|
||||
--- data/Makefile.am.orig
|
||||
+++ data/Makefile.am
|
||||
@@ -7,6 +7,6 @@ wad_DATA=prboom-plus.wad
|
||||
EXTRA_DIST=prboom-plus.wad prboom.txt
|
||||
MAINTAINERCLEANFILES=prboom-plus.wad
|
||||
|
||||
-prboom-plus.wad: prboom.txt $(wildcard graphics/*.ppm sprites/*.ppm lumps/*.lmp sounds/*.wav)
|
||||
- -rm -f $@
|
||||
- deutex -make prboom.txt $@
|
||||
+prboom-plus.wad: prboom.txt
|
||||
+# -rm -f $@
|
||||
+# deutex -make prboom.txt $@
|
16
games/prboom-plus/patches/patch-data_Makefile_in
Normal file
16
games/prboom-plus/patches/patch-data_Makefile_in
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-data_Makefile_in,v 1.3 2018/06/12 06:07:29 bentley Exp $
|
||||
|
||||
fix accidental inclusion of SDL_Mixer for wad creation
|
||||
|
||||
Index: data/Makefile.in
|
||||
--- data/Makefile.in.orig
|
||||
+++ data/Makefile.in
|
||||
@@ -689,7 +689,7 @@ clean-noinstPROGRAMS:
|
||||
|
||||
rdatawad$(EXEEXT): $(rdatawad_OBJECTS) $(rdatawad_DEPENDENCIES) $(EXTRA_rdatawad_DEPENDENCIES)
|
||||
@rm -f rdatawad$(EXEEXT)
|
||||
- $(AM_V_CCLD)$(LINK) $(rdatawad_OBJECTS) $(rdatawad_LDADD) $(LIBS)
|
||||
+ $(AM_V_CCLD)$(LINK) $(rdatawad_OBJECTS) $(rdatawad_LDADD)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
Loading…
Reference in New Issue
Block a user