aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dmidecode
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-25 12:42:25 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-25 12:42:25 +0000
commit2e9faf937487b724ef36ad0ca3329e360823267f (patch)
treef25ce40f3881e97e1875220ba8df1743a702f758 /sysutils/dmidecode
parentfd66d88088ed16adaf30413cf097a38e44240048 (diff)
downloadports-2e9faf937487b724ef36ad0ca3329e360823267f.tar.gz
ports-2e9faf937487b724ef36ad0ca3329e360823267f.zip
- Respect NOPORTDOCS
PR: ports/109179 Submitted by: rafan Approved by: maintainer timeout (5 weeks)
Notes
Notes: svn path=/head/; revision=188277
Diffstat (limited to 'sysutils/dmidecode')
-rw-r--r--sysutils/dmidecode/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/dmidecode/Makefile b/sysutils/dmidecode/Makefile
index 5b89bb8ba391..937b5c6a17f5 100644
--- a/sysutils/dmidecode/Makefile
+++ b/sysutils/dmidecode/Makefile
@@ -25,8 +25,13 @@ PORTDOCS= AUTHORS CHANGELOG README
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}/