diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-28 17:38:44 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-28 17:38:44 +0000 |
commit | 91609a68179298bc78887c113d25adc70dce78ae (patch) | |
tree | 7823a10e21bf06850c5746460c1f68a9bf42afc8 | |
parent | 8468b5bafbbbd5636592f1dbe927ca69b104ab57 (diff) | |
download | pkgsrc-91609a68179298bc78887c113d25adc70dce78ae.tar.gz |
use buildlink files for Python and py-Tk
-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" |