Date: Sun, 13 Apr 2014 10:43:53 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351201 - head/games/edge Message-ID: <201404131043.s3DAhrIp084102@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sun Apr 13 10:43:53 2014 New Revision: 351201 URL: http://svnweb.freebsd.org/changeset/ports/351201 QAT: https://qat.redports.org/buildarchive/r351201/ Log: - Add staging support - Convert to new LIB_DEPENDS format, USES=gmake tar:bzip2 - Define DOCS option Modified: head/games/edge/Makefile Modified: head/games/edge/Makefile ============================================================================== --- head/games/edge/Makefile Sun Apr 13 10:27:52 2014 (r351200) +++ head/games/edge/Makefile Sun Apr 13 10:43:53 2014 (r351201) @@ -17,16 +17,15 @@ COMMENT= DOOM style engine aimed at the LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \ - GLEW.1:${PORTSDIR}/graphics/glew \ - jpeg.11:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libGLEW.so:${PORTSDIR}/graphics/glew \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png WRKSRC= ${WRKDIR}/Edge-${PORTVERSION}-source -USE_BZIP2= yes +USES= gmake tar:bzip2 USE_SDL= sdl -USE_GMAKE= yes MAKEFILE= Makefile.linux PORTDOCS= * @@ -35,7 +34,8 @@ PLIST_DIRSTRY= %%DMDIR%% CFLAGS+= -ffast-math -NO_STAGE= yes +DEFINE_OPTIONS= DOCS + post-extract: @${TAR} -C ${WRKDIR} \ --exclude "License.txt" \ @@ -54,13 +54,11 @@ post-patch: 's|%%DMDIR%%|${DMDIR}|' ${WRKSRC}/src/e_main.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/edge.linux ${PREFIX}/bin/${PORTNAME} - @${MKDIR} ${DMDIR} - ${INSTALL_DATA} ${WRKDIR}/Edge-${PORTVERSION}/edge.wad ${DMDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/Edge-${PORTVERSION}/*.txt ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/edge.linux ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DMDIR} + ${INSTALL_DATA} ${WRKDIR}/Edge-${PORTVERSION}/edge.wad ${STAGEDIR}${DMDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/Edge-${PORTVERSION}/*.txt ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../doom-data/Makefile.include"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404131043.s3DAhrIp084102>