From owner-svn-ports-head@FreeBSD.ORG Thu Aug 28 02:56:30 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 A6386C88; Thu, 28 Aug 2014 02:56:30 +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 8606B3E86; Thu, 28 Aug 2014 02:56:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7S2uUu1050216; Thu, 28 Aug 2014 02:56:30 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7S2uUL9050214; Thu, 28 Aug 2014 02:56:30 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201408280256.s7S2uUL9050214@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Thu, 28 Aug 2014 02:56:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366368 - in head/games/slune: . files 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-1 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: Thu, 28 Aug 2014 02:56:30 -0000 Author: vanilla Date: Thu Aug 28 02:56:29 2014 New Revision: 366368 URL: http://svnweb.freebsd.org/changeset/ports/366368 QAT: https://qat.redports.org/buildarchive/r366368/ Log: Support STAGEDIR PR: ports/193034 Submitted by: Ports Fury. Deleted: head/games/slune/files/ head/games/slune/pkg-plist Modified: head/games/slune/Makefile head/games/slune/pkg-descr Modified: head/games/slune/Makefile ============================================================================== --- head/games/slune/Makefile Thu Aug 28 02:49:31 2014 (r366367) +++ head/games/slune/Makefile Thu Aug 28 02:56:29 2014 (r366368) @@ -11,22 +11,25 @@ DISTNAME= Slune-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= 3D game. includes racing, car-crashing, and lots of action -RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \ - ${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal \ - ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis \ - ${PYTHON_SITELIBDIR}/py2play/level.py:${PORTSDIR}/net-p2p/py-py2play +LICENSE= GPLv2 + LIB_DEPENDS= libcal3d.so:${PORTSDIR}/graphics/cal3d +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openal>0:${PORTSDIR}/audio/py-openal \ + ${PYTHON_PKGNAMEPREFIX}vorbis>0:${PORTSDIR}/audio/py-vorbis \ + ${PYTHON_PKGNAMEPREFIX}soya3d>0:${PORTSDIR}/graphics/py-soya3d \ + ${PYTHON_PKGNAMEPREFIX}py2play>0:${PORTSDIR}/net-p2p/py-py2play +USES= dos2unix gettext python tar:bzip2 DOS2UNIX_GLOB= *.po *.mo -USES= dos2unix gettext tar:bzip2 -USE_PYTHON= yes -USE_PYDISTUTILS= yes USE_GL= glew USE_SDL= sdl mixer +USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= Slune PYDISTUTILS_EGGINFODIR= ${PREFIX}/share +PORTDOCS= README + DESKTOP_ENTRIES= "Slune" \ "3D racing game" \ "${DATADIR}/images/slune.48.png" \ @@ -34,7 +37,8 @@ DESKTOP_ENTRIES= "Slune" \ "Game;ArcadeGame;" \ false -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-extract: .for FILE in slune.po.orig slune.po.rej @${RM} ${WRKSRC}/locale/es/LC_MESSAGES/${FILE} @@ -45,12 +49,15 @@ post-extract: .endfor post-patch: - @${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.cfg + @${REINPLACE_CMD} -e \ + '/install-purelib/s|=.*|= ${PREFIX}/share| ; \ + /install-scripts/s|=.*|= ${PREFIX}/lib| ; \ + /install-data/s|=.*|= ${PREFIX}/share|' ${WRKSRC}/setup.cfg + @${REINPLACE_CMD} -e \ + '/LC_MESSAGES/s|".",||' ${WRKSRC}/setup.py post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Modified: head/games/slune/pkg-descr ============================================================================== --- head/games/slune/pkg-descr Thu Aug 28 02:49:31 2014 (r366367) +++ head/games/slune/pkg-descr Thu Aug 28 02:56:29 2014 (r366368) @@ -2,4 +2,4 @@ Slune is a fun action 3D game where race and corrosive humour are all waiting for you! Slune is Free Software, under the GNU GPL license, and is a Nekeme Prod. game -WWW: http://home.gna.org/oomadness/en/slune/index.html +WWW: http://www.lesfleursdunormal.fr/static/informatique/old/slune/index_en.html