pkgsrc/misc/fbreader/patches/patch-aj
wiz 9449a7dc56 Initial import of fbreader-0.10.1:
FBReader is an e-book reader for various platforms.

Main features:
  * Supported formats are
       * fb2 e-book format (style attributes are not supported yet).
       * HTML format (tables are not supported).
       * CHM format (tables are not supported).
       * plucker format (tables are not supported).
       * Palmdoc (aportis doc).
       * zTxt (Weasel format).
       * TCR (psion text) format.
       * RTF format (stylesheets and tables are not supported).
       * OEB format (css and tables are not supported).
       * OpenReader format (css and tables are not supported).
       * Non-DRM'ed mobipocket format (tables are not supported).
       * Plain text format.
  * Direct reading from tar, zip, gzip and bzip2 archives. (Multiple books
    in one archive are supported.)
  * Automatic library building.
  * Automatic language and character encoding detection is supported.
  * Automatically generated contents table.
  * Embedded images support.
  * Footnotes/hyperlinks support.
  * Position indicator.
  * Keeps the last open book and the last read positions for all opened
    books between runs.
  * List of last opened books.
  * Automatic hyphenations.
  * Text search.
  * Full-screen mode.
  * Screen rotation by 90, 180 and 270 degrees.
2009-01-18 17:39:37 +00:00

15 lines
753 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $
--- fbreader/desktop/Makefile.orig 2008-03-22 13:00:31.000000000 +0000
+++ fbreader/desktop/Makefile
@@ -6,8 +6,8 @@ TARGET = FBReader
SHARE_FBREADER = $(DESTDIR)$(SHAREDIR)/FBReader
install:
- @install -d $(DESTDIR)/usr/share/applications
- @install -m 0644 desktop $(DESTDIR)/usr/share/applications/$(TARGET).desktop
+ @install -d $(DESTDIR)${INSTALLDIR}/share/applications
+ @install -m 0644 desktop $(DESTDIR)${INSTALLDIR}/share/applications/$(TARGET).desktop
@install -d $(DESTDIR)$(IMAGEDIR)
@install -m 0644 ../data/icons/application/$(TARGET_ARCH).png $(DESTDIR)$(IMAGEDIR)/FBReader.png
@install -m 0644 ../data/default/config.desktop.xml $(SHARE_FBREADER)/default/config.xml