From owner-svn-ports-head@FreeBSD.ORG Sat Dec 21 01:13:22 2013 Return-Path: Delivered-To: svn-ports-head@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 EEEE627C; Sat, 21 Dec 2013 01:13:22 +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 DBA4E1A3A; Sat, 21 Dec 2013 01:13:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBL1DMLf047670; Sat, 21 Dec 2013 01:13:22 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBL1DMCV047669; Sat, 21 Dec 2013 01:13:22 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201312210113.rBL1DMCV047669@svn.freebsd.org> From: Dmitry Marakasov Date: Sat, 21 Dec 2013 01:13:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337115 - head/games/stransball2 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.17 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: Sat, 21 Dec 2013 01:13:23 -0000 Author: amdmi3 Date: Sat Dec 21 01:13:22 2013 New Revision: 337115 URL: http://svnweb.freebsd.org/changeset/ports/337115 Log: - Support staging - Convert USE_GMAKE to USES - Use new LIB_DEPENDS syntax - Fix DOS2UNIX to not corrupt unrelated files Deleted: head/games/stransball2/pkg-plist Modified: head/games/stransball2/Makefile Modified: head/games/stransball2/Makefile ============================================================================== --- head/games/stransball2/Makefile Sat Dec 21 01:05:38 2013 (r337114) +++ head/games/stransball2/Makefile Sat Dec 21 01:13:22 2013 (r337115) @@ -12,19 +12,20 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION:C/\ MAINTAINER= amdmi3@FreeBSD.org COMMENT= A sequel to Transball and Transball 2 THRUST-type games -LIB_DEPENDS= SGE:${PORTSDIR}/devel/sdl_sge +LIB_DEPENDS= libSGE.so:${PORTSDIR}/devel/sdl_sge USE_ZIP= yes -USE_GMAKE= yes +USES= gmake dos2unix +DOS2UNIX_FILES= sources/main.cpp USE_SDL= sdl image mixer sound -USE_DOS2UNIX= yes BUILD_WRKSRC= ${WRKSRC}/sources -PORTDOCS= readme.txt +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * +PORTDOCS= * -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS post-extract: @${RM} -f ${WRKSRC}/sound/WS_FTP.LOG @@ -36,15 +37,9 @@ post-patch: s|"maps"|"${DATADIR}/maps"|g' do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/stransball2 ${PREFIX}/bin - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${DATADIR} - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${STAGEDIR}${DATADIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/ .include