diff options
author | drochner <drochner@pkgsrc.org> | 2007-11-22 21:02:00 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-11-22 21:02:00 +0000 |
commit | 6e826156e2f5724c44fd39ff78345dd4a5b51436 (patch) | |
tree | f90e1eded741faa59e7678033504ce74b8d985ad /graphics | |
parent | eac4e73f272c95ee2aabf90578874513c5d6e9e6 (diff) | |
download | pkgsrc-6e826156e2f5724c44fd39ff78345dd4a5b51436.tar.gz |
import djview4-4.2.2, a djvu file viewer, from Paulo Matias per pkgsrc-wip
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/djview4/DESCR | 5 | ||||
-rw-r--r-- | graphics/djview4/Makefile | 22 | ||||
-rw-r--r-- | graphics/djview4/PLIST | 13 | ||||
-rw-r--r-- | graphics/djview4/distinfo | 7 | ||||
-rw-r--r-- | graphics/djview4/patches/patch-aa | 13 | ||||
-rw-r--r-- | graphics/djview4/patches/patch-ab | 18 |
6 files changed, 78 insertions, 0 deletions
diff --git a/graphics/djview4/DESCR b/graphics/djview4/DESCR new file mode 100644 index 00000000000..7a9178fd382 --- /dev/null +++ b/graphics/djview4/DESCR @@ -0,0 +1,5 @@ +DjView4 is a portable DjVu viewer and browser plugin. + +It's entirely based on the public djvulibre api, entirely +written in portable Qt4. Supports continuous scrolling +and side-by-side display of pages. diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile new file mode 100644 index 00000000000..2ff45f0414d --- /dev/null +++ b/graphics/djview4/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/11/22 21:02:00 drochner Exp $ +# + +DISTNAME= djview4-4.2-2 +PKGNAME= djview4-4.2.2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djvu/} + +MAINTAINER= matias@dotbsd.org +HOMEPAGE= http://djvu.sourceforge.net/ +COMMENT= Portable DjVu viewer and browser plugin + +WRKSRC= ${WRKDIR}/djview4-4.2 +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ + +.include "../../graphics/djvulibre-lib/buildlink3.mk" +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/djview4/PLIST b/graphics/djview4/PLIST new file mode 100644 index 00000000000..9dbed4f66ac --- /dev/null +++ b/graphics/djview4/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/22 21:02:00 drochner Exp $ +bin/djview4 +lib/netscape/plugins/nsdejavu.so +man/man1/djview4.1 +man/man1/nsdejavu.1 +share/djvu/djview4/desktop/djvulibre-djview4.desktop +share/djvu/djview4/desktop/hi32-djview4.png +share/djvu/djview4/desktop/register-djview-menu +share/djvu/djview4/djview_fr.qm +share/djvu/djview4/djview_uk.qm +@dirrm share/djvu/djview4/desktop +@dirrm share/djvu/djview4 +@unexec ${RMDIR} %D/lib/netscape/plugins 2>/dev/null || ${TRUE} diff --git a/graphics/djview4/distinfo b/graphics/djview4/distinfo new file mode 100644 index 00000000000..7df45714e66 --- /dev/null +++ b/graphics/djview4/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/11/22 21:02:00 drochner Exp $ + +SHA1 (djview4-4.2-2.tar.gz) = 7b9a81e21a1fe902d8156f6136351b44f9a82366 +RMD160 (djview4-4.2-2.tar.gz) = 33f7d75d6a7638d7a6bbb70732fa2768b249bee9 +Size (djview4-4.2-2.tar.gz) = 732543 bytes +SHA1 (patch-aa) = 3bb84be25240ed8d68eedea87478907a441d9dee +SHA1 (patch-ab) = 71ecc5cb1f0c7a6bce006eeaad8e7387d4aa6e24 diff --git a/graphics/djview4/patches/patch-aa b/graphics/djview4/patches/patch-aa new file mode 100644 index 00000000000..4312592425d --- /dev/null +++ b/graphics/djview4/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/11/22 21:02:00 drochner Exp $ + +--- desktopfiles/Makefile.in.orig 2007-04-20 13:46:13.000000000 -0300 ++++ desktopfiles/Makefile.in +@@ -58,7 +58,7 @@ install: install-djview-files + + install-djview-files: FORCE + ${INSTALL} -d ${DESTDIR}${datadir_djview} +- ${INSTALL_PROGRAM} register-djview-menu ${DESTDIR}${datadir_djview} ++ ${INSTALL_DATA} -m 555 register-djview-menu ${DESTDIR}${datadir_djview} + ${INSTALL_DATA} ${srcdir}/*djview4.png ${DESTDIR}${datadir_djview} + ${INSTALL_DATA} ${srcdir}/*djview4.desktop ${DESTDIR}${datadir_djview} + -@echo "Run ${datadir_djview}/register-djview-menu install" diff --git a/graphics/djview4/patches/patch-ab b/graphics/djview4/patches/patch-ab new file mode 100644 index 00000000000..990b7b81c2a --- /dev/null +++ b/graphics/djview4/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1.1.1 2007/11/22 21:02:00 drochner Exp $ + +--- Makefile.in.orig 2007-11-02 12:49:49.000000000 -0300 ++++ Makefile.in +@@ -76,13 +76,11 @@ install-djview: install-djview-bin insta + install-djview-bin: FORCE + ${INSTALL} -d ${DESTDIR}${bindir} + ${INSTALL_PROGRAM} src/djview ${DESTDIR}${bindir}/djview4 +- cd ${DESTDIR}${bindir} ; ${LN_S} djview4 djview || true + + install-djview-man: FORCE + ${INSTALL} -d ${DESTDIR}${mandir}/man1 + ${INSTALL_DATA} ${srcdir}/src/djview.1 \ + ${DESTDIR}${mandir}/man1/djview4.1 +- cd ${DESTDIR}${mandir}/man1 ; ${LN_S} djview4.1 djview.1 || true + + install-djview-qm: FORCE + ${INSTALL} -d ${DESTDIR}${datadir}/djvu/djview4 |