Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 22:59:25 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397672 - head/net/mopd
Message-ID:  <201509232259.t8NMxPaE087392@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep 23 22:59:25 2015
New Revision: 397672
URL: https://svnweb.freebsd.org/changeset/ports/397672

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/net/mopd/Makefile

Modified: head/net/mopd/Makefile
==============================================================================
--- head/net/mopd/Makefile	Wed Sep 23 22:59:06 2015	(r397671)
+++ head/net/mopd/Makefile	Wed Sep 23 22:59:25 2015	(r397672)
@@ -16,21 +16,15 @@ MAKE_ENV=	BINDIR=${PREFIX}/sbin MANDIR=$
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS} || make(makesum)
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+DOCS_DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 		VAX-netboot-HOWTO VS3100-console-cmds.txt
-.endif
 
 do-configure:
 	@${REINPLACE_CMD} -e 's/MAN=/MAN8=/' ${WRKSRC}/mopd/Makefile
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_MAN} ${DISTDIR}/VAX-netboot-HOWTO  \
+	${INSTALL_DATA} ${DISTDIR}/VAX-netboot-HOWTO  \
 		${DISTDIR}/VS3100-console-cmds.txt ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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