aboutsummaryrefslogtreecommitdiff
path: root/graphics/djvulibre
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-04-24 00:53:59 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-04-24 00:53:59 +0000
commit13328bd831ffbb3ea593ce7ecc9d08bf2b28bfc1 (patch)
treea7e927e1d320291959ef87206eb98cb21c408483 /graphics/djvulibre
parent475c8049b4aa9dada3c2141a8da28ab77c09e136 (diff)
downloadports-13328bd831ffbb3ea593ce7ecc9d08bf2b28bfc1.tar.gz
ports-13328bd831ffbb3ea593ce7ecc9d08bf2b28bfc1.zip
Notes
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile9
-rw-r--r--graphics/djvulibre/distinfo6
-rw-r--r--graphics/djvulibre/pkg-plist9
3 files changed, 13 insertions, 11 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index f03404cec1f2..2b0ec4d4b92b 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= djvulibre
-PORTVERSION= 3.5.16
-PORTREVISION= 2
+PORTVERSION= 3.5.17
CATEGORIES= graphics www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= djvu
@@ -20,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_ICONV= yes
+USE_GNOME= gnomehack
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \
@@ -40,8 +40,7 @@ MAN1= bzz.1 c44.1 cjb2.1 cpaldjvu.1 csepdjvu.1 ddjvu.1 djvm.1 \
MAN1EXTRA= any2djvu.1 djvutoxml.1 djvuxml.1 djvuxmlparser.1 djvudigital.1
MAN1+= ${MAN1EXTRA}
-PORTDOCS= djvu2spec.djvu djvu3changes.txt lizard2002.djvu \
- lizard2003-navm.djvu lizard2005-antz.djvu
+PORTDOCS= djvu2spec.djvu lizard2002.djvu
.if !defined(WITHOUT_X11)
USE_QT_VER= 3
@@ -55,6 +54,8 @@ PLIST_SUB+= X11='@comment '
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
+ ${WRKSRC}/libdjvu/Makefile.in
@${REINPLACE_CMD} -e '/-O\*/d ; \
s|$$OPTS -O3|$$OPTS|g ; \
s|$$OPTS -O2|$$OPTS|g ; \
diff --git a/graphics/djvulibre/distinfo b/graphics/djvulibre/distinfo
index 3fcb3f0a821d..2a4bb3b64cbd 100644
--- a/graphics/djvulibre/distinfo
+++ b/graphics/djvulibre/distinfo
@@ -1,3 +1,3 @@
-MD5 (djvulibre-3.5.16.tar.gz) = 5591c99a50aed1613a796a5aa4978fc0
-SHA256 (djvulibre-3.5.16.tar.gz) = 3d90cdb7ad4c0481ec90796f12cfaf5240c4d73ba59e158d8ee333fec0837b58
-SIZE (djvulibre-3.5.16.tar.gz) = 1803961
+MD5 (djvulibre-3.5.17.tar.gz) = 18e71eec1f7d59ef4710b405ea64650e
+SHA256 (djvulibre-3.5.17.tar.gz) = a39977be3ca99f5b1d6a01a7795133c18de538bf20ff1f2d52d652bac94647c7
+SIZE (djvulibre-3.5.17.tar.gz) = 2298690
diff --git a/graphics/djvulibre/pkg-plist b/graphics/djvulibre/pkg-plist
index f8926f7f76af..385d630ed2f8 100644
--- a/graphics/djvulibre/pkg-plist
+++ b/graphics/djvulibre/pkg-plist
@@ -23,7 +23,8 @@ include/libdjvu/miniexp.h
%%X11%%lib/djvulibre/plugins/nsdejavu.so
lib/libdjvulibre.la
lib/libdjvulibre.so
-lib/libdjvulibre.so.16
+lib/libdjvulibre.so.17
+libdata/pkgconfig/ddjvuapi.pc
share/djvu/languages.xml
%%X11%%share/djvu/osi/de/djview.qm
share/djvu/osi/de/libdjvu++.xml
@@ -58,11 +59,11 @@ share/djvu/pubtext/DjVuXML-s.dtd
@dirrm share/djvu/osi/de
@dirrm share/djvu/osi
@dirrm share/djvu
-@dirrm lib/djvulibre/plugins
-@dirrm lib/djvulibre
+%%X11%%@dirrm lib/djvulibre/plugins
+%%X11%%@dirrm lib/djvulibre
@dirrm include/libdjvu
@dirrmtry man/fr/man1
@dirrmtry man/fr
@dirrmtry man/de/man1
@dirrmtry man/de
-@unexec rmdir %%X11BASE%%/lib/browser_plugins 2>/dev/null || true
+%%X11%%@dirrmtry lib/browser_plugins