aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2012-05-25 11:29:37 +0800
committercy <cy@FreeBSD.org>2012-05-25 11:29:37 +0800
commit0549bfeee8c44a04fe51c1ff19bcbccab748a12b (patch)
tree1b33d166c147edf9f2f7a77fa287582d76e623b4 /mail
parent21081432f3486a06b5b06636106703f086d0b944 (diff)
downloadfreebsd-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 'mail')
-rw-r--r--mail/textmail/Makefile9
1 files changed, 5 insertions, 4 deletions
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