svn commit: r343500 - head/devel/py-yaml

Kubilay Kocak koobs at FreeBSD.org
Sun Feb 9 13:07:02 UTC 2014


Author: koobs
Date: Sun Feb  9 13:07:02 2014
New Revision: 343500
URL: http://svnweb.freebsd.org/changeset/ports/343500
QAT: https://qat.redports.org/buildarchive/r343500/

Log:
  devel/py-yaml: Remove redundant bsd.port.options.mk include
  
  Save one extra parse of bsd.port.mk by moving PORT_OPTIONS:MEXAMPLES under
  the bsd.port.pre.mk include and removing bsd.port.options.mk.
  
  Reported by:	mat

Modified:
  head/devel/py-yaml/Makefile

Modified: head/devel/py-yaml/Makefile
==============================================================================
--- head/devel/py-yaml/Makefile	Sun Feb  9 13:00:56 2014	(r343499)
+++ head/devel/py-yaml/Makefile	Sun Feb  9 13:07:02 2014	(r343500)
@@ -23,15 +23,13 @@ PYDISTUTILS_AUTOPLIST=	yes
 
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MEXAMPLES}
 post-install:
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
 .endif
 
-.include <bsd.port.pre.mk>
-
 .if ${PORT_OPTIONS:MLIBYAML}
 PYDISTUTILS_SETUP+=		--with-libyaml
 PYDISTUTILS_BUILD_TARGET=	build_ext


More information about the svn-ports-head mailing list