aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/pinot
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 /deskutils/pinot
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 'deskutils/pinot')
-rw-r--r--deskutils/pinot/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile
index 0602f273f134..bb33430f6f40 100644
--- a/deskutils/pinot/Makefile
+++ b/deskutils/pinot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pinot
PORTVERSION= 0.98
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
#MASTER_SITES= http://colinf.chez.com/pinot/
@@ -40,8 +40,6 @@ RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info \
unrtf:${PORTSDIR}/textproc/unrtf \
catdvi:${PORTSDIR}/print/catdvi
-BROKEN= unsatisfiable dependency on xpdf
-
PROJECTHOST= ${PORTNAME}-search
LDFLAGS+= -L${LOCALBASE}/lib
@@ -94,6 +92,11 @@ post-extract:
# remove pre-generated messages catalogs
${FIND} ${WRKSRC}/po -name "*.gmo" -delete
+post-patch:
+ ${REINPLACE_CMD} -e \
+ '/<command>/s|pdftotext|${LOCALBASE}/libexec/xpdf/pdftotext|' \
+ ${WRKSRC}/Tokenize/filters/external-filters.xml
+
pre-configure:
${REINPLACE_CMD} -e 's|-lthr|${PTHREAD_LIBS}|' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \