Date: Mon, 17 Dec 2001 01:03:39 -0800 (PST) From: John Merryweather Cooper <john_m_cooper@yahoo.com> To: FreeBSD-gnats-submit@freebsd.org Cc: lioux@brturbo.com Subject: ports/32926: [NEW PORT] djvulibre-3.5.2--a Mozilla plugin and tools Message-ID: <20011217090339.1205C15503@johncoop.MSHOME>
next in thread | raw e-mail | index | archive | help
>Number: 32926 >Category: ports >Synopsis: [NEW PORT] djvulibre-3.5.2--a Mozilla plugin and tools >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Dec 17 01:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD johncoop.MSHOME 4.4-STABLE FreeBSD 4.4-STABLE #30: Sun Dec 16 02:53:49 PST 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386 >Description: I'm on a mission to port as many plugins for mozilla as I can. :) The AT&T-developed plugin is already in the tree: this is the GPL version and includes utilities to help create DjVu document images. >How-To-Repeat: N/A >Fix: The much-hated, total insane shar archive follows (tarballs on request): # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # djvulibre # djvulibre/Makefile # djvulibre/distinfo # djvulibre/pkg-comment # djvulibre/pkg-descr # djvulibre/files # djvulibre/files/patch-configure # djvulibre/files/patch-libdjvu::GUnicode.cpp # djvulibre/files/patch-gui::nsdejavu::Makefile.in # djvulibre/pkg-plist # echo c - djvulibre mkdir -p djvulibre > /dev/null 2>&1 echo x - djvulibre/Makefile sed 's/^X//' >djvulibre/Makefile << 'END-of-djvulibre/Makefile' X# New ports collection makefile for: djvulibre X# Date created: 16 December 2001 X# Whom: John Merryweather Cooper X# X# $FreeBSD$ X# X XPORTNAME= djvulibre XPORTVERSION= 3.5.2 XCATEGORIES= www print graphics XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR=djvu X XMAINTAINER= jmcoopr@webmail.bmi.net X XLIB_DEPENDS= qt2.4:${PORTSDIR}/x11-toolkits/qt23 XRUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_X_PREFIX= yes XUSE_XLIB= yes X XCONFIGURE_ARGS= --prefix=${PREFIX} --with-qt --enable-threads XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LIBS="-L${LOCALBASE}/lib -lgiconv" \ X PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ X PTHREAD_LIBS=${PTHREAD_LIBS} \ X QT_CFLAGS="-I${X11BASE}/include/qt2" \ X QT_LIBS="-L${X11BASE}/lib -lqt2" \ X MOC=${X11BASE}/bin/moc2 \ X JPEG_CFLAGS="-I${LOCALBASE}/include" XCONFIGURE_TARGET=${ARCH}-pc-freebsd${OSREL} X XMAN1= bzz.1 c44.1 cjb2.1 cpaldjvu.1 csepdjvu.1 ddjvu.1 djview.1 \ X djvm.1 djvmcvt.1 djvu.1 djvudump.1 djvuextract.1 \ X djvumake.1 djvused.1 djvutxt.1 nsdejavu.1 X Xpost-patch: X @${PERL} -pi -e 's|-liconv|-lgiconv|g ; \ X s|([^g])iconv.h|\1giconv.h|g' \ X ${WRKSRC}/configure X Xpre-build: X @cd ${WRKSRC} && ${MAKE} depend X X.include <bsd.port.mk> END-of-djvulibre/Makefile echo x - djvulibre/distinfo sed 's/^X//' >djvulibre/distinfo << 'END-of-djvulibre/distinfo' XMD5 (djvulibre-3.5.2.tar.gz) = a5550b522db0a625778fdd66d9130868 END-of-djvulibre/distinfo echo x - djvulibre/pkg-comment sed 's/^X//' >djvulibre/pkg-comment << 'END-of-djvulibre/pkg-comment' XMozilla plugin and tools that view and manipulate AT&T DjVu images END-of-djvulibre/pkg-comment echo x - djvulibre/pkg-descr sed 's/^X//' >djvulibre/pkg-descr << 'END-of-djvulibre/pkg-descr' XDjVuLibre is an open source (GPL'ed) implementation of DjVu, including Xviewers, browser plugins, decoders, simple encoders, and utilities. DjVu Xcan advantageously replace PDF, PS, TIFF, JPEG, and GIF for distributing Xscanned documents, digital documents, or high-resolution pictures. DjVu Xcontent downloads faster, displays and renders faster, looks nicer on a Xscreen, and consume less client resources than competing formats. DjVu Ximages display instantly and can be smoothly zoomed and panned with no Xlengthy re-rendering. X X-- jmcoopr@webmail.bmi.net X XWWW: http://djvu.sourceforge.net/ END-of-djvulibre/pkg-descr echo c - djvulibre/files mkdir -p djvulibre/files > /dev/null 2>&1 echo x - djvulibre/files/patch-configure sed 's/^X//' >djvulibre/files/patch-configure << 'END-of-djvulibre/files/patch-configure' X--- configure Fri Dec 7 14:05:33 2001 X+++ configure.new Sun Dec 16 22:32:59 2001 X@@ -4453,7 +4453,7 @@ X fi X done X X-for ac_func in gethostname dlopen iconv X+for ac_func in gethostname dlopen libiconv X do X as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` X echo "$as_me:4459: checking for $ac_func" >&5 END-of-djvulibre/files/patch-configure echo x - djvulibre/files/patch-libdjvu::GUnicode.cpp sed 's/^X//' >djvulibre/files/patch-libdjvu::GUnicode.cpp << 'END-of-djvulibre/files/patch-libdjvu::GUnicode.cpp' X--- libdjvu/GUnicode.cpp Tue Oct 23 14:09:25 2001 X+++ libdjvu/GUnicode.cpp.new Sun Dec 16 23:07:22 2001 X@@ -42,7 +42,7 @@ X X #include "GString.h" X #ifdef HAS_ICONV X-#include <iconv.h> X+#include <giconv.h> X #endif X X static unsigned char nill=0; END-of-djvulibre/files/patch-libdjvu::GUnicode.cpp echo x - djvulibre/files/patch-gui::nsdejavu::Makefile.in sed 's/^X//' >djvulibre/files/patch-gui::nsdejavu::Makefile.in << 'END-of-djvulibre/files/patch-gui::nsdejavu::Makefile.in' X--- gui/nsdejavu/Makefile.in Wed Nov 21 15:02:18 2001 X+++ gui/nsdejavu/Makefile.in.new Sun Dec 16 23:47:41 2001 X@@ -25,7 +25,7 @@ X datadir = @datadir@ X libdir = @libdir@ X mandir = @mandir@ X-plugindir = ${libdir}/netscape/plugins X+plugindir = ${libdir}/mozilla/plugins X X CC = @CC@ X CXX = @CXX@ END-of-djvulibre/files/patch-gui::nsdejavu::Makefile.in echo x - djvulibre/pkg-plist sed 's/^X//' >djvulibre/pkg-plist << 'END-of-djvulibre/pkg-plist' Xbin/bzz Xbin/c44 Xbin/cjb2 Xbin/cpaldjvu Xbin/csepdjvu Xbin/ddjvu Xbin/djvm Xbin/djvmcvt Xbin/djvudump Xbin/djvuextract Xbin/djvumake Xbin/djvused Xbin/djvutxt Xbin/djview Xlib/mozilla/plugins/nsdejavu.so X@dirrm lib/mozilla/plugins X@dirrm lib/mozilla Xshare/djvu/osi/en/unixgui-viewer.xml Xshare/djvu/osi/en/djvutools-reference.xml Xshare/djvu/osi/en/unixgui-shared.xml Xshare/djvu/osi/en/messages.xml Xshare/djvu/osi/en/libdjvu++.xml X@dirrm share/djvu/osi/en Xshare/djvu/osi/Chinese_PRC/messages.xml Xshare/djvu/osi/Chinese_PRC/libdjvu++.xml X@dirrm share/djvu/osi/Chinese_PRC Xshare/djvu/osi/de_DE/messages.xml Xshare/djvu/osi/de_DE/libdjvu++.xml X@dirrm share/djvu/osi/de_DE Xshare/djvu/osi/fr_FR/messages.xml Xshare/djvu/osi/fr_FR/libdjvu++.xml X@dirrm share/djvu/osi/fr_FR Xshare/djvu/osi/ja_JP/messages.xml Xshare/djvu/osi/ja_JP/libdjvu++.xml X@dirrm share/djvu/osi/ja_JP X@dirrm share/djvu/osi Xshare/djvu/languages.xml X@dirrm share/djvu END-of-djvulibre/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011217090339.1205C15503>