- Stage support
- Use PYDISTUTILS_AUTOPLIST
This commit is contained in:
parent
1b9e1f4e00
commit
f330d0a358
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345122
2 changed files with 4 additions and 43 deletions
|
@ -19,23 +19,15 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|||
|
||||
USE_PYTHON= 2
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= pydns
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
DOCS= README.txt README-guido.txt
|
||||
PORTDOCS= README.txt README-guido.txt
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-dns
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
%%PYTHON_SITELIBDIR%%/DNS/Base.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Base.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Base.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Class.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Class.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Class.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Lib.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Lib.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Lib.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Opcode.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Opcode.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Opcode.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Status.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Status.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Status.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Type.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Type.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/Type.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/lazy.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/lazy.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/lazy.pyo
|
||||
%%PYTHON_SITELIBDIR%%/DNS/win32dns.py
|
||||
%%PYTHON_SITELIBDIR%%/DNS/win32dns.pyc
|
||||
%%PYTHON_SITELIBDIR%%/DNS/win32dns.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/DNS
|
||||
%%PORTDOCS%%share/doc/py-dns/README.txt
|
||||
%%PORTDOCS%%share/doc/py-dns/README-guido.txt
|
||||
%%PORTDOCS%%@dirrm share/doc/py-dns
|
Loading…
Reference in a new issue