mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
lang/ruby31: Sanitize MANPREFIX
Approved by: portmgr (blanket)
This commit is contained in:
parent
c168dcf7b4
commit
cbef135749
@ -27,6 +27,7 @@ CPE_UPDATE= p${RUBY_PATCHLEVEL}
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
||||
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \
|
||||
--disable-rpath \
|
||||
--enable-install-static-library \
|
||||
@ -168,7 +169,7 @@ post-install:
|
||||
# Link "ruby.1.gz" to "ruby31.1.gz", etc.
|
||||
#
|
||||
. for FILE in ${INSTALLED_MANUALS}
|
||||
${LN} -fs ${FILE}${RUBY_SUFFIX}.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/${FILE}.1.gz
|
||||
${LN} -fs ${FILE}${RUBY_SUFFIX}.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/${FILE}.1.gz
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
|
@ -997,8 +997,8 @@ lib/libruby%%RUBY_SHLIBVER%%.so.%%RUBY_SHLIBVER%%
|
||||
%%RUBY_LIBDIR%%/yaml/dbm.rb
|
||||
%%RUBY_LIBDIR%%/yaml/store.rb
|
||||
libdata/pkgconfig/ruby-%%RUBY_VER%%.pc
|
||||
%%IF_DEFAULT%%man/man1/ruby.1.gz
|
||||
man/man1/ruby%%RUBY_SUFFIX%%.1.gz
|
||||
%%IF_DEFAULT%%share/man/man1/ruby.1.gz
|
||||
share/man/man1/ruby%%RUBY_SUFFIX%%.1.gz
|
||||
%%DOCS%%%%RUBY_DOCDIR%%/COPYING
|
||||
%%DOCS%%%%RUBY_DOCDIR%%/COPYING.ja
|
||||
%%DOCS%%%%RUBY_DOCDIR%%/ChangeLog
|
||||
|
Loading…
Reference in New Issue
Block a user