aboutsummaryrefslogtreecommitdiff
path: root/graphics/djvulibre
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile4
-rw-r--r--graphics/djvulibre/pkg-plist1
2 files changed, 5 insertions, 0 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index fba6b1c55c59..92304e20d631 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -7,6 +7,7 @@
PORTNAME= djvulibre
PORTVERSION= 3.5.14
+PORTREVISION= 1
CATEGORIES= graphics www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= djvu
@@ -59,6 +60,9 @@ pre-configure:
patch-autotools:
@cd ${PATCH_WRKSRC}; ${LIBTOOLIZE} -f >/dev/null
+post-patch:
+ @${RM} ${WRKSRC}/tools/any2djvu.*
+
.if !defined(WITH_OPTIMIZED_CFLAGS)
post-configure:
${PERL5} -pi -e 's,-O3,,;' -e 's,-mcpu=i386,,; ' \
diff --git a/graphics/djvulibre/pkg-plist b/graphics/djvulibre/pkg-plist
index f21692e493c2..a63d39888abf 100644
--- a/graphics/djvulibre/pkg-plist
+++ b/graphics/djvulibre/pkg-plist
@@ -52,6 +52,7 @@ share/djvu/pubtext/DjVuXML-s.dtd
@dirrm share/djvu/osi/de
@dirrm share/djvu/osi
@dirrm share/djvu
+@dirrm include/libdjvu
@unexec rmdir %D/man/fr/man1 2>/dev/null || true
@unexec rmdir %D/man/fr 2>/dev/null || true
@unexec rmdir %D/man/de/man1 2>/dev/null || true