From owner-svn-ports-head@FreeBSD.ORG Tue May 27 13:41:12 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A63118B3; Tue, 27 May 2014 13:41:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 799342B52; Tue, 27 May 2014 13:41:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4RDfCUX016400; Tue, 27 May 2014 13:41:12 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4RDfC3v016399; Tue, 27 May 2014 13:41:12 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405271341.s4RDfC3v016399@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 27 May 2014 13:41:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355516 - head/games/boswars X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2014 13:41:12 -0000 Author: bapt Date: Tue May 27 13:41:11 2014 New Revision: 355516 URL: http://svnweb.freebsd.org/changeset/ports/355516 QAT: https://qat.redports.org/buildarchive/r355516/ Log: Support stage and USES=scons Modified: head/games/boswars/Makefile Modified: head/games/boswars/Makefile ============================================================================== --- head/games/boswars/Makefile Tue May 27 13:36:44 2014 (r355515) +++ head/games/boswars/Makefile Tue May 27 13:41:11 2014 (r355516) @@ -13,15 +13,14 @@ COMMENT= Futuristic real-time strategy g LICENSE= GPLv2 -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - theora:${PORTSDIR}/multimedia/libtheora \ - vorbis:${PORTSDIR}/audio/libvorbis +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libtheora.so:${PORTSDIR}/multimedia/libtheora \ + libvorbis.so:${PORTSDIR}/audio/libvorbis -USES= lua:51 +USES= lua:51 scons USE_SDL= sdl USE_GL= yes -USE_SCONS= yes -SCONS_ARGS+= opengl=1 +MAKE_ARGS+= opengl=1 CPPPATH= ${LOCALBASE}/include ${LUA_INCDIR} LIBPATH= ${LOCALBASE}/lib ${LUA_LIBDIR} CFLAGS+= -DSTRATAGUS_LIB_PATH='"\"${DATADIR}\""' @@ -31,12 +30,8 @@ DESKTOP_ENTRIES= "Bos Wars" "${COMMENT}" PORTDOCS= * -NO_STAGE= yes - OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} -e '\ s|-pthread|${PTHREAD_LIBS}|g; \ @@ -45,16 +40,13 @@ post-patch: ${WRKSRC}/SConstruct do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${MKDIR} ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} .for f in campaigns graphics intro languages maps patches scripts sounds units - ${CP} -R ${WRKSRC}/${f} ${DATADIR} + ${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} .endfor - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README.txt ${DOCSDIR} - ${COPYTREE_SHARE} ${WRKSRC}/doc/* ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} + ${COPYTREE_SHARE} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include