aboutsummaryrefslogtreecommitdiff
path: root/deskutils/pinot/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2012-05-25 03:29:37 +0000
committerCy Schubert <cy@FreeBSD.org>2012-05-25 03:29:37 +0000
commit575e1b1ff7e23e9b9d63c99bc8e175fe8e7b2c62 (patch)
tree11c22562a0d4683b6645801428b5aadd42dcbf24 /deskutils/pinot/Makefile
parentbfecb0164c5d101b519ce26a2d9ec2b647a6dda1 (diff)
downloadports-575e1b1ff7e23e9b9d63c99bc8e175fe8e7b2c62.tar.gz
ports-575e1b1ff7e23e9b9d63c99bc8e175fe8e7b2c62.zip
Notes
Diffstat (limited to 'deskutils/pinot/Makefile')
-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|' \