changes to the original source...

Clement Laforet sheepkiller at cultdeadsheep.org
Thu Jun 12 12:19:55 PDT 2003


On Thu, 12 Jun 2003 14:54:29 -0400
Paul Chvostek <paul+fbsd at 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


More information about the freebsd-ports mailing list