- 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)
This commit is contained in:
parent
b44a394939
commit
c729cef42c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344917
1
MOVED
1
MOVED
@ -5456,3 +5456,4 @@ deskutils/kdepim44-runtime||2014-02-18|Removed: conflicts with new kdepimlibs
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Created by: janos.mohacsi@bsd.hu
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ski
|
||||
PORTVERSION= 6.5
|
||||
CATEGORIES= games python
|
||||
MASTER_SITES= http://catb.org/~esr/ski/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= jmohacsi@bsd.hu
|
||||
COMMENT= Skiing simulation with curses interface in python
|
||||
|
||||
USE_PYTHON= yes
|
||||
NO_BUILD= yes
|
||||
MAN6= ski.6
|
||||
PLIST_FILES= bin/ski
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ski ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/ski.6 ${PREFIX}/man/man6/
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (ski-6.5.tar.gz) = 346be95447df7eddc3888b5378dbed4bc9cd9136b14839b89c771ca425b7f1ed
|
||||
SIZE (ski-6.5.tar.gz) = 17389
|
43
games/ski/Makefile
Normal file
43
games/ski/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# Created by: janos.mohacsi@bsd.hu
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ski
|
||||
PORTVERSION= 6.7
|
||||
CATEGORIES= games python
|
||||
MASTER_SITES= http://catb.org/~esr/ski/
|
||||
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
||||
${PORTNAME}.png
|
||||
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= nemysis@FreeBSD.org
|
||||
COMMENT= Skiing simulation with curses interface in python
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USE_PYTHON_RUN= yes
|
||||
NO_BUILD= 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}/${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>
|
4
games/ski/distinfo
Normal file
4
games/ski/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
SHA256 (ski-6.7.tar.gz) = 7346f12fcb645e9fe3bd934c552af5e6a0ac149c84642a244d0ebd0405e6cf36
|
||||
SIZE (ski-6.7.tar.gz) = 12175
|
||||
SHA256 (ski.png) = 084423df9c6b37cad54bc4ac0eb0382dcb9f1efb8294e1f25bb49c7d0cc8aa33
|
||||
SIZE (ski.png) = 4314
|
Loading…
Reference in New Issue
Block a user