ports/109179: [PATCH] sysutils/dmidecode: respect NOPORTDOCS
Rong-En Fan
rafan at FreeBSD.org
Wed Feb 14 23:40:09 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list