aboutsummaryrefslogtreecommitdiffstats
path: root/games/pysol
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-04-20 16:59:59 +0800
committertg <tg@FreeBSD.org>2000-04-20 16:59:59 +0800
commit4feb43fac2ced17bad535d6ca980cde1bd9a89a0 (patch)
tree350e7ec99b42e1d75c4754b9936255957ddb0260 /games/pysol
parent85148d3c73ee0025e430fd6eb58b4020d822c2b9 (diff)
downloadfreebsd-ports-gnome-4feb43fac2ced17bad535d6ca980cde1bd9a89a0.tar.gz
freebsd-ports-gnome-4feb43fac2ced17bad535d6ca980cde1bd9a89a0.tar.zst
freebsd-ports-gnome-4feb43fac2ced17bad535d6ca980cde1bd9a89a0.zip
Upgrade to 4.10.
PR: 18085 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'games/pysol')
-rw-r--r--games/pysol/Makefile13
-rw-r--r--games/pysol/distinfo2
-rw-r--r--games/pysol/pkg-descr3
-rw-r--r--games/pysol/pkg-plist3
4 files changed, 14 insertions, 7 deletions
diff --git a/games/pysol/Makefile b/games/pysol/Makefile
index 7a3f9afaca3e..84766b6bf8e3 100644
--- a/games/pysol/Makefile
+++ b/games/pysol/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pysol
-PORTVERSION= 4.00
+PORTVERSION= 4.10
CATEGORIES= games
MASTER_SITES= http://wildsau.idv.uni-linz.ac.at/mfx/download/pysol/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CARDSETS}${EXTRACT_SUFX}
@@ -15,12 +15,23 @@ MAINTAINER= tg@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+.if defined(WITH_SOUND)
+RUN_DEPENDS+= ${LOCALBASE}/lib/python1.5/site-packages/pysolsoundservermodule.so:${PORTSDIR}/audio/pysol-sound-server
+.endif
+
NO_BUILD= yes
MAN6= pysol.6
CARDSETS= pysol-cardsets-3.40
+.if !defined(WITH_SOUND)
+post-extract:
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want install sound support please use \"make -DWITH_SOUND\""
+ @${ECHO_MSG}
+.endif
+
do-install:
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" < ${WRKSRC}/pysol > ${PREFIX}/bin/pysol
${CHMOD} +x ${PREFIX}/bin/pysol
diff --git a/games/pysol/distinfo b/games/pysol/distinfo
index 33caa83488d3..411f083902db 100644
--- a/games/pysol/distinfo
+++ b/games/pysol/distinfo
@@ -1,2 +1,2 @@
-MD5 (pysol-4.00.tar.gz) = df7417195334ce581557b749c0e466ed
+MD5 (pysol-4.10.tar.gz) = d53c4ed1f3129a667dd270b9367c0d34
MD5 (pysol-cardsets-3.40.tar.gz) = e7eda702f3cd1ba319b5f254aeea32b7
diff --git a/games/pysol/pkg-descr b/games/pysol/pkg-descr
index 9ad7b51626b7..72e979244792 100644
--- a/games/pysol/pkg-descr
+++ b/games/pysol/pkg-descr
@@ -1,6 +1,4 @@
-============================================================================
PySol - a Python Solitaire Game
-============================================================================
Highlights:
-----------
@@ -22,4 +20,3 @@ Markus
WWW: http://pysol.tsx.org/
http://wildsau.idv.uni-linz.ac.at/mfx/pysol.html
-
diff --git a/games/pysol/pkg-plist b/games/pysol/pkg-plist
index e15b3d577102..06f7b0316a6e 100644
--- a/games/pysol/pkg-plist
+++ b/games/pysol/pkg-plist
@@ -5038,10 +5038,8 @@ share/pysol/html/rules/fallingstar.html
share/pysol/html/rules/fan.html
share/pysol/html/rules/fifteenplus.html
share/pysol/html/rules/flowerclock.html
-share/pysol/html/rules/flyingdragon.html
share/pysol/html/rules/forecell.html
share/pysol/html/rules/fortress.html
-share/pysol/html/rules/fortresstowers.html
share/pysol/html/rules/fortyandeight.html
share/pysol/html/rules/fortythieves.html
share/pysol/html/rules/fourteen.html
@@ -5074,6 +5072,7 @@ share/pysol/html/rules/ladypalk.html
share/pysol/html/rules/larasgame.html
share/pysol/html/rules/littleforty.html
share/pysol/html/rules/lucas.html
+share/pysol/html/rules/mahjongg.html
share/pysol/html/rules/maria.html
share/pysol/html/rules/martha.html
share/pysol/html/rules/matriarchy.html