Ticket #1766 (closed defect: fixed)
incorrect manpage install line in portfile
| Reported by: | jbc@… | Owned by: | mich@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | ||
| Port: |
Description
Install fails at staging with message:
Error: Target com.apple.destroot returned: shell command "cd /opt/darwinports/dports/textproc/ glark/work/glark-1.6.5 && install glark /opt/darwinports/dports/textproc/glark/work/destroot/opt/ local/bin && install glark.1 /opt/darwinports/dports/textproc/glark/work/destroot/opt/local/man/ man1" returned error 71 Command output: install: /opt/darwinports/dports/textproc/glark/work/destroot/opt/local/man/ man1: No such file or directory
Based on the directory structure, it appears that
destroot { system "cd ${worksrcpath} && \
install ${name} ${destroot}${prefix}/bin && \ install ${name}.1 ${destroot}${prefix}/man/man1" }
in the portfile should be
destroot { system "cd ${worksrcpath} && \
install ${name} ${destroot}${prefix}/bin && \ install ${name}.1 ${destroot}${prefix}/share/man/man1" }
Installed fine after this change.

