* 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.
This commit is contained in:
obache 2012-02-02 12:58:47 +00:00
parent 30fb37f219
commit fd355432e4
2 changed files with 14 additions and 8 deletions

View file

@ -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"

View file

@ -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