diff options
author | Alexander Botero-Lowry <alexbl@FreeBSD.org> | 2007-07-30 09:42:28 +0000 |
---|---|---|
committer | Alexander Botero-Lowry <alexbl@FreeBSD.org> | 2007-07-30 09:42:28 +0000 |
commit | 4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch) | |
tree | db1f21912f461000d609ddcd5d130946bcfe9e09 /devel/py-rbtree | |
parent | b4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff) | |
download | ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip |
Notes
Diffstat (limited to 'devel/py-rbtree')
-rw-r--r-- | devel/py-rbtree/Makefile | 28 | ||||
-rw-r--r-- | devel/py-rbtree/pkg-plist | 26 |
2 files changed, 15 insertions, 39 deletions
diff --git a/devel/py-rbtree/Makefile b/devel/py-rbtree/Makefile index 4306938e3c95..c92936b8c17a 100644 --- a/devel/py-rbtree/Makefile +++ b/devel/py-rbtree/Makefile @@ -16,33 +16,15 @@ DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= A fast tree with ordered data and expanded iterator support -BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools \ - pyrexc:${PORTSDIR}/devel/pyrex -RUN_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools - USE_PYTHON= yes -USE_PYDISTUTILS= yes - -PYDISTUTILS_BUILD_TARGET= bdist_egg -PYDISTUTILS_INSTALL_TARGET= easy_install -PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYRBTREE_EGG} - -PYRBTREE_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-${OSINFOS}.egg -OSINFOS= ${OPSYS:L}-${OSRELEASE}-${ARCH} - -PLIST_SUB+= PYRBTREE_EGG=${PYRBTREE_EGG} +USE_PYDISTUTILS= easy_install +PYEASYINSTALL_ARCHDEP= yes .if !defined(NOPORTDOCS) DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOCS= * .endif -pre-build: - @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-platlib -s lib.${OSINFOS} - @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-temp -s temp.${OSINFOS}-${PYTHON_VER} - @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o plat-name -s ${OSINFOS} - @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o plat-name -s ${OSINFOS} - post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -52,8 +34,4 @@ post-install: test: build (cd ${WRKSRC} && ${PYTHON_CMD} test_rbtree.py) -.include <bsd.port.pre.mk> - -OSRELEASE!= uname -r - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/py-rbtree/pkg-plist b/devel/py-rbtree/pkg-plist index a8cbe9543e15..3c60de869620 100644 --- a/devel/py-rbtree/pkg-plist +++ b/devel/py-rbtree/pkg-plist @@ -1,14 +1,12 @@ -@unexec easy_install -q -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%% -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/EGG-INFO/PKG-INFO -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/EGG-INFO/SOURCES.txt -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/EGG-INFO/dependency_links.txt -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/EGG-INFO/native_libs.txt -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/EGG-INFO/not-zip-safe -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/EGG-INFO/top_level.txt -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/rbtree.py -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/rbtree.pyc -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/rbtree.pyo -%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/rbtree.so -@dirrm %%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%%/EGG-INFO -@dirrm %%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%% -@exec easy_install -N %D/%%PYTHON_SITELIBDIR%%/%%PYRBTREE_EGG%% +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rbtree.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rbtree.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rbtree.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rbtree.so +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |