pkgsrc-wip/pdfminer/Makefile
Kamel Ibn Aziz Derouiche 516116b684 Import pdfminer-20100424 as wip/pdfminer.
PDFMiner is a tool for extracting information from PDF documents.
Unlike other PDF-related tools, it focuses entirely on getting
and analyzing text data. PDFMiner allows to obtain
the exact location of texts in a page, as well as
other information such as fonts or lines.
It includes a PDF converter that can transform PDF files
into other text formats (such as HTML). It has an extensible
PDF parser that can be used for other purposes instead of text analysis
2010-06-12 23:18:05 +00:00

32 lines
809 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2010/06/12 23:18:05 jihbed Exp $
#
DISTNAME= pdfminer-20100424.tar
PKGNAME= ${DISTNAME:S/.tar//}
CATEGORIES= print python
MASTER_SITES= http://pypi.python.org/packages/source/p/pdfminer/
EXTRACT_SUFX= .gz#md5=d69836472cd1d555a7340e0fe75c5e20
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= http://www.unixuser.org/~euske/python/pdfminer/index.html
COMMENT= PDF parser and analyzer
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/pdfminer-20100424
USE_LANGUAGES= # none
PYTHON_VERSIONS_ACCEPTED= 26 25 24
PYDISTUTILSPKG= yes
DOCDIR= ${PREFIX}/share/doc/pdfminer
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/index.html ${DESTDIR}${DOCDIR}
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"