aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sas2ircu
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
commite1bfdfbe5665c963621e06f6bbfbbc2c000a804e (patch)
treeeaf052562fa1ad9b232918eb5e617ac1df0dd725 /sysutils/sas2ircu
parentf57bc4af665126de839ff734a08e57726e84da84 (diff)
downloadports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.tar.gz
ports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.zip
Add DOCS options to ports that should have one.
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
Notes
Notes: svn path=/head/; revision=479406
Diffstat (limited to 'sysutils/sas2ircu')
-rw-r--r--sysutils/sas2ircu/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/sas2ircu/Makefile b/sysutils/sas2ircu/Makefile
index f9968ed5b0a6..d02e320a12ea 100644
--- a/sysutils/sas2ircu/Makefile
+++ b/sysutils/sas2ircu/Makefile
@@ -26,17 +26,17 @@ NO_WRKSRC= yes
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= Binaries only available for i386 and amd64 from Broadcom
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
do-install:
-.if ${PORT_OPTIONS:MDOCS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_${ARCH}_rel/sas2ircu\
+ ${STAGEDIR}${PREFIX}/sbin
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Readme_Release_Notes_SAS2IRCU_Phase_${PORTVERSION}.txt\
${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/SAS2IRCU_Phase20.0-${PORTVERSION}.pdf\
${STAGEDIR}${DOCSDIR}
-.endif
- ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_${ARCH}_rel/sas2ircu\
- ${STAGEDIR}${PREFIX}/sbin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>