Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 1999 03:04:08 -0700 (PDT)
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        nclayton@lehman.com
Cc:        ports@freebsd.org
Subject:   Re: Automatic handling of pkg/MESSAGE and pkg/INSTALL; ${LOCALBASE}
Message-ID:  <199906091004.DAA17322@bubble.didi.com>
In-Reply-To: <19990609103433.J22307@lehman.com> (nclayton@lehman.com)
References:   <19990609103433.J22307@lehman.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: nclayton@lehman.com

 *     post-install:
 *             @${CAT} pkg/MESSAGE

 *     pre-install:
 *             @pkg/INSTALL ${PKGNAME} PRE-INSTALL
 * 
 *     [...]
 * 
 *     post-install:
 *             @pkg/INSTALL ${PKGNAME} POST-INSTALL

None of these are run from bsd.port.mk because the port's own Makefile
(the one that comes with the original source) might be doing the
equivalent already.

 * Finally, ${LOCALBASE}.  The textproc/docproj port has a number of
 * dependencies on files/directories (as opposed to programs) that are
 * currently written as;
 * 
 *     ${PREFIX}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879
 * 
 * Would I be right in thinking that ${PREFIX} in this example should really
 * be ${LOCALBASE}?

I think so.

By the way, please try to use files, not directories, for dependency
checking.  There are many cases where directories are left behind when
a port is deinstalled (missing @dirrm, extra file in directory so
@dirrm not working, etc.), so it's much safer to explicitly specify
one of the files.

Satoshi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906091004.DAA17322>