diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2017-10-18 17:01:25 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2017-10-19 09:04:43 +0300 |
| commit | 530d9e1555e8d0125dde6893f5f70c7a1ebc2564 (patch) | |
| tree | daf102401991c4060cd2ec98260af8cf459a475f /gnu/packages/ghostscript.scm | |
| parent | 8c88e0ba8c2f0ed653adbfbf512711d33055211c (diff) | |
gnu: psutils: Use 'modify-phases'.
* gnu/packages/ghostscript.scm (psutils)[arguments]: Use 'modify-phases'
syntax.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
| -rw-r--r-- | gnu/packages/ghostscript.scm | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 28477b2c420..c2e8a55cbc2 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm | |||
| @@ -100,23 +100,23 @@ paper size.") | |||
| 100 | (arguments | 100 | (arguments |
| 101 | `(#:tests? #f ; none provided | 101 | `(#:tests? #f ; none provided |
| 102 | #:phases | 102 | #:phases |
| 103 | (alist-replace | 103 | (modify-phases %standard-phases |
| 104 | 'configure | 104 | (replace 'configure |
| 105 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) | 105 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) |
| 106 | (let ((perl (assoc-ref inputs "perl")) | 106 | (let ((perl (assoc-ref inputs "perl")) |
| 107 | (out (assoc-ref outputs "out"))) | 107 | (out (assoc-ref outputs "out"))) |
| 108 | (copy-file "Makefile.unix" "Makefile") | 108 | (copy-file "Makefile.unix" "Makefile") |
| 109 | (substitute* "Makefile" | 109 | (substitute* "Makefile" |
| 110 | (("/usr/local/bin/perl") (string-append perl "/bin/perl"))) | 110 | (("/usr/local/bin/perl") (string-append perl "/bin/perl"))) |
| 111 | (substitute* "Makefile" | 111 | (substitute* "Makefile" |
| 112 | (("/usr/local") out)) | 112 | (("/usr/local") out)) |
| 113 | ;; for the install phase | 113 | ;; for the install phase |
| 114 | (substitute* "Makefile" | 114 | (substitute* "Makefile" |
| 115 | (("-mkdir") "mkdir -p")) | 115 | (("-mkdir") "mkdir -p")) |
| 116 | ;; drop installation of non-free files | 116 | ;; drop installation of non-free files |
| 117 | (substitute* "Makefile" | 117 | (substitute* "Makefile" |
| 118 | ((" install.include") "")))) | 118 | ((" install.include") ""))) |
| 119 | %standard-phases))) | 119 | #t))))) |
| 120 | (synopsis "Collection of utilities for manipulating PostScript documents") | 120 | (synopsis "Collection of utilities for manipulating PostScript documents") |
| 121 | (description | 121 | (description |
| 122 | "PSUtils is a collection of utilities for manipulating PostScript | 122 | "PSUtils is a collection of utilities for manipulating PostScript |
