summary refs log tree commit diff
path: root/pkgs/applications/misc/xpdf
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2010-11-05 14:41:19 +0000
committerPeter Simons <simons@cryp.to>2010-11-05 14:41:19 +0000
commit9c6acea5636d8d6095cf865e5b360b221e3cfa5d (patch)
treee5acc5cd82ee45e060bd77b5bafc3c3216f5899d /pkgs/applications/misc/xpdf
parenta09b681e3eafbb38e8c095153442a62e5ec8329f (diff)
downloadnixpkgs-9c6acea5636d8d6095cf865e5b360b221e3cfa5d.tar
nixpkgs-9c6acea5636d8d6095cf865e5b360b221e3cfa5d.tar.gz
nixpkgs-9c6acea5636d8d6095cf865e5b360b221e3cfa5d.tar.bz2
nixpkgs-9c6acea5636d8d6095cf865e5b360b221e3cfa5d.tar.lz
nixpkgs-9c6acea5636d8d6095cf865e5b360b221e3cfa5d.tar.xz
nixpkgs-9c6acea5636d8d6095cf865e5b360b221e3cfa5d.tar.zst
nixpkgs-9c6acea5636d8d6095cf865e5b360b221e3cfa5d.zip
pkgs/applications/misc/xpdf: fixed location of "info" and "man" directories
svn path=/nixpkgs/trunk/; revision=24606
Diffstat (limited to 'pkgs/applications/misc/xpdf')
-rw-r--r--pkgs/applications/misc/xpdf/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/misc/xpdf/default.nix b/pkgs/applications/misc/xpdf/default.nix
index 7b897e59d4e..4a9425070de 100644
--- a/pkgs/applications/misc/xpdf/default.nix
+++ b/pkgs/applications/misc/xpdf/default.nix
@@ -40,11 +40,11 @@ stdenv.mkDerivation {
   ];
 
   configureFlags =
-    [ "--enable-a4-paper" ] /* We obey ISO standards! */
-    ++ (if enablePDFtoPPM then [
-      "--with-freetype2-library=${freetype}/lib"
-      "--with-freetype2-includes=${freetype}/include/freetype2"
-    ] else []);
+    "--infodir=$out/share/info --mandir=$out/share/man --enable-a4-paper"
+    + (if enablePDFtoPPM then
+         " --with-freetype2-library=${freetype}/lib"
+         + " --with-freetype2-includes=${freetype}/include/freetype2"
+       else "");
 
   postInstall = "
     if test -n \"${base14Fonts}\"; then
@@ -59,6 +59,6 @@ stdenv.mkDerivation {
     description = "viewer for Portable Document Format (PDF) files";
 
     platforms = stdenv.lib.platforms.unix;
-    maintainers = [];
+    maintainers = [ stdenv.lib.maintainers.simons ];
   };
 }