2013-09-21 00:43:59 +02:00
|
|
|
# Created by: Rong-En Fan <rafan@FreeBSD.org>
|
2006-09-12 17:55:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pkpgcounter
|
2008-08-26 08:13:22 +02:00
|
|
|
PORTVERSION= 3.50
|
2014-10-06 19:53:53 +02:00
|
|
|
PORTREVISION= 3
|
2006-09-12 17:55:23 +02:00
|
|
|
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
|
2012-08-02 11:02:43 +02:00
|
|
|
COMMENT= Count pages and ink coverage percent
|
2006-09-12 17:55:23 +02:00
|
|
|
|
2014-10-06 19:53:53 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
|
2012-06-10 20:42:48 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2006-09-12 17:55:23 +02:00
|
|
|
|
2011-03-23 16:53:22 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2014-10-06 19:53:53 +02:00
|
|
|
USES= python
|
|
|
|
USE_PYTHON= distutils
|
2006-09-12 17:55:23 +02:00
|
|
|
PORTDOCS= README COPYING BUGS CREDITS NEWS
|
2014-07-07 09:01:53 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2006-09-12 17:55:23 +02:00
|
|
|
|
2006-11-03 16:28:29 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e '/^directory.*man1/s|=.*|= "man/man1"|' \
|
|
|
|
-e '/^docdir/s|".*"|"${DOCSDIR}"|' \
|
|
|
|
${_SED_NODOCS} ${WRKSRC}/setup.py
|
|
|
|
|
2006-09-12 17:55:23 +02:00
|
|
|
.include <bsd.port.mk>
|