Do not touch /etc/manpath.config on -CURRENT after man.d/perl.conf is used

instead

PR:		ports/151914
Submitted by:	garga@
Approved by:	skv@ (maintainer)
This commit is contained in:
Renato Botelho 2010-12-06 09:56:58 +00:00
parent be61e7c06e
commit 56f4b98b86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265753
5 changed files with 42 additions and 18 deletions

View file

@ -21,14 +21,18 @@ if [ "$2" = "POST-INSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_create_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
need_spam_make_conf=yes
need_spam_manpath=yes
need_post_install=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
need_spam_manpath=yes
fi
elif [ "$2" = "POST-DEINSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
fi
else
exit 0;
fi

View file

@ -21,14 +21,18 @@ if [ "$2" = "POST-INSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_create_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
need_spam_make_conf=yes
need_spam_manpath=yes
need_post_install=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
need_spam_manpath=yes
fi
elif [ "$2" = "POST-DEINSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
fi
else
exit 0;
fi

View file

@ -21,14 +21,18 @@ if [ "$2" = "POST-INSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_create_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
need_spam_make_conf=yes
need_spam_manpath=yes
need_post_install=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
need_spam_manpath=yes
fi
elif [ "$2" = "POST-DEINSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
fi
else
exit 0;
fi

View file

@ -21,14 +21,18 @@ if [ "$2" = "POST-INSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_create_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
need_spam_make_conf=yes
need_spam_manpath=yes
need_post_install=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
need_spam_manpath=yes
fi
elif [ "$2" = "POST-DEINSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
fi
else
exit 0;
fi

View file

@ -23,13 +23,17 @@ if [ "x$this" = "xuse.perl" ]; then
need_remove_links=%%LINK_USRBIN%%
need_create_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
need_spam_make_conf=yes
need_spam_manpath=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
need_spam_manpath=yes
fi
elif [ "$1" = "system" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
fi
else
echo "Usage:
${0##*/} port -> /usr/bin/perl is the perl5 port
@ -41,14 +45,18 @@ else
need_remove_links=yes
need_create_links=yes
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
need_spam_make_conf=yes
need_spam_manpath=yes
need_post_install=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
need_spam_manpath=yes
fi
elif [ "$2" = "POST-DEINSTALL" ] ; then
need_remove_links=yes
need_cleanup_make_conf=yes
need_cleanup_manpath=yes
if [ "${osreldate}" -lt 900022 ]; then
need_cleanup_manpath=yes
fi
else
exit 0;
fi