Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 01:27:54 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332800 - head/games/prboom
Message-ID:  <201311050127.rA51RsfQ029505@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Nov  5 01:27:53 2013
New Revision: 332800
URL: http://svnweb.freebsd.org/changeset/ports/332800

Log:
  - Convert LIB_DEPENDS to new syntax
  - Convert USE_GMAKE to USES
  - Use options helpers
  - Add stage support

Modified:
  head/games/prboom/Makefile
  head/games/prboom/pkg-plist

Modified: head/games/prboom/Makefile
==============================================================================
--- head/games/prboom/Makefile	Tue Nov  5 01:08:11 2013	(r332799)
+++ head/games/prboom/Makefile	Tue Nov  5 01:27:53 2013	(r332800)
@@ -10,9 +10,9 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Multiplayer-capable and modified version of ID's classic DOOM game
 
-LIB_DEPENDS=	smpeg.1:${PORTSDIR}/multimedia/smpeg
+LIB_DEPENDS=	libsmpeg.so:${PORTSDIR}/multimedia/smpeg
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_SDL=	mixer net sdl
 
 GNU_CONFIGURE=	yes
@@ -22,21 +22,17 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 OPTIONS_DEFINE=	OPENGL
 OPTIONS_DEFAULT=	OPENGL
 
-MAN5=		boom.cfg.5
-MAN6=		prboom.6 prboom-game-server.6
-
 DATADIR=	${DMDIR}
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
-NO_STAGE=	yes
+OPENGL_CONFIGURE_ENABLE=	gl
+
 .include "${.CURDIR}/../doom-data/Makefile.include"
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENGL}
 USE_GL=		yes
-.else
-CONFIGURE_ARGS+=--disable-gl
 .endif
 
 .include <bsd.port.mk>

Modified: head/games/prboom/pkg-plist
==============================================================================
--- head/games/prboom/pkg-plist	Tue Nov  5 01:08:11 2013	(r332799)
+++ head/games/prboom/pkg-plist	Tue Nov  5 01:27:53 2013	(r332800)
@@ -1,9 +1,13 @@
 bin/prboom
 bin/prboom-game-server
+man/man5/boom.cfg.5.gz
+man/man6/prboom-game-server.6.gz
+man/man6/prboom.6.gz
 %%DATADIR%%/prboom.wad
-share/doc/prboom-%%PORTVERSION%%/boom.txt
-share/doc/prboom-%%PORTVERSION%%/MBF.txt
-share/doc/prboom-%%PORTVERSION%%/MBFFAQ.txt
-share/doc/prboom-%%PORTVERSION%%/README.demos
-share/doc/prboom-%%PORTVERSION%%/README.compat
-@dirrm share/doc/prboom-%%PORTVERSION%%
+%%DOCSDIR%%-%%PORTVERSION%%/boom.txt
+%%DOCSDIR%%-%%PORTVERSION%%/MBF.txt
+%%DOCSDIR%%-%%PORTVERSION%%/MBFFAQ.txt
+%%DOCSDIR%%-%%PORTVERSION%%/README.demos
+%%DOCSDIR%%-%%PORTVERSION%%/README.compat
+@dirrm %%DOCSDIR%%-%%PORTVERSION%%
+@dirrmtry %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311050127.rA51RsfQ029505>