diff options
author | cy <cy@FreeBSD.org> | 2012-05-25 11:29:37 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2012-05-25 11:29:37 +0800 |
commit | 0549bfeee8c44a04fe51c1ff19bcbccab748a12b (patch) | |
tree | 1b33d166c147edf9f2f7a77fa287582d76e623b4 /print | |
parent | 21081432f3486a06b5b06636106703f086d0b944 (diff) | |
download | freebsd-ports-gnome-0549bfeee8c44a04fe51c1ff19bcbccab748a12b.tar.gz freebsd-ports-gnome-0549bfeee8c44a04fe51c1ff19bcbccab748a12b.tar.zst freebsd-ports-gnome-0549bfeee8c44a04fe51c1ff19bcbccab748a12b.zip |
Fix brokenness caused by graphics/xpdf r1.102.
Diffstat (limited to 'print')
-rw-r--r-- | print/pdfcolorsplit/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
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/ |