Upgrade to 4.71.

Submitted by:	sobomax
This commit is contained in:
Thomas Gellekum 2001-05-08 11:53:55 +00:00
parent 56e64a303b
commit e9e51c195b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42402
3 changed files with 14 additions and 22 deletions

View file

@ -6,39 +6,29 @@
#
PORTNAME= pysol
PORTVERSION= 4.60
PORTVERSION= 4.71
CATEGORIES= games
MASTER_SITES= http://wildsau.idv.uni-linz.ac.at/mfx/download/pysol/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= tg
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} pysol.py.bz2
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MASTER_SITES= http://wildsau.idv.uni-linz.ac.at/mfx/download/pysol/
MAINTAINER= tg@FreeBSD.org
BUILD_DEPENDS= bunzip2:${PORTSDIR}/archivers/bzip2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
USE_BZIP2= yes
USE_PYTHON= yes
NO_BUILD= yes
MAN6= pysol.6
post-extract:
${LOCALBASE}/bin/bunzip2 -c ${DISTDIR}/pysol.py.bz2 \
> ${WRKSRC}/pysol.py
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${WRKSRC}
do-install:
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" \
-e "s|^exec python|exec ${PYTHON_CMD}|" \
< ${WRKSRC}/pysol > ${PREFIX}/bin/pysol
${CHMOD} +x ${PREFIX}/bin/pysol
< ${WRKSRC}/pysol > ${WRKDIR}/pysol
${INSTALL_SCRIPT} ${WRKDIR}/pysol ${PREFIX}/bin/pysol
${INSTALL_DATA} ${WRKSRC}/pysol.6 ${PREFIX}/man/man6
@${MKDIR} ${PREFIX}/share/pysol
(cd ${WRKSRC}/data; tar cf - *) | \
(cd ${PREFIX}/share/pysol; tar xf -)
${INSTALL_DATA} ${WRKSRC}/pysol.pyc ${PREFIX}/share/pysol
(cd ${WRKSRC}/data; tar -cf - .) | \
(cd ${PREFIX}/share/pysol; tar --unlink -xf -)
.include <bsd.port.mk>

View file

@ -1,2 +1 @@
MD5 (pysol-4.60.tar.gz) = ca07612bb1c7c604111e11f49abefda7
MD5 (pysol.py.bz2) = 8a5bfdb0b675a8fbecedad1d06240d11
MD5 (pysol-4.71.tar.bz2) = 6c73b5dedf240bd456e642ce1a2eb871

View file

@ -941,6 +941,7 @@ share/pysol/html/rules/thumbandpouch.html
share/pysol/html/rules/tipati.html
share/pysol/html/rules/towerofhanoy.html
share/pysol/html/rules/trefoil.html
share/pysol/html/rules/tripeaks.html
share/pysol/html/rules/unionsquare.html
share/pysol/html/rules/vamana.html
share/pysol/html/rules/varaha.html
@ -987,9 +988,11 @@ share/pysol/music/Bye_For_Now.COPYRIGHT
share/pysol/music/Bye_For_Now.s3m
share/pysol/music/Ranger_Song.COPYRIGHT
share/pysol/music/Ranger_Song.s3m
share/pysol/pysol.pyc
share/pysol/pysol.xbm
share/pysol/pysol.xpm
share/pysol/pysol_15.pyc
share/pysol/pysol_20.pyc
share/pysol/pysol_21.pyc
share/pysol/sound/autodrop.wav
share/pysol/sound/autoflip.wav
share/pysol/sound/deal01.wav