summaryrefslogtreecommitdiff
path: root/games/pysol/Makefile
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-12-23 08:07:04 +0000
committersakamoto <sakamoto>1999-12-23 08:07:04 +0000
commitb04093efc467afd68cef7ccd84af04c7b97e7d72 (patch)
tree6df4380edc3b49ed209e79f7563ee813b1f9c736 /games/pysol/Makefile
parent474072aa8d31f3a71c16fb65d8ce9a7251155706 (diff)
downloadpkgsrc-b04093efc467afd68cef7ccd84af04c7b97e7d72.tar.gz
Update pysol to 3.10
what's new: * Implemented 17 new games. * Added sound support including samples and background MP3/MOD music. Sound is implemented by a rather generic server (a C program) using the SDL library for low-level mixing and playing. * Wrote some really fancy tree dialogs - Python programmers will definitely love these :-) * Added 19 great cardsets to pysol-cardsets. Many thanks to T. Kirk.
Diffstat (limited to 'games/pysol/Makefile')
-rw-r--r--games/pysol/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/games/pysol/Makefile b/games/pysol/Makefile
index e275cae2f16..2bff4ab0f38 100644
--- a/games/pysol/Makefile
+++ b/games/pysol/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 1999/12/14 00:44:51 sakamoto Exp $
+# $NetBSD: Makefile,v 1.3 1999/12/23 08:07:04 sakamoto Exp $
# FreeBSD Id: ports/games/pysol/Makefile,v 1.20 1999/12/08 11:01:01 tg Exp
-DISTNAME= pysol-3.00
+DISTNAME= pysol-3.10
CATEGORIES= games
MASTER_SITES= http://wildsau.idv.uni-linz.ac.at/mfx/download/pysol/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CARDSETS}${EXTRACT_SUFX}
@@ -12,8 +12,9 @@ HOMEPAGE= http://wildsau.idv.uni-linz.ac.at/mfx/pysol.html
DEPENDS+= py-Tk-*:../../x11/py-Tk
NO_BUILD= yes
+PLIST_SRC= ${WRKDIR}/PLIST.src
-CARDSETS= pysol-cardsets-3.00
+CARDSETS= pysol-cardsets-3.10
do-install:
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" < ${WRKSRC}/pysol > ${PREFIX}/bin/pysol
@@ -25,4 +26,13 @@ do-install:
(cd ${WRKDIR}/${CARDSETS}/data; tar cf - *) | \
(cd ${PREFIX}/share/pysol; tar xf -)
+post-install:
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ @(cd ${PREFIX}; \
+ find share/pysol \( -type f -or -type l \) | \
+ sort >> ${PLIST_SRC}; \
+ for DIR in `find share/pysol -type d | sort -r`; do \
+ ${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \
+ done)
+
.include "../../mk/bsd.pkg.mk"