diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-05 00:18:17 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-05 00:18:17 +0000 |
commit | 0921d535b33a33bbb698f65353c4afc0c2550fd2 (patch) | |
tree | da0b11d1f6647d7844520efde1a8b3b41d1944f7 /dns/dhisd | |
parent | ea1babb4f7fbc104f98dd5c092ad32fdc14a4d6d (diff) | |
download | ports-0921d535b33a33bbb698f65353c4afc0c2550fd2.tar.gz ports-0921d535b33a33bbb698f65353c4afc0c2550fd2.zip |
Notes
Diffstat (limited to 'dns/dhisd')
-rw-r--r-- | dns/dhisd/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dns/dhisd/Makefile b/dns/dhisd/Makefile index 20f2f756ed50..92becfb16735 100644 --- a/dns/dhisd/Makefile +++ b/dns/dhisd/Makefile @@ -17,7 +17,12 @@ LDFLAGS+= -L${PREFIX}/lib DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README +OPTIONS_DEFINE= DOCS + NO_STAGE= yes + +.include <bsd.port.options.mk> + post-patch: ${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh cd ${WRKSRC} && ${REINPLACE_CMD} -e "s^__PREFIX__^${PREFIX}^g" \ @@ -46,7 +51,7 @@ post-install: @${INSTALL_SCRIPT} -m 751 ${WRKSRC}/dhisd.sh ${PREFIX}/etc/rc.d/dhisd.sh @${ECHO_CMD} "etc/rc.d/dhisd.sh" >> ${TMPPLIST} .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} "===> Installing documentation in ${DOCSDIR}" @${MKDIR} ${DOCSDIR} @${CHMOD} 755 ${DOCSDIR} @@ -63,7 +68,7 @@ post-install: @${ECHO} "" @${ECHO} "For more information, see the following site:" @${ECHO} "http://www.dhis.org/dhis/r5/" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO} "" @${ECHO} "or the files in ${DOCSDIR}" @${ECHO} "Read INSTALL and INSTALL.bsd at least for the setup information of dhisd." |