1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Enable stagedir support

- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-06-15 10:26:51 +00:00
parent d654e23be7
commit e80fdc2aeb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357865
2 changed files with 6 additions and 64 deletions

View File

@ -3,22 +3,20 @@
PORTNAME= yould
PORTVERSION= 0.3.7
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= CHEESESHOP/source/y/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Pronounceable word generator
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
PYDISTUTILS_INSTALLARGS=-Z -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYEASYINSTALL_EGG}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= NEWS.txt README.txt
.ifndef NOPORTDOCS
post-install:
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
@cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

View File

@ -1,56 +0,0 @@
bin/yould
bin/yould-train
%%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/entry_points.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/config.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/config.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/config.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/de.yould
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/en.yould
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/fi.yould
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/fr.yould
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/it.yould
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/kjb.yould
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets/nl.yould
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-de.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-de.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-de.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-fr.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-fr.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-fr.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-kjb.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-kjb.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-kjb.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-lang.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-lang.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dl-lang.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dom.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dom.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/dom.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/generate.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/generate.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/generate.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/prob.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/prob.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/prob.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/train.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/train.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/train.pyo
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data/trainsets
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould/data
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/yould
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%