summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordrochner <drochner>2002-01-28 17:38:44 +0000
committerdrochner <drochner>2002-01-28 17:38:44 +0000
commitfe643848c1d7d136794e40932faf4135f49edf4d (patch)
tree7823a10e21bf06850c5746460c1f68a9bf42afc8 /games
parentece641c99e58faaf7f77255467053a2b2f547cc7 (diff)
downloadpkgsrc-fe643848c1d7d136794e40932faf4135f49edf4d.tar.gz
use buildlink files for Python and py-Tk
Diffstat (limited to 'games')
-rw-r--r--games/pysol/Makefile10
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"