diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-22 18:09:56 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-22 20:26:39 +0000 |
commit | c168dcf7b417b922e76ef60b6950240616dba2bb (patch) | |
tree | 9574de7352fe01080e4505f59648fc699c7252c1 | |
parent | a47484ac52254f3f197b5f9fcf49588db0a1d981 (diff) |
lang/ruby32: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r-- | lang/ruby32/Makefile | 3 | ||||
-rw-r--r-- | lang/ruby32/pkg-plist | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lang/ruby32/Makefile b/lang/ruby32/Makefile index dde7e8ed88de..8464ce2fcc07 100644 --- a/lang/ruby32/Makefile +++ b/lang/ruby32/Makefile @@ -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 \ @@ -171,7 +172,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 diff --git a/lang/ruby32/pkg-plist b/lang/ruby32/pkg-plist index 813d9e7a5e24..5ca7d9916bfd 100644 --- a/lang/ruby32/pkg-plist +++ b/lang/ruby32/pkg-plist @@ -1046,8 +1046,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 |