From 0549bfeee8c44a04fe51c1ff19bcbccab748a12b Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 25 May 2012 03:29:37 +0000 Subject: Fix brokenness caused by graphics/xpdf r1.102. --- print/pdfcolorsplit/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'print') diff --git a/print/pdfcolorsplit/Makefile b/print/pdfcolorsplit/Makefile index 065612705421..96442dd48f99 100644 --- a/print/pdfcolorsplit/Makefile +++ b/print/pdfcolorsplit/Makefile @@ -7,6 +7,7 @@ PORTNAME= pdfcolorsplit PORTVERSION= 2011.08.26 +PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,9 +18,7 @@ COMMENT= Split your pdf into 2 pdf, color and bw, for printing LICENSE= GPLv2 RUN_DEPENDS= pdftk:${PORTSDIR}/print/pdftk \ - pdftoppm:${PORTSDIR}/graphics/xpdf - -BROKEN= unsatisfiable dependency on xpdf + ${LOCALBASE}/libexec/xpdf/pdftoppm:${PORTSDIR}/graphics/xpdf USE_GHOSTSCRIPT_RUN= yes USE_PYTHON= yes @@ -30,6 +29,9 @@ PLIST_FILES= bin/${PORTNAME} NO_BUILD= yes NO_WRKSUBDIR= yes +post-patch: + @${REINPLACE_CMD} -e '/os\.system/s|pdftoppm|${LOCALBASE}/libexec/xpdf/pdftoppm|g' ${WRKSRC}/${PORTNAME} + do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/ -- cgit