From fd355432e43a012ba45f86f1d6316367e65c2067 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 2 Feb 2012 12:58:47 +0000 Subject: [PATCH] * LICENSE=mit * Any of compiler languages are not required to build. * No need to buildlink with py-Tk, simple DEPENDS is sufficient. * distutils pkg, use lang/python/distutils.mk. * install man pages. Bump PKGREVISION. --- devel/epydoc/Makefile | 17 ++++++++++------- devel/epydoc/PLIST | 5 ++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/devel/epydoc/Makefile b/devel/epydoc/Makefile index d92b31229131..30c4f25801ee 100644 --- a/devel/epydoc/Makefile +++ b/devel/epydoc/Makefile @@ -1,26 +1,29 @@ -# $NetBSD: Makefile,v 1.14 2010/02/10 19:17:35 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2012/02/02 12:58:47 obache Exp $ DISTNAME= epydoc-2.1 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=epydoc/} MAINTAINER= darcy@NetBSD.org HOMEPAGE= http://epydoc.sourceforge.net/ COMMENT= Python documentation framework +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES= #none USE_TOOLS+= pax -PYDISTUTILSPKG= yes - -INSTALLATION_DIRS= share/doc/epydoc +INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/epydoc post-install: + ${INSTALL_MAN} ${WRKSRC}/man/epydoc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/man/epydocgui.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 cd ${WRKSRC}/doc && \ pax -rw -pp -pm . ${DESTDIR}${PREFIX}/share/doc/epydoc -.include "../../lang/python/extension.mk" -.include "../../x11/py-Tk/buildlink3.mk" +.include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/epydoc/PLIST b/devel/epydoc/PLIST index 4b340ab605c5..014d9a8b81f0 100644 --- a/devel/epydoc/PLIST +++ b/devel/epydoc/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:48:42 joerg Exp $ +@comment $NetBSD: PLIST,v 1.5 2012/02/02 12:58:47 obache Exp $ bin/epydoc bin/epydocgui +${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/epydoc/__init__.py ${PYSITELIB}/epydoc/__init__.pyc ${PYSITELIB}/epydoc/__init__.pyo @@ -64,6 +65,8 @@ ${PYSITELIB}/epydoc/test/epytext.pyo ${PYSITELIB}/epydoc/uid.py ${PYSITELIB}/epydoc/uid.pyc ${PYSITELIB}/epydoc/uid.pyo +man/man1/epydoc.1 +man/man1/epydocgui.1 share/doc/epydoc/api/epydoc.css share/doc/epydoc/api/index.html share/doc/epydoc/api/private/UserDict.UserDict-class.html