svn commit: r376342 - head/games/dangerdeep
Pawel Pekala
pawel at FreeBSD.org
Mon Jan 5 18:52:30 UTC 2015
Author: pawel
Date: Mon Jan 5 18:52:29 2015
New Revision: 376342
URL: https://svnweb.freebsd.org/changeset/ports/376342
QAT: https://qat.redports.org/buildarchive/r376342/
Log:
- Convert to USES= execinfo scons
- Make RUN_DEPENDS path independent
Modified:
head/games/dangerdeep/Makefile
Modified: head/games/dangerdeep/Makefile
==============================================================================
--- head/games/dangerdeep/Makefile Mon Jan 5 18:51:06 2015 (r376341)
+++ head/games/dangerdeep/Makefile Mon Jan 5 18:52:29 2015 (r376342)
@@ -11,16 +11,15 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports at FreeBSD.org
COMMENT= Open source World War II German submarine simulation
-BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
-LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
- libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/maps/default.xml:${PORTSDIR}/games/dangerdeep-data
+LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
+RUN_DEPENDS= dangerdeep-data>0:${PORTSDIR}/games/dangerdeep-data
-MAKE_ENV= X11BASE=${LOCALBASE}
+USES= execinfo scons
USE_GL= yes
USE_SDL= sdl mixer image net
-SCONS_ARGS= installbindir=${PREFIX}/bin installdatadir=${DATADIR}
+MAKE_ARGS= installbindir=${PREFIX}/bin installdatadir=${DATADIR}
+MAKE_ENV= X11BASE=${LOCALBASE}
PLIST_FILES= bin/dangerdeep bin/crosssection bin/damagemodel \
bin/oceantest bin/portal bin/viewmodel \
@@ -33,7 +32,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if defined(PACKAGE_BUILDING)
-SCONS_ARGS+= usex86sse=-1 # disable MMX/SSE on the build cluster
+MAKE_ARGS+= usex86sse=-1 # disable MMX/SSE on the build cluster
.endif
post-patch:
@@ -42,9 +41,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11BASE|${LOCALBASE}|g' \
${WRKSRC}/SConstruct
-do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons ${SCONS_ARGS}
-
do-install:
@cd ${WRKSRC}/build/freebsd && \
${INSTALL_PROGRAM} dangerdeep crosssection damagemodel oceantest \
More information about the svn-ports-all
mailing list