pkgsrc/x11/py-Pmw/Makefile
2008-06-12 02:14:13 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2008/06/12 02:14:57 joerg Exp $
#
DISTNAME= Pmw.1.2
PKGNAME= ${PYPKGPREFIX}-Pmw-1.2
PKGREVISION= 1
CATEGORIES= x11 python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmw/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pmw.sourceforge.net/
COMMENT= Python meta widgets
PKG_DESTDIR_SUPPORT= user-destdir
PYTHON_VERSIONS_ACCEPTED= 25 24 23 21
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
WRKSRC= ${WRKDIR}/Pmw
NO_BUILD= yes
do-install:
(cd ${WRKDIR}; ${FIND} Pmw -type d -print | \
${SED} -e 's,^,${DESTDIR}${PREFIX}/${PYSITELIB}/,' | ${XARGS} -n 1 ${INSTALL_DATA_DIR})
(cd ${WRKDIR}; for f in `${FIND} Pmw -type f -print`; do \
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/${PYSITELIB}/$$f; done)
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
(cd ${DESTDIR}${PREFIX}; ${FIND} ${PYSITELIB}/Pmw \
-type f -print >>${PLIST_SRC})
(cd ${DESTDIR}${PREFIX}; ${FIND} -d ${PYSITELIB}/Pmw \
-type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
.include "../../lang/python/extension.mk"
.include "../../x11/py-Tk/buildlink3.mk"
.include "../../x11/blt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"