Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2018 22:57:17 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482389 - head/devel/py-pyral
Message-ID:  <201810182257.w9IMvHLN079958@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Oct 18 22:57:16 2018
New Revision: 482389
URL: https://svnweb.freebsd.org/changeset/ports/482389

Log:
  devel/py-pyral: use PORTEXAMPLES
  
  Reported by:	tobik
  Pointyhat to:	swills

Modified:
  head/devel/py-pyral/Makefile   (contents, props changed)

Modified: head/devel/py-pyral/Makefile
==============================================================================
--- head/devel/py-pyral/Makefile	Thu Oct 18 22:52:16 2018	(r482388)
+++ head/devel/py-pyral/Makefile	Thu Oct 18 22:57:16 2018	(r482389)
@@ -21,14 +21,12 @@ USE_PYTHON=	autoplist concurrent distutils
 
 SHEBANG_GLOB=	*.py
 NO_ARCH=	yes
-EXAMPLE_FILES=	*.py
+PORTEXAMPLES=	*.py
 
 OPTIONS_DEFINE=	EXAMPLES
 
-do-install-EXAMPLES-on:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${EXAMPLE_FILES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
-	${FIND} -s ${STAGEDIR}${EXAMPLESDIR} -not -type d | ${SORT} | \
-		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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