Date: Mon, 16 Jun 1997 17:26:57 +0300 From: Ruslan Shevchenko <rssh@cki.ipri.kiev.ua> To: "Jordan K. Hubbard" <jkh@time.cdrom.com>, ports@FreeBSD.ORG Subject: Re: [Q] INSTALL script in pkg Message-ID: <33A54D38.581D@cki.ipri.kiev.ua> References: <19423.866466950@time.cdrom.com> <33A53656.66D5@cki.ipri.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Shevchenko wrote: > > Jordan K. Hubbard wrote: > > > > > I have port of latex2html, > > > but for nice installation I need INSTALL/DEINSTALL > > > scripts. > > > > > > I added INSTALL/DEINSTALL in ${PKGDIR}, > > > but they are not run at all. > > > > Those aren't run by the port install, those are run by the pkg install. > > E.g. if you were to make this port, then install it, then say "make package", > > the resulting .tgz file would run your INSTALL/DEINSTALL scripts when > > pkg_add/pkg_delete were run on it. Clearer? > > It's not run from pkg_ass add (sorry ) The problem, that script, which I put in ${PKGDIR}/DEINSTALL not run at all during pkg_delete. (I yet not check INSTALL, in port in post-install I call it manually.) I.e. I type: make install # pkg/INSTALL scripts run from Makefile. pkg_delete # pkg/DEINSTALL scripts is not run. You mean, that I *must* build package ? > > > > > Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33A54D38.581D>