aboutsummaryrefslogtreecommitdiff
path: root/games/pysol/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-04-20 08:59:59 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-04-20 08:59:59 +0000
commita7ef3f18dc984b78ee935642a7f6737568af9124 (patch)
treeb4fa1c35bce0213cfae1c728a875dc6c8fb0d31e /games/pysol/Makefile
parentfd7d079a2e1a87910fc7dabf6ca8a9579d798e02 (diff)
downloadports-a7ef3f18dc984b78ee935642a7f6737568af9124.tar.gz
ports-a7ef3f18dc984b78ee935642a7f6737568af9124.zip
Notes
Diffstat (limited to 'games/pysol/Makefile')
-rw-r--r--games/pysol/Makefile13
1 files changed, 12 insertions, 1 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