summaryrefslogtreecommitdiff
path: root/games/pysol/Makefile
diff options
context:
space:
mode:
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"