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 LGPL21 LGPL20 EPL LGPL3 BSD2CLAUSE APACHE11 | |||||
LICENSE_COMB= multi | |||||
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.txt | |||||
LICENSE_FILE_LGPL21= ${WRKSRC}/image_LICENSE_Nuvola.txt | |||||
LICENSE_FILE_LGPL20= ${WRKSRC}/image_LICENSE_CP.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_EPL= ${WRKSRC}/image_LICENSE_Eclipse.txt | |||||
Not Done Inline ActionsI'm not sure what you mean. Vladimir.Chukharev_gmail.com: I'm not sure what you mean. | |||||
LICENSE_FILE_LGPL3= ${WRKSRC}/image_LICENSE_OOo.txt | |||||
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE_YORICK.txt | |||||
LICENSE_FILE_APACHE11= ${WRKSRC}/LICENSE_COLORBREWER.txt | |||||
# 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 | |||||
USES= python:-2.7 tar:bzip2 | |||||
USE_PYTHON= autoplist distutils | |||||
USE_WX= 2.8+ | |||||
WX_COMPS= python:run | |||||
DEP1= vtk6 | |||||
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… | |||||
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. | |||||
pre-configure: | |||||
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