diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dmidecode/Makefile | 7 |
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}/ |