aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/poppler
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/poppler')
-rw-r--r--graphics/poppler/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index e20ccd7bf78..c0c118bf304 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -7,6 +7,7 @@
PORTNAME= poppler
PORTVERSION= 0.1.2
+PORTREVISION= 1
CATEGORIES= graphics print
MASTER_SITES= http://poppler.freedesktop.org/
@@ -20,7 +21,13 @@ USE_GMAKE= yes
USE_LIBTOOL_VER=15
USE_GNOME= gnomeprefix gnomehack gtk20
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+post-patch:
+ @${REINPLACE_CMD} -e 's|poppler-[@]VERSION[@]|poppler|g' \
+ ${WRKSRC}/poppler-cairo.pc.in \
+ ${WRKSRC}/poppler-splash.pc.in
+
.include <bsd.port.mk>