Does new PORTDOCS macro mork?

Joe Marcus Clarke marcus at marcuscom.com
Fri Nov 7 17:00:33 PST 2003


On Fri, 2003-11-07 at 18:49, Sergey Matveychuk wrote:
> How can I use new PORTDOCS macro?
> 
> I've tried to remove all docs stuff from pkg-plist and list it in PORTDOCS:
> PORTDOCS=      FAQ SECURITY CREDITS ChangeLog
> 
> But docs was not installed.
> 
> How it works?

Setting this macro only adds plist entries to the final package
+CONTENTS file (just like INFO and MAN do).  You will still have to
physically install these files.  For example:

PORTDOCS=      FAQ SECURITY CREDITS ChangeLog
...
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor

Joe

> 
> ---
> Sem.
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031107/f8096706/attachment.bin


More information about the freebsd-ports mailing list