pkgsrc/textproc/py-pdf-parser/Makefile

34 lines
797 B
Makefile

# $NetBSD: Makefile,v 1.4 2012/10/04 00:22:01 cheusov Exp $
#
DISTNAME= pdf-parser_V0_3_7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_V/-/:S/_/./g}
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.didierstevens.com/files/software/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://blog.didierstevens.com/programs/pdf-tools/
COMMENT= Parse PDF document to identify the fundamental elements
LICENSE= public-domain
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
REPLACE_PYTHON= pdf-parser.py
INSTALLATION_DIRS= bin
PYTHON_VERSIONS_ACCEPTED= 26
PYTHON_SELF_CONFLICT= yes
do-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pdf-parser.py ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"