Changeset View
Changeset View
Standalone View
Standalone View
graphics/py-mayavi/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Vladimir Chukharev | |||||
# $FreeBSD$ | |||||
PORTNAME= mayavi | |||||
PORTVERSION= 4.4.3 | |||||
CATEGORIES= graphics science python | |||||
MASTER_SITES= CHEESESHOP | |||||
koobs: Put virtual categories (python) last | |||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | |||||
MAINTAINER= Vladimir.Chukharev@gmail.com | |||||
COMMENT= Application and library for 3D visualization and plotting in Python | |||||
LICENSE= BSD3CLAUSE | |||||
#LICENSE= BSD3CLAUSE Nuvola CP Eclipse OOo YORICK COLORBREWER | |||||
#LICENSE_COMB= milti | |||||
#LICENSE_FILE= ${WRKSRC}/LICENSE.txt | |||||
#LICENSE_FILE_Nuvola= ${WRKSRC}/image_LICENSE_Nuvola.txt | |||||
Not Done Inline ActionsDepend on a 'version' not a 'port/package' version. If upstream doesn't declare any particular versions, depend on >0 (and get upstream to be clear about what it wants in the docs) koobs: Depend on a 'version' not a 'port/package' version. If upstream doesn't declare any particular… | |||||
#LICENSE_FILE_CP= ${WRKSRC}/image_LICENSE_CP.txt | |||||
Not Done Inline ActionsI'm not sure what you mean. Vladimir.Chukharev_gmail.com: I'm not sure what you mean. | |||||
#LICENSE_FILE_Eclipse= ${WRKSRC}/image_LICENSE_Eclipse.txt | |||||
#LICENSE_FILE_OOo= ${WRKSRC}/image_LICENSE_OOo.txt | |||||
#LICENSE_FILE_YORICK= ${WRKSRC}/LICENSE_YORICK.txt | |||||
#LICENSE_FILE_CLRBREWER= ${WRKSRC}/LICENSE_COLORBREWER.txt | |||||
#LICENSE_NAME_Nuvola= GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 | |||||
#LICENSE_NAME_Eclipse= Eclipse Public License - v 1.0 | |||||
#LICENSE_NAME_OOo= GNU LESSER GENERAL PUBLIC LICENSE Version 3 | |||||
#LICENSE_NAME_CP= The Crystal Project are released under LGPL | |||||
#LICENSE_NAME_YORICK= BSD-style license for gist/yorick colormaps | |||||
#LICENSE_NAME_CLRBREWER= Apache-Style Software License for ColorBrewer Color Schemes | |||||
# See ${WRKSRC}/image_LICENSE.txt for per file license information | |||||
BUILD_DEPENDS= vtk6>=6.1.0_8:${PORTSDIR}/math/vtk6 \ | |||||
py27-sphinx>=1.3.1_2:${PORTSDIR}/textproc/py-sphinx | |||||
RUN_DEPENDS= vtk6>=6.1.0_8:${PORTSDIR}/math/vtk6 \ | |||||
${PYNUMPY} \ | |||||
${PYTHON_PKGNAMEPREFIX}envisage>=4.4.0:${PORTSDIR}/devel/py-envisage \ | |||||
${PYTHON_PKGNAMEPREFIX}pyface>=4.5.2:${PORTSDIR}/devel/py-pyface \ | |||||
${PYTHON_PKGNAMEPREFIX}scimath>=4.1.2:${PORTSDIR}/science/py-scimath \ | |||||
${PYTHON_PKGNAMEPREFIX}traitsui>=4.5.1:${PORTSDIR}/graphics/py-traitsui | |||||
Done Inline ActionsFor this block I have found a better way, suitable for build with non-default places for everything. pre-configure: @opt=`${PKG_QUERY} "%Ok %Ov" ${DEP1} | ${AWK} "/^PYTHON on/{print $$2}"` @if [ -z "@${opt}" ] ; then \ ${ECHO_MSG} "Port math/vtk6 is installed without PYTHON option."; \ ${ECHO_MSG} "Please reinstall with PYTHON selected."; \ ${FALSE}; \ else \ ${ECHO_MSG} "Good, math/vtk6 is installed with PYTHON option!"; \ fi Vladimir.Chukharev_gmail.com: For this block I have found a better way, suitable for build with non-default places for… | |||||
Done Inline ActionsI'm not sure whether this is allowed/correct. We should ask someone from portmgr koobs: I'm not sure whether this is allowed/correct. We should ask someone from #portmgr | |||||
Done Inline ActionsReverted to previous review, since in poudriere this method gives OPTIONs from system packages, not from the jail. Perhaps, pkg query can be instructed where to look via environment variables, I don't know. Vladimir.Chukharev_gmail.com: Reverted to previous review, since in poudriere this method gives OPTIONs from system packages… | |||||
Vladimir.Chukharev_gmail.comAuthorUnsubmitted Done Inline ActionsAbout a week ago the default for PYTHON option of math/vtk6 has been changed to ON. Vladimir.Chukharev_gmail.com: About a week ago the default for PYTHON option of math/vtk6 has been changed to ON. | |||||
USES= python:-2.7 tar:bzip2 | |||||
USE_PYTHON= autoplist distutils | |||||
USE_WX= 2.8+ | |||||
WX_COMPS= python:run | |||||
DEP1= vtk6 | |||||
pre-configure: | |||||
# @opt=`${PKG_QUERY} "%Ok %Ov" ${DEP1} | ${AWK} "/^PYTHON on/{print $$2}"` | |||||
# @if [ -z "@${opt}" ] ; then \ | |||||
# | |||||
if [ ! -e ${PREFIX}/lib/python2.7/site-packages/vtk/__init__.py ]; then \ | |||||
${ECHO_MSG} "Port math/vtk6 is installed without PYTHON option."; \ | |||||
${ECHO_MSG} "Please reinstall with PYTHON selected."; \ | |||||
${FALSE}; \ | |||||
else \ | |||||
${ECHO_MSG} "Good, math/vtk6 is installed with PYTHON option!"; \ | |||||
fi | |||||
post-install: | |||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/tvtk/array_ext.so | |||||
.include <bsd.port.mk> |
Put virtual categories (python) last