svn commit: r482389 - head/devel/py-pyral

Steve Wills swills at FreeBSD.org
Thu Oct 18 22:57:18 UTC 2018


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>


More information about the svn-ports-head mailing list