freebsd-ports/print/pkpgcounter/Makefile

31 lines
732 B
Makefile
Raw Normal View History

# Created by: Rong-En Fan <rafan@FreeBSD.org>
# $FreeBSD$
PORTNAME= pkpgcounter
PORTVERSION= 3.50
PORTREVISION= 3
CATEGORIES= print python
MASTER_SITES= http://www.pykota.com/software/pkpgcounter/download/tarballs/
2012-02-26 13:20:47 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Count pages and ink coverage percent
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
RUN_DEPENDS:= ${BUILD_DEPENDS}
2011-03-23 16:53:22 +01:00
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= python
USE_PYTHON= distutils
PORTDOCS= README COPYING BUGS CREDITS NEWS
2014-07-07 09:01:53 +02:00
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} \
-e '/^directory.*man1/s|=.*|= "man/man1"|' \
-e '/^docdir/s|".*"|"${DOCSDIR}"|' \
${_SED_NODOCS} ${WRKSRC}/setup.py
.include <bsd.port.mk>