freebsd-ports/print/pkpgcounter/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

30 lines
720 B
Makefile

# 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/
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 <bsd.port.mk>