Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 16:21:21 +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: r403545 - head/games/ember
Message-ID:  <201512111621.tBBGLL5p018918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec 11 16:21:20 2015
New Revision: 403545
URL: https://svnweb.freebsd.org/changeset/ports/403545

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

Modified:
  head/games/ember/Makefile

Modified: head/games/ember/Makefile
==============================================================================
--- head/games/ember/Makefile	Fri Dec 11 15:25:07 2015	(r403544)
+++ head/games/ember/Makefile	Fri Dec 11 16:21:20 2015	(r403545)
@@ -40,8 +40,6 @@ USES=		openal:al,alut pathfix pkgconfig 
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '\
 		s|-lGL|-L${LOCALBASE}/lib -lGL|g' \
@@ -60,11 +58,10 @@ post-install:
 	${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
 	${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644
 
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docfile in README.md COPYING AUTHORS ChangeLog
-	@${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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