Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 19:24:36 +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: r397391 - head/net/cvsync
Message-ID:  <201509201924.t8KJOac4052924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Sep 20 19:24:35 2015
New Revision: 397391
URL: https://svnweb.freebsd.org/changeset/ports/397391

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

Modified:
  head/net/cvsync/Makefile

Modified: head/net/cvsync/Makefile
==============================================================================
--- head/net/cvsync/Makefile	Sun Sep 20 19:23:55 2015	(r397390)
+++ head/net/cvsync/Makefile	Sun Sep 20 19:24:35 2015	(r397391)
@@ -30,16 +30,12 @@ MAKE_FLAGS=	OSVER="${OSVERSION}" HASH_TY
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/samples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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