Date: Thu, 15 Feb 2007 07:31:04 +0800 (CST) From: Rong-En Fan <rafan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: anders@FreeBSD.org Subject: ports/109179: [PATCH] sysutils/dmidecode: respect NOPORTDOCS Message-ID: <200702142331.l1ENV4e8072699@svm.csie.ntu.edu.tw> Resent-Message-ID: <200702142340.l1ENe8dE070443@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109179 >Category: ports >Synopsis: [PATCH] sysutils/dmidecode: respect NOPORTDOCS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 14 23:40:08 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-PRERELEASE amd64 >Organization: NTU CSIE >Environment: >Description: - install-doc is called by 'make install'. Hence, NOPORTDOCS is not respected Port maintainer (anders@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- dmidecode-2.8.patch begins here --- Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/sysutils/dmidecode/Makefile,v retrieving revision 1.8 diff -u -u -r1.8 Makefile --- Makefile 7 Feb 2006 08:51:09 -0000 1.8 +++ Makefile 14 Feb 2007 23:25:52 -0000 @@ -25,8 +25,13 @@ MAN8= biosdecode.8 dmidecode.8 ownership.8 vpddecode.8 -.if !defined(NOPORTDOCS) +post-patch: +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e '/^install.*:/s,install-doc,,' ${WRKSRC}/Makefile +.endif + post-install: +.if !defined(NOPORTDOCS) ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ --- dmidecode-2.8.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702142331.l1ENV4e8072699>