1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/print/pkpgcounter/Makefile
Rong-En Fan 24a144a5ba - Update to 3.00
- Switch to GPLv3 or higher
2007-09-12 04:37:11 +00:00

36 lines
825 B
Makefile

# Ports collection Makefile for: pkpgcounter
# Date created: Jan 1 2006
# Whom: Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pkpgcounter
PORTVERSION= 3.00
CATEGORIES= print python
MASTER_SITES= http://www.pykota.com/software/pkpgcounter/download/tarballs/
MAINTAINER= rafan@FreeBSD.org
COMMENT= Count pages and ink coverage precent
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
MAN1= ${PORTNAME}.1
PORTDOCS= README COPYING BUGS CREDITS NEWS
.ifdef NOPORTDOCS
_SED_NODOCS= -e '/^data_files.append.*docfiles/s|.*||'
.endif
post-patch:
@${REINPLACE_CMD} \
-e '/^directory.*man1/s|=.*|= "man/man1"|' \
-e '/^docdir/s|".*"|"${DOCSDIR}"|' \
${_SED_NODOCS} ${WRKSRC}/setup.py
.include <bsd.port.mk>