2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Radim Kolar
|
2004-04-08 10:29:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= d2x
|
|
|
|
PORTVERSION= 0.2.5
|
2017-05-23 07:03:14 +02:00
|
|
|
PORTREVISION= 15
|
2004-04-08 10:29:23 +02:00
|
|
|
CATEGORIES= games
|
2015-11-10 21:25:21 +01:00
|
|
|
MASTER_SITES= http://icculus.org/d2x/src/
|
2004-04-08 10:29:23 +02:00
|
|
|
|
2004-10-12 15:23:48 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-04-08 10:29:23 +02:00
|
|
|
COMMENT= Unix port of Descent 2 Game
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2019-11-08 11:47:01 +01:00
|
|
|
USES= gmake sdl
|
2004-04-08 10:29:23 +02:00
|
|
|
USE_SDL= sdl image
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --disable-network --disable-debug
|
|
|
|
|
|
|
|
PORTDOCS= README TODO NEWS AUTHORS readme.txt installation.txt
|
|
|
|
PLIST_FILES= bin/d2x
|
|
|
|
|
2013-11-01 03:50:40 +01:00
|
|
|
OPTIONS_DEFINE= OPENGL DOCS
|
|
|
|
|
|
|
|
OPENGL_CONFIGURE_WITH= opengl
|
|
|
|
OPENGL_CXXFLAGS= -I${LOCALBASE}/include
|
|
|
|
OPENGL_LDFLAGS= -L${LOCALBASE}/lib
|
2019-11-14 13:39:42 +01:00
|
|
|
OPENGL_USES= gl
|
2015-11-10 21:25:21 +01:00
|
|
|
OPENGL_USE= GL=glut
|
2004-05-04 20:22:38 +02:00
|
|
|
|
2015-11-10 21:25:21 +01:00
|
|
|
post-install-OPENGL-on:
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/bin/d2x-gl ${STAGEDIR}${PREFIX}/bin/d2x
|
2013-11-01 03:50:40 +01:00
|
|
|
|
2015-11-10 21:25:21 +01:00
|
|
|
post-install-OPENGL-off:
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/bin/d2x-sdl ${STAGEDIR}${PREFIX}/bin/d2x
|
2004-05-04 20:22:38 +02:00
|
|
|
|
2015-11-10 21:25:21 +01:00
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2004-04-08 10:29:23 +02:00
|
|
|
.for i in ${PORTDOCS}
|
2015-11-10 21:25:21 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
2004-04-08 10:29:23 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|