Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2015 16:00:05 +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: r394970 - head/devel/love07
Message-ID:  <201508211600.t7LG05HP050267@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Aug 21 16:00:04 2015
New Revision: 394970
URL: https://svnweb.freebsd.org/changeset/ports/394970

Log:
  - Switch to options helpers

Modified:
  head/devel/love07/Makefile

Modified: head/devel/love07/Makefile
==============================================================================
--- head/devel/love07/Makefile	Fri Aug 21 15:59:53 2015	(r394969)
+++ head/devel/love07/Makefile	Fri Aug 21 16:00:04 2015	(r394970)
@@ -42,19 +42,15 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \
 		-e "s/lua5.1/lua-${LUA_VER}/g" \
 		${WRKSRC}/configure
 
-.if ${PORT_OPTIONS:MDOCS}
-post-install:
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in changes.txt readme.txt
 	${INSTALL_DATA} ${WRKSRC}/${f} ${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?201508211600.t7LG05HP050267>