Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 13:29:34 +0300 (EEST)
From:      Maxim Sobolev <sobomax@FreeBSD.ORG>
To:        nbm@mithrandr.moria.org (Neil Blakey-Milner)
Cc:        wjv@FreeBSD.ORG (Johann Visagie), sobomax@FreeBSD.ORG (Maxim Sobolev), ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/Mk bsd.port.mk
Message-ID:  <200107101029.f6AATZV99887@vega.vega.com>
In-Reply-To: <20010710122317.A47471@mithrandr.moria.org> from "Neil Blakey-Milner" at Jul 10, 2001 12:23:18 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Tue 2001-07-10 (12:16), Johann Visagie wrote:
> > Maxim Sobolev on 2001-07-10 (Tue) at 00:50:18 -0700:
> > > 
> > > sobomax     2001/07/10 00:50:18 PDT
> > > 
> > >   Modified files:
> > >     Mk                   bsd.port.mk 
> > >   Log:
> > >   Similarly to DOCSDIR add DATADIR?=${PREFIX}/share/${PORTNAME}. Also slightly
> > >   expand comment for DOCSDIR, so it is immediately clear what its value is.
> > >   
> > >   Ignored by:	obrien, portmgr
> > 
> > If we're going this far, then how about something like:
> >   EXAMPLEDIR?=${PREFIX}/share/examples/${PORTNAME}
> > 
> > (I find myself replicating that one quite often as well.)
> > 
> > Moreover, in all the above cases, would it not be advisable to name the
> > actual directory ${PKGNAMEPREFIX}${PORTNAME} instead of just ${PORTNAME}?
> 
> Or just "${PKGNAME}"?

No, because ${PKGNAME} has version hardcoded into it.

-Maxim

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?200107101029.f6AATZV99887>