Newbie question about additional documentation

Peter Pentchev roam at ringlet.net
Wed Nov 25 09:54:43 UTC 2009


On Tue, Nov 24, 2009 at 06:26:34AM +0000, Matthew Seaman wrote:
> dave wrote:
> > On Mon, 2009-11-23 at 22:20 +0000, Matthew Seaman wrote:
> >> Correct.  In fact, it possibly means the LICENSE ends up in the plist
> >> twice, which is almost as bad as it not being mentioned at all.
> > 
> > Ok, I think I'm starting to get a hang of this. Personally, I prefer the
> > static pkg-plist.
> > 
> > There's one last minor detail, though. The where's the final packing
> > list located? Is it in /var/db/pkg/${DISTNAME}?
> > 
> 
> While you're building the port, the packing list is assembled as
> ${WRKDIR}/PLIST where ${WRKDIR} is by default /usr/ports/foo/bar/work/
> although it's not uncommon to locate it somewhere else by modifying
> $WRKDIRPREFIX.
> 
> Once installed the PLIST is turned into /var/db/pkg/${DISTNAME}/+CONTENTS
> which adds information about the ports this one depends on, plus the
> md5 sumes of all of the installed files.

Just a small correction: it's /var/db/pkg/${PKGNAME}, not ${DISTNAME} :)
A slight difference, but important sometimes, most often when
PORTREVISION > 0, but also when there are differences between
the representation of the version in the upstream distribution and in
the FreeBSD port.

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at space.bg    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
I am not the subject of this sentence.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091125/a0ead41a/attachment.pgp


More information about the freebsd-ports mailing list