- Update to 0.8.2
- Fix installation when user sets NO_INSTALL_MANPAGES - Use ${MASTER_SITE_GOOGLE_CODE} as primary download site - Use versioned Python command in the bang line of the scripts
This commit is contained in:
parent
3aaf426837
commit
d0287ad588
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216602
@ -6,12 +6,12 @@
|
||||
#
|
||||
|
||||
PORTNAME= pychess
|
||||
DISTVERSION= 0.8beta4
|
||||
PORTVERSION= 0.8.2
|
||||
#PORTREVISION= 0
|
||||
#PORTEPOCH= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://nivi.interfree.it/distfiles/${PORTNAME}/
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
|
||||
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
@ -35,15 +35,17 @@ USE_GETTEXT= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
REINPLACE_ARGS= -i.bak -e 's,%%PREFIX%%,${PREFIX},' -e 's,share/games/pychess,${DATADIR},'
|
||||
REINPLACE_ARGS= -i.bak -e 's,%%PREFIX%%,${PREFIX},' -e 's,share/games/pychess,${DATADIR},' -e '1s,/usr/bin/env python,&${PYTHON_VER},'
|
||||
|
||||
.if !defined(NO_INSTALL_MANPAGES)
|
||||
MAN1= ${PORTNAME}.1
|
||||
MANCOMPRESSED= yes
|
||||
.else
|
||||
MAKE_ENV+= NO_INSTALL_MANPAGES=${NO_INSTALL_MANPAGES}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} ${PORTNAME} ${PYSETUP}
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} ${PORTNAME} ${PYSETUP} lib/pychess/Utils/Move.py
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (pychess-0.8beta4.tar.gz) = f88e71edbe19b8199c4a910203fe819c
|
||||
SHA256 (pychess-0.8beta4.tar.gz) = 4195257b9a44700405af601f919e99b3a559745d6f4c4f47a3172a1931392ba1
|
||||
SIZE (pychess-0.8beta4.tar.gz) = 1083040
|
||||
MD5 (pychess-0.8.2.tar.gz) = 3faf48b9704d29bc7fc508c9e63b7d1a
|
||||
SHA256 (pychess-0.8.2.tar.gz) = e88a88dc59dbf34939414c63c380894ca793b7cd7077c56eb1bb872fad6bad3f
|
||||
SIZE (pychess-0.8.2.tar.gz) = 1113567
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
# Manpages
|
||||
-DATA_FILES += [('share/man/man1', ['manpages/pychess.1.gz'])]
|
||||
+if not os.getenv('NO_INSTALL_MANPAGES'):
|
||||
+if not os.environ.has_key('NO_INSTALL_MANPAGES'):
|
||||
+ DATA_FILES += [('man/man1', ['manpages/pychess.1.gz'])]
|
||||
|
||||
# Language
|
||||
|
@ -286,6 +286,37 @@ bin/pychess
|
||||
%%PYTHON_SITELIBDIR%%/pychess/widgets/tipOfTheDay.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pychess/widgets/tipOfTheDay.pyo
|
||||
share/applications/pychess.desktop
|
||||
share/gtksourceview-1.0/language-specs/pgn.lang
|
||||
share/icons/hicolor/24x24/apps/pychess.png
|
||||
share/icons/hicolor/scalable/apps/pychess.svg
|
||||
share/locale/az/LC_MESSAGES/pychess.mo
|
||||
share/locale/bg/LC_MESSAGES/pychess.mo
|
||||
share/locale/ca/LC_MESSAGES/pychess.mo
|
||||
share/locale/cs/LC_MESSAGES/pychess.mo
|
||||
share/locale/da/LC_MESSAGES/pychess.mo
|
||||
share/locale/de/LC_MESSAGES/pychess.mo
|
||||
share/locale/el/LC_MESSAGES/pychess.mo
|
||||
share/locale/es/LC_MESSAGES/pychess.mo
|
||||
share/locale/et/LC_MESSAGES/pychess.mo
|
||||
share/locale/eu/LC_MESSAGES/pychess.mo
|
||||
share/locale/fr/LC_MESSAGES/pychess.mo
|
||||
share/locale/gl/LC_MESSAGES/pychess.mo
|
||||
share/locale/he/LC_MESSAGES/pychess.mo
|
||||
share/locale/hi/LC_MESSAGES/pychess.mo
|
||||
share/locale/hr/LC_MESSAGES/pychess.mo
|
||||
share/locale/hu/LC_MESSAGES/pychess.mo
|
||||
share/locale/it/LC_MESSAGES/pychess.mo
|
||||
share/locale/ja/LC_MESSAGES/pychess.mo
|
||||
share/locale/nl/LC_MESSAGES/pychess.mo
|
||||
share/locale/pl/LC_MESSAGES/pychess.mo
|
||||
share/locale/pt/LC_MESSAGES/pychess.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/pychess.mo
|
||||
share/locale/ro/LC_MESSAGES/pychess.mo
|
||||
share/locale/ru/LC_MESSAGES/pychess.mo
|
||||
share/locale/sv/LC_MESSAGES/pychess.mo
|
||||
share/locale/tr/LC_MESSAGES/pychess.mo
|
||||
share/locale/wa/LC_MESSAGES/pychess.mo
|
||||
share/pixmaps/pychess.svg
|
||||
%%DATADIR%%/AUTHORS
|
||||
%%DATADIR%%/LICENSE
|
||||
%%DATADIR%%/README
|
||||
@ -539,45 +570,17 @@ share/applications/pychess.desktop
|
||||
%%DATADIR%%/sidepanel/history.glade
|
||||
%%DATADIR%%/sidepanel/historyPanel.py
|
||||
%%DATADIR%%/sidepanel/scorePanel.py
|
||||
share/gtksourceview-1.0/language-specs/pgn.lang
|
||||
share/icons/hicolor/24x24/apps/pychess.png
|
||||
share/icons/hicolor/scalable/apps/pychess.svg
|
||||
share/locale/az/LC_MESSAGES/pychess.mo
|
||||
share/locale/ca/LC_MESSAGES/pychess.mo
|
||||
share/locale/cs/LC_MESSAGES/pychess.mo
|
||||
share/locale/da/LC_MESSAGES/pychess.mo
|
||||
share/locale/de/LC_MESSAGES/pychess.mo
|
||||
share/locale/el/LC_MESSAGES/pychess.mo
|
||||
share/locale/es/LC_MESSAGES/pychess.mo
|
||||
share/locale/et/LC_MESSAGES/pychess.mo
|
||||
share/locale/fr/LC_MESSAGES/pychess.mo
|
||||
share/locale/gl/LC_MESSAGES/pychess.mo
|
||||
share/locale/he/LC_MESSAGES/pychess.mo
|
||||
share/locale/hi/LC_MESSAGES/pychess.mo
|
||||
share/locale/hu/LC_MESSAGES/pychess.mo
|
||||
share/locale/it/LC_MESSAGES/pychess.mo
|
||||
share/locale/ja/LC_MESSAGES/pychess.mo
|
||||
share/locale/nl/LC_MESSAGES/pychess.mo
|
||||
share/locale/pl/LC_MESSAGES/pychess.mo
|
||||
share/locale/pt/LC_MESSAGES/pychess.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/pychess.mo
|
||||
share/locale/ro/LC_MESSAGES/pychess.mo
|
||||
share/locale/ru/LC_MESSAGES/pychess.mo
|
||||
share/locale/sv/LC_MESSAGES/pychess.mo
|
||||
share/locale/tr/LC_MESSAGES/pychess.mo
|
||||
share/locale/wa/LC_MESSAGES/pychess.mo
|
||||
share/pixmaps/pychess.svg
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Players
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Savers
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/System
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Utils/lutils
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Utils
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/gfx
|
||||
@dirrm %%DATADIR%%/sidepanel
|
||||
@dirrm %%DATADIR%%/glade
|
||||
@dirrm %%DATADIR%%/flags
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/widgets
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/ic/managers
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/ic
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/widgets
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/gfx
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Utils/lutils
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Utils
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/System
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Savers
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess/Players
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pychess
|
||||
@dirrm %%DATADIR%%/flags
|
||||
@dirrm %%DATADIR%%/glade
|
||||
@dirrm %%DATADIR%%/sidepanel
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user