aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/poppler
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-04-03 03:14:53 +0800
committermarcus <marcus@FreeBSD.org>2005-04-03 03:14:53 +0800
commit3eb6270ec4203acf9716385f30ffff2f714a5500 (patch)
treea0124daff5872a044ded1b518553645dbc723d5c /graphics/poppler
parent83e57e08f7142c25fd360a4faaf09e2005e22f66 (diff)
downloadfreebsd-ports-graphics-3eb6270ec4203acf9716385f30ffff2f714a5500.tar.gz
freebsd-ports-graphics-3eb6270ec4203acf9716385f30ffff2f714a5500.tar.zst
freebsd-ports-graphics-3eb6270ec4203acf9716385f30ffff2f714a5500.zip
Fix up the pkg-config files so they don't reference a non-existent
poppler-0.1.2.pc. This cleans up pkg-config --list-all.
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>