Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 20:28:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479481 - head/net/delegate
Message-ID:  <201809102028.w8AKSwqb006053@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Sep 10 20:28:58 2018
New Revision: 479481
URL: https://svnweb.freebsd.org/changeset/ports/479481

Log:
  Convert to options target helper
  
  Approved by:	portmgr (blanket)

Modified:
  head/net/delegate/Makefile

Modified: head/net/delegate/Makefile
==============================================================================
--- head/net/delegate/Makefile	Mon Sep 10 20:28:53 2018	(r479480)
+++ head/net/delegate/Makefile	Mon Sep 10 20:28:58 2018	(r479481)
@@ -43,13 +43,15 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_SCRIPT} ${FILESDIR}/delegated.sh \
 		${STAGEDIR}${PREFIX}/etc/rc.d/delegated.sh-dist
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
 # Re-sign the executable
 	@${MKDIR} ${WRKDIR}/tmp
 	@${CP} ${STAGEDIR}${PREFIX}/sbin/delegated ${WRKDIR}/tmp/dg
 	@${CHMOD} +w ${STAGEDIR}${PREFIX}/sbin/delegated
 	@${WRKDIR}/tmp/dg DGROOT=${WRKDIR}/tmp/ -Fesign -w ${STAGEDIR}${PREFIX}/sbin/delegated
 	@${CHMOD} -w ${STAGEDIR}${PREFIX}/sbin/delegated
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809102028.w8AKSwqb006053>