games/prboom: Refactor
- Mark DEPRECATED as the last release was in 2008. There is a newer fork
in the tree games/prboom-plus.
- Remove LIB_DEPENDS to smpeg as it was removed and there is no src
pertaining to smpeg in the src tree
- Set EXPIRATION_DATE 2025-01-29
- Pet port{clippy|fmt}
- Refresh patches
Approved by: portmgr (blanket)
This commit is contained in:
parent
755046be6d
commit
d412e6378d
5 changed files with 32 additions and 33 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= prboom
|
||||
PORTVERSION= 2.5.0
|
||||
PORTREVISION= 14
|
||||
DISTVERSION= 2.5.0
|
||||
PORTREVISION= 15
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
|
||||
|
||||
|
|
@ -10,29 +10,28 @@ WWW= https://prboom.sourceforge.net/
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \
|
||||
libpng.so:graphics/png
|
||||
DEPRECATED= Unmaintained, use games/prboom-plus instead
|
||||
EXPIRATION_DATE= 2025-01-30
|
||||
|
||||
USES= gmake sdl
|
||||
LIB_DEPENDS= libpng.so:graphics/png
|
||||
|
||||
USES= gmake localbase:ldflags sdl
|
||||
USE_GL= gl
|
||||
USE_SDL= mixer net sdl
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
||||
CONFIGURE_ARGS= --disable-i386-asm
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
DATADIR= ${LOCALBASE}/share/doom
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
OPTIONS_DEFINE= OPENGL
|
||||
OPTIONS_DEFAULT= OPENGL
|
||||
|
||||
DATADIR= ${LOCALBASE}/share/doom
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPENGL_CONFIGURE_ENABLE= gl
|
||||
OPENGL_USES= gl
|
||||
OPENGL_USE= GL=glu
|
||||
OPENGL_CONFIGURE_ENABLE= gl
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.in.orig 2008-11-09 14:22:16.000000000 -0500
|
||||
+++ Makefile.in 2008-11-18 18:16:54.000000000 -0500
|
||||
@@ -258,22 +258,8 @@
|
||||
--- Makefile.in.orig 2008-11-09 19:22:16 UTC
|
||||
+++ Makefile.in
|
||||
@@ -258,22 +258,8 @@ install-docDATA: $(doc_DATA)
|
||||
prboom.spec: $(top_builddir)/config.status $(srcdir)/prboom.spec.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
install-docDATA: $(doc_DATA)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
--- configure.orig Sun Nov 19 12:45:22 2006
|
||||
+++ configure Fri Oct 12 14:02:43 2007
|
||||
@@ -1913,9 +1913,9 @@
|
||||
DOOMWADDIR="$withval"
|
||||
--- configure.orig 2008-11-09 19:22:17 UTC
|
||||
+++ configure
|
||||
@@ -2422,9 +2422,9 @@ else
|
||||
withval=$with_waddir; DOOMWADDIR="$withval"
|
||||
else
|
||||
if test "x$prefix" != xNONE; then
|
||||
- DOOMWADDIR="$prefix/share/games/doom"
|
||||
|
|
@ -11,4 +11,4 @@
|
|||
+ DOOMWADDIR="$ac_default_prefix/share/doom"
|
||||
fi
|
||||
|
||||
fi;
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--- src/Makefile.in.orig Sun Nov 19 12:45:21 2006
|
||||
+++ src/Makefile.in Fri Oct 12 14:12:30 2007
|
||||
@@ -37,7 +37,7 @@
|
||||
--- src/Makefile.in.orig 2008-11-09 19:22:16 UTC
|
||||
+++ src/Makefile.in
|
||||
@@ -31,7 +31,7 @@ INSTALL_HEADER = $(INSTALL_DATA)
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
|
|
@ -9,9 +9,9 @@
|
|||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
@@ -248,7 +248,7 @@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
@@ -246,7 +246,7 @@ SUBDIRS = SDL POSIX MAC
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
SUBDIRS = SDL POSIX MAC
|
||||
-gamesdir = $(prefix)/games
|
||||
+gamesdir = $(prefix)/bin
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
--- src/SDL/i_sshot.c.orig 2010-05-19 13:40:36.506099313 +0300
|
||||
+++ src/SDL/i_sshot.c 2010-05-19 13:41:50.837973800 +0300
|
||||
@@ -231,7 +231,7 @@
|
||||
--- src/SDL/i_sshot.c.orig 2008-10-18 13:32:29 UTC
|
||||
+++ src/SDL/i_sshot.c
|
||||
@@ -231,7 +231,7 @@ int I_ScreenShot (const char *fname)
|
||||
if (fp)
|
||||
{
|
||||
png_struct *png_ptr = png_create_write_struct(
|
||||
- PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn);
|
||||
+ PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn);
|
||||
|
||||
|
||||
if (png_ptr)
|
||||
{
|
||||
@@ -279,7 +279,7 @@
|
||||
@@ -279,7 +279,7 @@ int I_ScreenShot (const char *fname)
|
||||
break;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue