Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 17:21:06 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336560 - head/lang/tinypy
Message-ID:  <201312151721.rBFHL6s4005972@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sun Dec 15 17:21:06 2013
New Revision: 336560
URL: http://svnweb.freebsd.org/changeset/ports/336560

Log:
  lang/tinypy: fix usage of python and examples
  
  Reported by:	exp-run (PR 184591)
  Approved by:	portmgr (blanket)

Modified:
  head/lang/tinypy/Makefile

Modified: head/lang/tinypy/Makefile
==============================================================================
--- head/lang/tinypy/Makefile	Sun Dec 15 17:17:09 2013	(r336559)
+++ head/lang/tinypy/Makefile	Sun Dec 15 17:21:06 2013	(r336560)
@@ -16,7 +16,6 @@ PYDISTUTILS_BUILD_TARGET=	linux
 PYDISTUTILS_NOEGGINFO=		yes
 
 PLIST_FILES=	bin/tinypy
-PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	PYGAME
 PYGAME_DESC=	PyGame support (requires SDL)
@@ -27,12 +26,14 @@ NO_STAGE=	yes
 .if ${PORT_OPTIONS:MPYGAME}
 PYDISTUTILS_BUILD_TARGET+=	pygame
 USE_SDL=	sdl
+PORTEXAMPLES=	*
 .endif
 
 .include <bsd.port.pre.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-O.||; s|gcc $$WFLAGS|${CC} ${CFLAGS} -std=c89 -Wall|' \
+		-e 's|python |${PYTHON_CMD} |g' \
 		${WRKSRC}/setup.py
 
 do-configure:



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