Date: Sat, 16 Dec 2000 17:42:24 -0600 From: Steve Price <steve@freebsd.org> To: ports@freebsd.org Subject: bsd.port.mk patch for NOPORTDOCS Message-ID: <20001216174224.R54249@bonsai.knology.net>
next in thread | raw e-mail | index | archive | help
What are people's thoughts on including something like the following patch in bsd.port.mk? It moves the same 5 lines that are repeated in a lot of our port's Makefiles to bsd.port.mk so that we don't have to keep duplicating them. -steve Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.360 diff -u -r1.360 bsd.port.mk --- bsd.port.mk 2000/11/16 13:06:25 1.360 +++ bsd.port.mk 2000/12/16 23:36:07 @@ -739,6 +739,12 @@ PLIST_SUB+= OSREL=${OSREL} PREFIX=%D LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} +.if defined(NOPORTDOCS) +PLIST_SUB+= PORTDOCS="@comment " +.else +PLIST_SUB+= PORTDOCS="" +.endif + CONFIGURE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} SCRIPTS_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} MAKE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} 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?20001216174224.R54249>