Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2015 14:14:53 +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: r395760 - head/x11/xmangekyou
Message-ID:  <201509011414.t81EErKk030469@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Sep  1 14:14:53 2015
New Revision: 395760
URL: https://svnweb.freebsd.org/changeset/ports/395760

Log:
  - Switch to options helpers

Modified:
  head/x11/xmangekyou/Makefile

Modified: head/x11/xmangekyou/Makefile
==============================================================================
--- head/x11/xmangekyou/Makefile	Tue Sep  1 14:14:45 2015	(r395759)
+++ head/x11/xmangekyou/Makefile	Tue Sep  1 14:14:53 2015	(r395760)
@@ -19,8 +19,6 @@ PLIST_FILES=	bin/xmangekyou lib/X11/XMan
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|= /usr/X11R6|= $${PREFIX}|g ; \
 		 s|gcc |$${CC} |g ; \
@@ -33,9 +31,9 @@ do-install:
 	${INSTALL_MAN} ${WRKSRC}/xmangekyou.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/XMangekyou
 	${INSTALL_DATA} ${WRKSRC}/animation.dat ${STAGEDIR}${PREFIX}/lib/X11/XMangekyou
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.euc ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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