svn commit: r366368 - in head/games/slune: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Aug 28 02:56:30 UTC 2014
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list