diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/pysol/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/pysol/Makefile b/games/pysol/Makefile index ef18dc06c5d..ecb562baa8e 100644 --- a/games/pysol/Makefile +++ b/games/pysol/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2001/09/27 23:18:07 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2002/01/28 17:38:44 drochner Exp $ # FreeBSD Id: ports/games/pysol/Makefile,v 1.20 1999/12/08 11:01:01 tg Exp DISTNAME= pysol-4.72 @@ -11,15 +11,15 @@ MAINTAINER= sakamoto@netbsd.org HOMEPAGE= http://wildsau.idv.uni-linz.ac.at/mfx/pysol.html COMMENT= Solitaire game, written in Python -DEPENDS+= py-Tk-[0-9]*:../../x11/py-Tk - NO_BUILD= yes PLIST_SRC= ${WRKDIR}/PLIST.src CARDSETS= pysol-cardsets-4.40 do-install: - ${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" < ${WRKSRC}/pysol > ${PREFIX}/bin/pysol + ${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" \ + -e "s|python|${PYTHONBIN}|" \ + < ${WRKSRC}/pysol > ${PREFIX}/bin/pysol ${CHMOD} +x ${PREFIX}/bin/pysol ${INSTALL_DATA} ${WRKSRC}/pysol.6 ${PREFIX}/man/man6 @${INSTALL_DATA_DIR} ${PREFIX}/share/pysol @@ -37,4 +37,6 @@ post-install: ${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \ done) +.include "../../lang/python/application.buildlink.mk" +.include "../../x11/py-Tk/buildlink.mk" .include "../../mk/bsd.pkg.mk" |