diff options
author | drochner <drochner> | 2002-01-28 17:35:39 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-01-28 17:35:39 +0000 |
commit | 5672e4ca5d16d5ebfa7c887b648fb58afa162d13 (patch) | |
tree | bf559eea1855819c5f43b15cd4f6dcbdb734c9f1 /x11/py-Pmw | |
parent | 69297e0b348f92129b0053accc51c33676a43b63 (diff) | |
download | pkgsrc-5672e4ca5d16d5ebfa7c887b648fb58afa162d13.tar.gz |
move buildlink file for py-Tk and remove Python version deoendencies
Diffstat (limited to 'x11/py-Pmw')
-rw-r--r-- | x11/py-Pmw/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/x11/py-Pmw/Makefile b/x11/py-Pmw/Makefile index 4c68f5435fa..0bf4fe9e2aa 100644 --- a/x11/py-Pmw/Makefile +++ b/x11/py-Pmw/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2001/05/19 03:56:41 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2002/01/28 17:35:39 drochner Exp $ # DISTNAME= Pmw.0.8.5 -PKGNAME= py-Pmw-0.8.5 +PKGNAME= ${PYPKGPREFIX}-Pmw-0.8.5 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmw/} @@ -10,23 +10,21 @@ MAINTAINER= lukem@netbsd.org HOMEPAGE= http://pmw.sourceforge.net/ COMMENT= python meta widgets -DEPENDS+= py-Tk>=2.0:../py-Tk - PLIST_SRC= ${WRKDIR}/.PLIST_SRC -SITE_PKG= lib/python2.0/site-packages -PYTHON_LIBDIR= ${LOCALBASE}/${SITE_PKG} do-build: do-install: (cd ${WRKDIR}; ${FIND} Pmw -type d | \ - sed -e 's,^,${PREFIX}/${SITE_PKG}/,' | ${XARGS} ${INSTALL_DATA_DIR}) + sed -e 's,^,${PREFIX}/${PYSITELIB}/,' | ${XARGS} ${INSTALL_DATA_DIR}) (cd ${WRKDIR}; for f in `${FIND} Pmw -type f`; do \ - ${INSTALL_DATA} $$f ${PREFIX}/${SITE_PKG}/$$f; done) + ${INSTALL_DATA} $$f ${PREFIX}/${PYSITELIB}/$$f; done) ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} - (cd ${PREFIX}; ${FIND} ${SITE_PKG}/Pmw \ + (cd ${PREFIX}; ${FIND} ${PYSITELIB}/Pmw \ -type f -print >>${PLIST_SRC}) - (cd ${PREFIX}; ${FIND} -d ${SITE_PKG}/Pmw \ + (cd ${PREFIX}; ${FIND} -d ${PYSITELIB}/Pmw \ -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) +.include "../../lang/python/extension.buildlink.mk" +.include "../../x11/py-Tk/buildlink.mk" .include "../../mk/bsd.pkg.mk" |