summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xfig.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/xfig.scm b/gnu/packages/xfig.scm
index b15407417fe..6436e52ad60 100644
--- a/gnu/packages/xfig.scm
+++ b/gnu/packages/xfig.scm
@@ -1,5 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> 2;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
3;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -118,7 +119,14 @@
118 (close-pipe in) 119 (close-pipe in)
119 (close-port out))) 120 (close-port out)))
120 (zero? (system* "make" "install.doc")))) 121 (zero? (system* "make" "install.doc"))))
121 %standard-phases))))) 122 (alist-cons-after
123 'install 'wrap-xfig
124 (lambda* (#:key outputs #:allow-other-keys)
125 (let ((out (assoc-ref outputs "out")))
126 (wrap-program (string-append out "/bin/xfig")
127 `("XAPPLRESDIR" suffix
128 (,(string-append out "/etc/X11/app-defaults"))))))
129 %standard-phases))))))
122 (home-page "http://xfig.org/") 130 (home-page "http://xfig.org/")
123 (synopsis "Interactive drawing tool") 131 (synopsis "Interactive drawing tool")
124 (description 132 (description