ports/160208: [NEW PORT} print/py27-pdfcolorsplit - script to split pdf into color and bw pdfs

Aldis Berjoza aldis at bsdroot.lv
Fri Aug 26 12:40:03 UTC 2011


>Number:         160208
>Category:       ports
>Synopsis:       [NEW PORT} print/py27-pdfcolorsplit - script to split pdf into color and bw pdfs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 26 12:40:02 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Aldis Berjoza
>Release:        
>Organization:
>Environment:
>Description:
pdfcolorsplit - a Python program that drives pdftk to split a PDF file into
color and b/w parts. Useful for printing large documents with a few color pages
when color printing is expensive. This program was inspired by Jeremy Sander's
dvicoloursplit.py.

WWW: http://homepages.inf.ed.ac.uk/imurray2/code/#pdfcolorsplit
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-pdfcolorsplit
#	py-pdfcolorsplit/pkg-descr
#	py-pdfcolorsplit/distinfo
#	py-pdfcolorsplit/Makefile
#
echo c - py-pdfcolorsplit
mkdir -p py-pdfcolorsplit > /dev/null 2>&1
echo x - py-pdfcolorsplit/pkg-descr
sed 's/^X//' >py-pdfcolorsplit/pkg-descr << '1db673ee784f44bf2bde9b087fadd681'
Xpdfcolorsplit - a Python program that drives pdftk to split a PDF file into
Xcolor and b/w parts. Useful for printing large documents with a few color pages
Xwhen color printing is expensive. This program was inspired by Jeremy Sander's
Xdvicoloursplit.py.
X
XWWW: http://homepages.inf.ed.ac.uk/imurray2/code/#pdfcolorsplit
1db673ee784f44bf2bde9b087fadd681
echo x - py-pdfcolorsplit/distinfo
sed 's/^X//' >py-pdfcolorsplit/distinfo << 'ce8712dcc71f579f26c4f965fa95b97a'
XSHA256 (pdfcolorsplit-2011.08.26.tar.xz) = 1e15260ee74e626af0ee87ab909764d9cac6048f6ad82afc9ba3dc5f3da8b8e5
XSIZE (pdfcolorsplit-2011.08.26.tar.xz) = 2696
ce8712dcc71f579f26c4f965fa95b97a
echo x - py-pdfcolorsplit/Makefile
sed 's/^X//' >py-pdfcolorsplit/Makefile << 'e4209f9ab15a0095e489fc1904d9b0f3'
X# New ports collection makefile for:	pdfcolorsplit
X# Date created:				2011.08.26
X# Whom:					Aldis Berjoza <aldis at bsdroot.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pdfcolorsplit
XPORTVERSION=	2011.08.26
XCATEGORIES=	print python
XMASTER_SITES=	http://files.bsdroot.lv/my/FreeBSD/distfiles/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	aldis at bsdroot.lv
XCOMMENT=	Split your pdf into 2 pdf, color and bw, for printing
X
XLICENSE=	GPLv2
X
XRUN_DEPENDS=	pdftk:${PORTSDIR}/print/pdftk \
X		pdftoppm:${PORTSDIR}/graphics/xpdf
X
XUSE_GHOSTSCRIPT_RUN=	YES
XUSE_PYTHON=	YES
XUSE_XZ=		YES
X
XPLIST_FILES=	bin/${PORTNAME}
X
XNO_BUILD=	YES
XNO_WRKSUBDIR=	YES
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
X
X.include <bsd.port.mk>
e4209f9ab15a0095e489fc1904d9b0f3
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list