From owner-svn-ports-all@FreeBSD.ORG Mon Jan 20 01:36:26 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFC0A12E; Mon, 20 Jan 2014 01:36:25 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2483E1F9B; Mon, 20 Jan 2014 01:36:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0K1aPIs004500; Mon, 20 Jan 2014 01:36:25 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0K1aO1K004499; Mon, 20 Jan 2014 01:36:24 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201401200136.s0K1aO1K004499@svn.freebsd.org> From: Dmitry Marakasov Date: Mon, 20 Jan 2014 01:36:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340363 - head/games/railroad-rampage X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 01:36:26 -0000 Author: amdmi3 Date: Mon Jan 20 01:36:24 2014 New Revision: 340363 URL: http://svnweb.freebsd.org/changeset/ports/340363 QAT: https://qat.redports.org/buildarchive/r340363/ Log: - Support staging Modified: head/games/railroad-rampage/Makefile Modified: head/games/railroad-rampage/Makefile ============================================================================== --- head/games/railroad-rampage/Makefile Mon Jan 20 01:36:18 2014 (r340362) +++ head/games/railroad-rampage/Makefile Mon Jan 20 01:36:24 2014 (r340363) @@ -3,7 +3,7 @@ PORTNAME= railroad-rampage PORTVERSION= 1.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ DISTNAME= RailroadRampage_${PORTVERSION}_Linux @@ -12,9 +12,9 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tower Defence-like Arcade and Strategy combination BUILD_DEPENDS= bgdc:${PORTSDIR}/devel/bennugd-core \ - ${LOCALBASE}/lib/bennugd/mod_grproc.so:${PORTSDIR}/devel/bennugd-modules + ${LOCALBASE}/lib/bennugd/libmod_grproc.so:${PORTSDIR}/devel/bennugd-modules RUN_DEPENDS= bgdi:${PORTSDIR}/devel/bennugd-core \ - ${LOCALBASE}/lib/bennugd/mod_grproc.so:${PORTSDIR}/devel/bennugd-modules + ${LOCALBASE}/lib/bennugd/libmod_grproc.so:${PORTSDIR}/devel/bennugd-modules USE_ZIP= yes @@ -30,24 +30,21 @@ DESKTOP_ENTRIES="Railroad Rampage" \ "Game;StrategyGame;ArcadeGame;" \ false -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC} && ${SETENV} \ - LD_LIBRARY_PATH=${LOCALBASE}/lib/bennugd \ - BENNUDIR=${LOCALBASE}/lib/bennugd \ - ${LOCALBASE}/bin/bgdc RailroadRampage.prg || true + LD_LIBRARY_PATH="${LOCALBASE}/lib/bennugd" \ + BENNUDIR="${LOCALBASE}/lib/bennugd" \ + "${LOCALBASE}/bin/bgdc" RailroadRampage.prg || true; \ + [ -e RailroadRampage.dcb ] do-install: - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "Music Sound" ${DATADIR}/ + cd ${WRKSRC} && ${COPYTREE_SHARE} "Music Sound" ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/traintd.fpg ${WRKSRC}/RailroadRampage.dcb \ - ${WRKSRC}/RailroadRampage.png ${DATADIR}/ - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}/ -.endif + ${WRKSRC}/RailroadRampage.png ${STAGEDIR}${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR}/ .include