Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 00:08:40 +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: r395808 - head/x11/swarp
Message-ID:  <201509020008.t8208emf082050@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep  2 00:08:39 2015
New Revision: 395808
URL: https://svnweb.freebsd.org/changeset/ports/395808

Log:
  - Switch to options helpers

Modified:
  head/x11/swarp/Makefile

Modified: head/x11/swarp/Makefile
==============================================================================
--- head/x11/swarp/Makefile	Wed Sep  2 00:08:29 2015	(r395807)
+++ head/x11/swarp/Makefile	Wed Sep  2 00:08:39 2015	(r395808)
@@ -24,15 +24,11 @@ PLIST_FILES=	bin/swarp
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${ECHO_CMD} -n > ${WRKSRC}/config.mk
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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