- Convert LIB_DEPENDS to new syntax

- Convert USE_GMAKE to USES
- Use options helpers
- Add stage support
This commit is contained in:
Danilo Egea Gondolfo 2013-11-05 01:27:53 +00:00
parent 521d90b8ee
commit b59192cc24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332800
2 changed files with 14 additions and 14 deletions

View file

@ -10,9 +10,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
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>

View file

@ -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%%