diff options
author | rafan <rafan@FreeBSD.org> | 2006-09-12 23:55:23 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-09-12 23:55:23 +0800 |
commit | fa63f2ea8830f62196500a51b1d70101e440eaf2 (patch) | |
tree | 204e0791c4b787e8545bf203b91b614024fee156 /print | |
parent | ea0568b932406c7202cd7cb5ceff67056aa3ae04 (diff) | |
download | freebsd-ports-gnome-fa63f2ea8830f62196500a51b1d70101e440eaf2.tar.gz freebsd-ports-gnome-fa63f2ea8830f62196500a51b1d70101e440eaf2.tar.zst freebsd-ports-gnome-fa63f2ea8830f62196500a51b1d70101e440eaf2.zip |
Add pkpgcounter 2.00, A generic Page Description Language parser.
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/pkpgcounter/Makefile | 35 | ||||
-rw-r--r-- | print/pkpgcounter/distinfo | 3 | ||||
-rw-r--r-- | print/pkpgcounter/files/patch-setup.py | 16 | ||||
-rw-r--r-- | print/pkpgcounter/pkg-descr | 17 | ||||
-rw-r--r-- | print/pkpgcounter/pkg-plist | 53 |
6 files changed, 125 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 2f4aa9187436..5656ac4b9394 100644 --- a/print/Makefile +++ b/print/Makefile @@ -251,6 +251,7 @@ SUBDIR += pkfonts360 SUBDIR += pkfonts400 SUBDIR += pkfonts600 + SUBDIR += pkpgcounter SUBDIR += pmw SUBDIR += pnm2ppa SUBDIR += poster diff --git a/print/pkpgcounter/Makefile b/print/pkpgcounter/Makefile new file mode 100644 index 000000000000..fafe5631bc44 --- /dev/null +++ b/print/pkpgcounter/Makefile @@ -0,0 +1,35 @@ +# Ports collection Makefile for: pkpgcounter +# Date created: Jan 1 2006 +# Whom: Rong-En Fan <rafan@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pkpgcounter +PORTVERSION= 2.00 +CATEGORIES= print python +MASTER_SITES= http://www.pykota.com/software/pkpgcounter/download/tarballs/ + +MAINTAINER= rafan@FreeBSD.org +COMMENT= A generic Page Description Language parser + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +MAN1= pkpgcounter.1 +NOMANCOMPRES= no + +PORTDOCS= README COPYING BUGS CREDITS NEWS + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + for f in ${PORTDOCS}; do \ + ${INSTALL_MAN} ${WRKSRC}/$$f ${DOCSDIR}; \ + done +.endif + +.include <bsd.port.mk> diff --git a/print/pkpgcounter/distinfo b/print/pkpgcounter/distinfo new file mode 100644 index 000000000000..ec2df3a23348 --- /dev/null +++ b/print/pkpgcounter/distinfo @@ -0,0 +1,3 @@ +MD5 (pkpgcounter-2.00.tar.gz) = 5d059b648ec70b941790b28ce99790e8 +SHA256 (pkpgcounter-2.00.tar.gz) = f9c0a6b4c477d1cb0c6bf3be64324b6330e4beaebfee0bb26241fd4b9ee7720f +SIZE (pkpgcounter-2.00.tar.gz) = 181584 diff --git a/print/pkpgcounter/files/patch-setup.py b/print/pkpgcounter/files/patch-setup.py new file mode 100644 index 000000000000..0fc88e53a61e --- /dev/null +++ b/print/pkpgcounter/files/patch-setup.py @@ -0,0 +1,16 @@ +--- setup.py.orig Thu May 18 05:36:05 2006 ++++ setup.py Fri Jun 9 06:46:03 2006 +@@ -53,12 +53,8 @@ + lang = mofile.split(os.sep)[1] + directory = os.sep.join(["share", "locale", lang, "LC_MESSAGES"]) + data_files.append((directory, [ mofile ])) +- +-docdir = "share/doc/pkpgcounter" +-docfiles = ["README", "COPYING", "BUGS", "CREDITS", "NEWS"] +-data_files.append((docdir, docfiles)) + +-directory = os.sep.join(["share", "man", "man1"]) ++directory = os.sep.join(["man", "man1"]) + manpages = glob.glob(os.sep.join(["man", "*.1"])) + data_files.append((directory, manpages)) + diff --git a/print/pkpgcounter/pkg-descr b/print/pkpgcounter/pkg-descr new file mode 100644 index 000000000000..ea62279d03bb --- /dev/null +++ b/print/pkpgcounter/pkg-descr @@ -0,0 +1,17 @@ +pkpgcounter is a generic Page Description Language parser which can +either count the number of pages or compute the percent of ink coverage +needed to print various types of documents. + +It currently supports the following file types: + - PostScript (both DSC compliant and binary) + - PDF + - PCL3/4/5 + - PCLXL (aka PCL6) + - DVI + - TIFF + - ESC/P2 + - OpenDocument (ISO/IEC DIS 26300) + - Zenographics ZjStream + - Samsung QPDL (aka SPL2) + +WWW: http://www.pykota.com/software/pkpgcounter/ diff --git a/print/pkpgcounter/pkg-plist b/print/pkpgcounter/pkg-plist new file mode 100644 index 000000000000..6405f0e3e185 --- /dev/null +++ b/print/pkpgcounter/pkg-plist @@ -0,0 +1,53 @@ +bin/pkpgcounter +%%PYTHON_SITELIBDIR%%/pkpgpdls/__init__.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/__init__.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/__init__.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/analyzer.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/analyzer.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/analyzer.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/dvi.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/dvi.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/dvi.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/escp2.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/escp2.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/escp2.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/inkcoverage.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/inkcoverage.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/inkcoverage.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/oldpcl345.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/oldpcl345.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/oldpcl345.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/ooo.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/ooo.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/ooo.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/pcl345.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/pcl345.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/pcl345.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/pclxl.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/pclxl.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/pclxl.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/pdf.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/pdf.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/pdf.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/pdlparser.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/pdlparser.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/pdlparser.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/pjl.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/pjl.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/pjl.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/postscript.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/postscript.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/postscript.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/qpdl.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/qpdl.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/qpdl.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/tiff.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/tiff.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/tiff.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/version.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/version.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/version.pyo +%%PYTHON_SITELIBDIR%%/pkpgpdls/zjstream.py +%%PYTHON_SITELIBDIR%%/pkpgpdls/zjstream.pyc +%%PYTHON_SITELIBDIR%%/pkpgpdls/zjstream.pyo +@dirrmtry %%PYTHON_SITELIBDIR%%/pkpgpdls |