ports/50840: mail/squirrelmail - Port Docs in wrong location
Scot W. Hetzel
hetzels at westbend.net
Sat Apr 12 03:30:10 UTC 2003
The following reply was made to PR ports/50840; it has been noted by GNATS.
From: "Scot W. Hetzel" <hetzels at westbend.net>
To: "Adam Weinberger" <adamw at freebsd.org>
Cc: <FreeBSD-gnats-submit at freebsd.org>, <simond at irrelevant.org>
Subject: Re: ports/50840: mail/squirrelmail - Port Docs in wrong location
Date: Fri, 11 Apr 2003 22:22:56 -0500
From: "Adam Weinberger" <adamw at freebsd.org>
> >> (04.11.2003 @ 1558 PST): Scot W. Hetzel said, in 67K: <<
> > +PLIST_SUB+= PORTVERSION=${PORTVERSION}
> > +
> > +DOCS= AUTHORS COPYING ChangeLog INSTALL README
ReleaseNotes-${PORTVERSION} UPGRADE
> > +
> > +post-extract:
> > + @${MV} ${WRKSRC}/ReleaseNotes ${WRKSRC}/ReleaseNotes-${PORTVERSION}
>
> Why are you doing this? Why do you want to alter the build mechanism to
> make a PORTVERSION-specific Relnotes file, if it just gets deleted on
> upgrade anyway?
>
> You're altering what the author intended. If you'd like to see
> ReleaseNotes renamed, please contact the author.
>
The reason for the rename of the ReleaseNotes file is that it would have
conflicted with the ReleaseNotes directory found under squirlmail/doc (when
it gets moved to the DOCSDIR). Other ports also rename files when they
install them into thier DOCSDIR to prevent name conflicts.
> So you're suggesting that:
> (1) The same files get installed anyway.
> (2) Then the doc files are deleted.
> (3) Then the entire doc/ directory is deleted
> (4) Then they're conditionally added back in
under the DOCSDIR.
>
> This makes assumptions about that people haven't put into their
> squirrelmail directory.
This makes the SquirrelMail Port conform to the FreeBSD Specification for
the location of Port Documentation.
http://www.fr.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-do
cumentation.html
> I'd personally rather see a list of files to install generated
> dynamically within the Makefile by listing ${WRKSRC} and then :S'ing out
> the doc/ directory from that list.
>
Submit a better patch to this PR that moves the files to their correct
locations.
> Also, I disagree that this should automatically go under /usr/local/www.
> I'm interested in hearing the maintainer's thoughts.
>
My thinking on this is that all web pages should be placed in one location
and since we already have the www directory (from the apache install)
available for web pages, this would be the best location for these files.
Instead of placing them under the PREFIX directory.
But I'll leave it up to the port maintainer/committer to decide on where the
proper location should be.
Scot
More information about the freebsd-ports-bugs
mailing list