svn commit: r344917 - in head: . games games/py-ski games/ski
Rusmir Dusko
nemysis at FreeBSD.org
Tue Feb 18 16:02:32 UTC 2014
Author: nemysis
Date: Tue Feb 18 16:02:31 2014
New Revision: 344917
URL: http://svnweb.freebsd.org/changeset/ports/344917
QAT: https://qat.redports.org/buildarchive/r344917/
Log:
- Remove PKGNAMEPREFIX, is stand alone application
- Rename from games/py-ski to games/ski
- Update to 6.7
- Change master sites, add icon
- Take maintainership
- Add license (BSD3CLAUSE)
- Change USE_PYTHON=yes to USE_PYTHON_RUN=yes
- Support STAGEDIR
- Change PLIST_FILE
- Add DOCS and Option
- Fix the usage of 'python' to get rid of the implicit lang/python dependency
- Add files/ski.desktop
PR: ports/185134
Submitted by: nemysis (self)
Reviewed by: maintainer timeout (22 days)
Added:
head/games/ski/
- copied from r344910, head/games/py-ski/
Deleted:
head/games/py-ski/
Modified:
head/MOVED
head/games/Makefile
head/games/ski/Makefile
head/games/ski/distinfo
Modified: head/MOVED
==============================================================================
--- head/MOVED Tue Feb 18 15:59:29 2014 (r344916)
+++ head/MOVED Tue Feb 18 16:02:31 2014 (r344917)
@@ -5456,3 +5456,4 @@ deskutils/kdepim44-runtime||2014-02-18|R
deskutils/kdepim44||2014-02-18|Removed: depends on deskutils/kdepim44-runtime
misc/kde-xdg-env||2014-02-18|Removed, remnant of KDE 3
lang/g95||2014-02-18|Removed, uses an old version of GCC which can't be built anymore
+games/py-ski|games/ski|2014-02-18|Rename to match upstream naming
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Tue Feb 18 15:59:29 2014 (r344916)
+++ head/games/Makefile Tue Feb 18 16:02:31 2014 (r344917)
@@ -759,7 +759,6 @@
SUBDIR += py-pychess
SUBDIR += py-sgflib
SUBDIR += py-sgfsummary
- SUBDIR += py-ski
SUBDIR += pyawale
SUBDIR += pycadia
SUBDIR += pyching
@@ -884,6 +883,7 @@
SUBDIR += simsu
SUBDIR += simutrans
SUBDIR += sjeng
+ SUBDIR += ski
SUBDIR += sl
SUBDIR += slashem-tty
SUBDIR += slump
Modified: head/games/ski/Makefile
==============================================================================
--- head/games/py-ski/Makefile Tue Feb 18 15:37:31 2014 (r344910)
+++ head/games/ski/Makefile Tue Feb 18 16:02:31 2014 (r344917)
@@ -2,22 +2,42 @@
# $FreeBSD$
PORTNAME= ski
-PORTVERSION= 6.5
+PORTVERSION= 6.7
CATEGORIES= games python
MASTER_SITES= http://catb.org/~esr/ski/
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}.png
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
-MAINTAINER= jmohacsi at bsd.hu
+MAINTAINER= nemysis at FreeBSD.org
COMMENT= Skiing simulation with curses interface in python
-USE_PYTHON= yes
+LICENSE= BSD3CLAUSE
+
+USE_PYTHON_RUN= yes
NO_BUILD= yes
-MAN6= ski.6
-PLIST_FILES= bin/ski
-NO_STAGE= yes
+PLIST_FILES= bin/${PORTNAME} \
+ man/man6/${PORTNAME}.6.gz \
+ share/applications/${PORTNAME}.desktop \
+ share/pixmaps/${PORTNAME}.png
+
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
+ ${WRKSRC}/${PORTNAME}
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ski ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/ski.6 ${PREFIX}/man/man6/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${PREFIX}/man/man6/
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/games/ski/distinfo
==============================================================================
--- head/games/py-ski/distinfo Tue Feb 18 15:37:31 2014 (r344910)
+++ head/games/ski/distinfo Tue Feb 18 16:02:31 2014 (r344917)
@@ -1,2 +1,4 @@
-SHA256 (ski-6.5.tar.gz) = 346be95447df7eddc3888b5378dbed4bc9cd9136b14839b89c771ca425b7f1ed
-SIZE (ski-6.5.tar.gz) = 17389
+SHA256 (ski-6.7.tar.gz) = 7346f12fcb645e9fe3bd934c552af5e6a0ac149c84642a244d0ebd0405e6cf36
+SIZE (ski-6.7.tar.gz) = 12175
+SHA256 (ski.png) = 084423df9c6b37cad54bc4ac0eb0382dcb9f1efb8294e1f25bb49c7d0cc8aa33
+SIZE (ski.png) = 4314
More information about the svn-ports-head
mailing list