Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 21:20:09 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        Paul Chvostek <paul+fbsd@it.ca>
Cc:        ports@freebsd.org
Subject:   Re: changes to the original source...
Message-ID:  <20030612212009.46193029.sheepkiller@cultdeadsheep.org>
In-Reply-To: <20030612185429.GA17904@mail.it.ca>
References:  <20030612185429.GA17904@mail.it.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jun 2003 14:54:29 -0400
Paul Chvostek <paul+fbsd@it.ca> wrote:

Hi Paul :)
<sorry for the "snip"> 

> Also, if the application's man page fails to include gobs of useful
> information and examples that are available via www, what's the best way
> to grab content for inclusion in $PREFIX/share/doc/$PKGNAME ?  Should
> I just punt with fetch, or is there another preferred way to grab
> additional files to add to $DOCSDIR?  Perhaps something like:

<re snip>

> What's the preferred method?

DISTFILES=      ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.if !defined(NOPORTDOCS)
DISTFILES+=     foo-doc.tar.gz
.endif

....

do-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} <your file(s)> ${DOCSDIR}
.endif

...

regards,

clem



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