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. --- mail/textmail/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mail/textmail') diff --git a/mail/textmail/Makefile b/mail/textmail/Makefile index 1b2cc81f401a..a204e6873381 100644 --- a/mail/textmail/Makefile +++ b/mail/textmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= textmail PORTVERSION= 20070803 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= http://raf.org/textmail/ CENKES @@ -18,15 +18,16 @@ RUN_DEPENDS= antiword:${PORTSDIR}/textproc/antiword \ catdoc:${PORTSDIR}/textproc/catdoc \ xls2csv:${PORTSDIR}/textproc/catdoc \ lynx:${PORTSDIR}/www/lynx \ - pdftotext:${PORTSDIR}/graphics/xpdf - -BROKEN= unsatisfiable dependency on xpdf + ${LOCALBASE}/libexec/xpdf/pdftotext:${PORTSDIR}/graphics/xpdf USE_PERL5= yes PLIST_FILES= bin/${PORTNAME} NO_WRKSUBDIR= yes MAN1= ${PORTNAME}.1 +post-patch: + @${REINPLACE_CMD} -e '3s|^|\${.newline}$$ENV{'PATH'} = "${LOCALBASE}/libexec/xpdf:$$ENV{'PATH'}";\${.newline}|' ${WRKSRC}/${PORTNAME} + do-build: @cd ${WRKSRC}/&&pod2man ${PORTNAME}>${PORTNAME}.1 -- cgit