pkgsrc/games/pysolfc/Makefile
adam e96c4d490e pysolfc: updated to 2.6.4
2.6.4:
Unknown changes

2.6.2:
Fixes for the Windows and macOS packages.
Forbid illegal moves in Spider and some other variants.

2.6.0:
Support for solving Golf using a solver
An untested macOS package (we need testers)
A bug fix
Ability to run the test suite without python 2.x and/or pygtk
Code cleanups.

2.4.0:
The Windows installer now includes the revitalised PySol-music package. For more info, see this bug.
Many improvements to the test suite and the board import functionality.
Some bug fixes.

2.2.0:
The Microsoft Windows binary installer now contains and supports the solver for Freecell and other games.
Many bug fixes.

2.1.4:
We now provide a Microsoft Windows binary installer again, thanks to the great work of Roderik Ploszek. Note that the solvers (for FreeCell/etc.) are not installed as part of it yet, but they are available separately.
pysol-sound-server was updated to support Python 3.x.
Fixes for the board export / solver input, and for redealing upon restart of the "ms*" deals.
Various cleanups.

2.1.3:
Support for the kivy toolkit for running under Android-based devices (currently python 2.7-only)
Fixed the help system and removed the need for the sgmllib module.
Other fixes and cleanups.
Currently there is no Microsoft Windows binary package. Help or insights will be appreciated.

2.1.0:
The code is now compatible with both Python 2.7.x and Python 3.x
One can deal all MS FreeCell/FC-pro deals by specifying e.g: "ms100000" as the seed.
Support for Black Hole and All in a Row solver was added.
Test suite and CI were added to the repository.
The code now passes flake8 validation.
Some improvements to the solver dialog.
2019-06-06 21:53:44 +00:00

45 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2019/06/06 21:53:44 adam Exp $
DISTNAME= PySolFC-2.6.4
PKGNAME= ${DISTNAME:tl}
CATEGORIES= games python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysolfc/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pysolfc.sourceforge.io/
COMMENT= Over 1000 solitaire games
LICENSE= gnu-gpl-v3
CARDSETS_NAME= PySolFC-Cardsets-2.0
DISTFILES= ${DEFAULT_DISTFILES}
DISTFILES+= ${CARDSETS_NAME}.tar.bz2
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
DEPENDS+= ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
USE_TOOLS+= pax
SUBST_CLASSES+= datadir
SUBST_STAGE.datadir= pre-configure
SUBST_MESSAGE.datadir= Use custom data dir.
SUBST_FILES.datadir= pysollib/settings.py
SUBST_SED.datadir= -e 's,@DATADIR@,${PREFIX}/share/PySolFC,'
INSTALLATION_DIRS+= ${PKGMANDIR}/man6
PLIST_SRC= PLIST ${WRKDIR}/PLIST.CS
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/pysol.6 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/pysol.py.6
${INSTALL_MAN} ${WRKSRC}/docs/pysolfc.6 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/pysolfc.6
cd ${WRKDIR}/${CARDSETS_NAME} && \
${PAX} -rw . ${DESTDIR}${PREFIX}/share/PySolFC/ && \
${FIND} . -type f -print | ${SED} -e 's,^\.,share/PySolFC,' > ${WRKDIR}/PLIST.CS
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"