gnu: ikiwiki: Translate documentation.
* gnu/packages/web.scm (ikiwiki)[inputs]: Add po4a. [arguments]<#:phases>[patch-Makefile]: Rename to... [arguments]<#:phases>[patch-Makefiles]: ...this. Add build environment paths to the PERL5LIB environment variable that is used by the 'po2wiki' script.
This commit is contained in:
parent
cf47084a88
commit
2933cdf88e
1 changed files with 7 additions and 3 deletions
|
|
@ -4840,10 +4840,13 @@ NetSurf project.")
|
||||||
" addenv(\"PERL5LIB\", \""
|
" addenv(\"PERL5LIB\", \""
|
||||||
(getenv "PERL5LIB")
|
(getenv "PERL5LIB")
|
||||||
"\");")))))
|
"\");")))))
|
||||||
(add-after 'patch-source-shebangs 'patch-Makefile
|
(add-after 'patch-source-shebangs 'patch-Makefiles
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile.PL"
|
(substitute* "Makefile.PL"
|
||||||
(("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
|
(("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
|
||||||
|
(with-directory-excursion "po"
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
|
||||||
#t))
|
#t))
|
||||||
(add-before 'build 'set-modification-times
|
(add-before 'build 'set-modification-times
|
||||||
;; The wiki '--refresh' steps, which are executed during
|
;; The wiki '--refresh' steps, which are executed during
|
||||||
|
|
@ -4885,7 +4888,8 @@ NetSurf project.")
|
||||||
("perl-timedate" ,perl-timedate)
|
("perl-timedate" ,perl-timedate)
|
||||||
("perl-xml-sax" ,perl-xml-sax)
|
("perl-xml-sax" ,perl-xml-sax)
|
||||||
("perl-xml-simple" ,perl-xml-simple)
|
("perl-xml-simple" ,perl-xml-simple)
|
||||||
("perl-xml-twig" ,perl-xml-twig)))
|
("perl-xml-twig" ,perl-xml-twig)
|
||||||
|
("po4a" ,po4a)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("perl-html-parser" ,perl-html-parser)
|
`(("perl-html-parser" ,perl-html-parser)
|
||||||
("perl-html-scrubber" ,perl-html-scrubber)
|
("perl-html-scrubber" ,perl-html-scrubber)
|
||||||
|
|
|
||||||
Reference in a new issue