Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 19:53:45 +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: r414960 - head/graphics/py-pyggel
Message-ID:  <201605101953.u4AJrjne050692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue May 10 19:53:45 2016
New Revision: 414960
URL: https://svnweb.freebsd.org/changeset/ports/414960

Log:
  - Fix dependency
  - Fix LICENSE_COMB
  - Switch to options helpers
  - Add NO_ARCH
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/py-pyggel/Makefile

Modified: head/graphics/py-pyggel/Makefile
==============================================================================
--- head/graphics/py-pyggel/Makefile	Tue May 10 19:51:23 2016	(r414959)
+++ head/graphics/py-pyggel/Makefile	Tue May 10 19:53:45 2016	(r414960)
@@ -15,40 +15,38 @@ MAINTAINER=	koalative@gmail.com
 COMMENT=	Python Graphical Game Engine and Libraries
 
 LICENSE=	LGPL3 PD
-LICENSE_COMB=	dual
+LICENSE_COMB=	multi
 
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYGAME} \
-		${PYTHON_PKGNAMEPREFIX}opengl>=0:graphics/py-PyOpenGL \
+		${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL \
 		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow
 
 USES=		dos2unix python:2 zip
 DOS2UNIX_GLOB=	*.mtl *.py *.txt
 USE_PYTHON=	autoplist distutils
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 PORTDOCS=	Readme.txt
 PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|data_files =|#data_files =|' \
 		${WRKSRC}/setup.py
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
 	@(cd ${WRKSRC}/examples_and_tutorials && ${COPYTREE_SHARE} . \
 		${STAGEDIR}${EXAMPLESDIR}/examples_and_tutorials)
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${EXAMPLESDIR})
-. for f in test_FBO test_camera test_gui test_mesh test_particle test_texture_swap
+.for f in test_FBO test_camera test_gui test_mesh test_particle test_texture_swap
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f}.py ${STAGEDIR}${EXAMPLESDIR})
-. endfor
-.endif
+.endfor
 
 .include <bsd.port.mk>



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