ports/68791: [MAINTAINER-UPDATE] Update www/screem to 0.10.2

John Merryweather Cooper johnmary at adelphia.net
Thu Jul 8 01:16:56 UTC 2004


On Wed, 2004-07-07 at 17:50, Adam Weinberger wrote:
> The following reply was made to PR ports/68791; it has been noted by GNATS.
> 
> From: Adam Weinberger <adamw at FreeBSD.org>
> To: John Merryweather Cooper <johnmary at adelphia.net>
> Cc: FreeBSD gnats submit <FreeBSD-gnats-submit at FreeBSD.org>
> Subject: Re: ports/68791: [MAINTAINER-UPDATE] Update www/screem to 0.10.2
> Date: Wed, 7 Jul 2004 20:50:04 -0400
> 
>  >> (07.07.2004 @ 2036 PST): John Merryweather Cooper said, in 5.3K: <<
>  > -# $FreeBSD: ports/www/screem/Makefile,v 1.45 2004/04/18 17:58:59 marcus Exp $
>  > +# $FreeBSD$
>  
>  Please don't nuke the $FreeBSD$ line...

I quote from the Porter's Handbook:

Do not worry about the contents of the $FreeBSD$ line, it will be filled
in automatically by CVS when the port is imported to our main ports
tree.  (Section 3.1)

I've been truncating this field for two years at the request of
committers and in compliance with the Handbook.  It should be truncated
by a maintainer.


>  
>  > +# HACK:  This allows test builds into a temporary directory, but in the REAL world,
>  > +# gconf would have created this directory.
>  > +pre-install:
>  > +	@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults
>  
>  This is true of many, many ports. I don't think it should be added to
>  port Makefiles.

It is my philosophy that every port should be able to be built/installed
with something like the following command line:

# make PREFIX=/tmp/screem install

Ports that cannot be built in this manner are, IMO, broken.

Without this hack, www/screem (and all other such ports) cannot be built
in this manner.  The implications are:

1) such ports cannot be easily tested;
2) verifying the contents of the pkg-plist's of such ports is much more
difficult;
3) tools such as plist cannot be used to help generate a draft
pkg-plist; and
4) such ports are only notionally ${PREFIX} safe.

Since this hack does no harm, makes the port truly ${PREFIX} safe, and
allows better testing, it should stay in.

>  
>  > + at dirrm etc/gconf/schemas
>  
>  This directory isn't unique to screem. There shouldn't be an attempt to
>  delete it (which will necessarily fail, btw).

It fails harmlessly, but I missed it (considering the size and
complexity of the pkg-plist though, I think I did pretty well).  To the
committer who finally does this upgrade, please delete this line from
the pkg-plist.

jmc

>  
>  # Adam
>  
> 
>  --
>  Adam Weinberger
>  adamw at magnesium.net || adamw at FreeBSD.org
>  adamw at vectors.cx    ||   adamw at gnome.org
>  http://www.vectors.cx
> _______________________________________________
> freebsd-ports-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"



More information about the freebsd-ports-bugs mailing list