A python script to generate a cscope index from a Python source tree. pycscope uses Python's own parser and AST to generate the index, so it is a bit more accurate than plain cscope.
30 lines
738 B
Makefile
30 lines
738 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/08/31 00:31:03 jihbed Exp $
|
|
#
|
|
|
|
DISTNAME= pycscope-0.3.tar
|
|
VERSION= 0.3
|
|
PKGNAME= ${PYPKGPREFIX}-cscope-${VERSION}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/p/pycscope/
|
|
EXTRACT_SUFX= .gz
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= http://pypi.python.org/pypi/pycscope/
|
|
COMMENT= Generates a cscope index of Python source trees
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/pycscope-0.3
|
|
USE_LANGUAGES= # none
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
INSTALLATION_DIRS= share/doc/py-cscope
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${DESTDIR}${PREFIX}/share/doc/py-cscope
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|