# Created by: Rong-En Fan # $FreeBSD: head/print/pkpgcounter/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= pkpgcounter PORTVERSION= 3.50 PORTREVISION= 3 CATEGORIES= print python MASTER_SITES= http://www.pykota.com/software/pkpgcounter/download/tarballs/ MAINTAINER= ports@FreeBSD.org COMMENT= Count pages and ink coverage percent BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow RUN_DEPENDS:= ${BUILD_DEPENDS} LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= python USE_PYTHON= distutils PORTDOCS= README COPYING BUGS CREDITS NEWS OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} \ -e '/^directory.*man1/s|=.*|= "man/man1"|' \ -e '/^docdir/s|".*"|"${DOCSDIR}"|' \ ${_SED_NODOCS} ${WRKSRC}/setup.py .include