svn commit: r395808 - head/x11/swarp

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 2 00:08:40 UTC 2015


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>


More information about the svn-ports-all mailing list