aboutsummaryrefslogtreecommitdiff
path: root/games/slune
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2019-08-05 11:28:37 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2019-08-05 11:28:37 +0000
commiteb9e4b6680a73e000658735c81baffa280cd6b19 (patch)
treecdbeff9fe9e8ccaa131f7a1465836f500ece0e6c /games/slune
parentf7bf3580eb048a066cff4345ffe89d3e7f2a6e38 (diff)
downloadports-eb9e4b6680a73e000658735c81baffa280cd6b19.tar.gz
ports-eb9e4b6680a73e000658735c81baffa280cd6b19.zip
Notes
Diffstat (limited to 'games/slune')
-rw-r--r--games/slune/Makefile30
-rw-r--r--games/slune/distinfo5
2 files changed, 18 insertions, 17 deletions
diff --git a/games/slune/Makefile b/games/slune/Makefile
index d3cabb0d4e0a..9fb569d34711 100644
--- a/games/slune/Makefile
+++ b/games/slune/Makefile
@@ -2,26 +2,24 @@
# $FreeBSD$
PORTNAME= slune
-PORTVERSION= 1.0.15
-PORTREVISION= 9
+PORTVERSION= 1.0.16
CATEGORIES= games python
-MASTER_SITES= http://download.gna.org/slune/
+MASTER_SITES= CHEESESHOP
DISTNAME= Slune-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= 3D game. includes racing, car-crashing, and lots of action
+COMMENT= 3D racing game with car-crashing and lots of action
LICENSE= GPLv2
-BROKEN= unfetchable
-
LIB_DEPENDS= libcal3d.so:graphics/cal3d
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openal>0:audio/py-openal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}vorbis>0:audio/py-vorbis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}soya3d>0:graphics/py-soya3d@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}py2play>0:net-p2p/py-py2play@${PY_FLAVOR}
-USES= dos2unix gettext python:2.7 tar:bzip2
+USES= dos2unix gettext python:2.7
+
DOS2UNIX_GLOB= *.po *.mo
USE_GL= glew
USE_SDL= sdl mixer
@@ -30,6 +28,8 @@ USE_PYTHON= autoplist distutils
PYDISTUTILS_PKGNAME= Slune
PYDISTUTILS_EGGINFODIR= ${PREFIX}/share
+PLIST_FILES= man/man6/slune.6.gz
+
PORTDOCS= README
DESKTOP_ENTRIES= "Slune" \
@@ -42,24 +42,24 @@ DESKTOP_ENTRIES= "Slune" \
OPTIONS_DEFINE= DOCS
post-extract:
-.for FILE in slune.po.orig slune.po.rej
- @${RM} ${WRKSRC}/locale/es/LC_MESSAGES/${FILE}
-.endfor
-
-.for FILE in slune.po-0 slune.sl.mo slune.sl.po slune2.mo slune2.po
- @${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/${FILE}
-.endfor
+ ${RM} ${WRKSRC}/locale/es/LC_MESSAGES/slune.po.*
+ ${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/slune.sl.*
+ ${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/slune2.*
+ ${RM} ${WRKSRC}/locale/sl/LC_MESSAGES/slune.po-0
post-patch:
@${REINPLACE_CMD} -e \
'/install-purelib/s|=.*|= ${PREFIX}/share| ; \
- /install-scripts/s|=.*|= ${PREFIX}/lib| ; \
+ /install-scripts/s|=.*|= ${PREFIX}/bin| ; \
/install-data/s|=.*|= ${PREFIX}/share|' ${WRKSRC}/setup.cfg
@${REINPLACE_CMD} -e \
'/LC_MESSAGES/s|".",||' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e \
+ '/VERSION/s,1.0.15,${PORTVERSION},' ${WRKSRC}/globdef.py
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_MAN} ${WRKSRC}/manpage/man6/slune.6 ${STAGEDIR}${MANPREFIX}/man/man6
.include <bsd.port.mk>
diff --git a/games/slune/distinfo b/games/slune/distinfo
index f7b1953c7de7..3e01c9b488b5 100644
--- a/games/slune/distinfo
+++ b/games/slune/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Slune-1.0.15.tar.bz2) = a982f1af18937a3429cee82cff9315838f508dfb71116ba08519cdfa6ed4dfa4
-SIZE (Slune-1.0.15.tar.bz2) = 9549694
+TIMESTAMP = 1564997482
+SHA256 (Slune-1.0.16.tar.gz) = 3b12ed467b168cafa64d717e177608d401e8a06447f082ad820e7fb5c3c03e15
+SIZE (Slune-1.0.16.tar.gz) = 45470566