aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-03-25 20:42:25 +0800
committerrafan <rafan@FreeBSD.org>2007-03-25 20:42:25 +0800
commit92ea67b1a9b6b6edcac4db3abfd2832ac90fb848 (patch)
tree76c2f66dbdc17c1093dca859a0caa825c14b030c /sysutils
parent4de5e31fd0ec86ae236fc53b8f61b649851751f7 (diff)
downloadfreebsd-ports-gnome-92ea67b1a9b6b6edcac4db3abfd2832ac90fb848.tar.gz
freebsd-ports-gnome-92ea67b1a9b6b6edcac4db3abfd2832ac90fb848.tar.zst
freebsd-ports-gnome-92ea67b1a9b6b6edcac4db3abfd2832ac90fb848.zip
- Respect NOPORTDOCS
PR: ports/109179 Submitted by: rafan Approved by: maintainer timeout (5 weeks)
Diffstat (limited to 'sysutils')
-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}/