diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-19 17:50:58 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-19 17:50:58 +0000 |
commit | f330d0a3588aeb5eb02aed5766ac0255b3659c50 (patch) | |
tree | 7e7ba2b76e1f8161e29c47ee08ea60924e035765 /dns | |
parent | 1b9e1f4e00390476a8393a29f30f522c2d52917c (diff) | |
download | ports-f330d0a3588aeb5eb02aed5766ac0255b3659c50.tar.gz ports-f330d0a3588aeb5eb02aed5766ac0255b3659c50.zip |
- Stage support
- Use PYDISTUTILS_AUTOPLIST
Notes
Notes:
svn path=/head/; revision=345122
Diffstat (limited to 'dns')
-rw-r--r-- | dns/py-dns/Makefile | 16 | ||||
-rw-r--r-- | dns/py-dns/pkg-plist | 31 |
2 files changed, 4 insertions, 43 deletions
diff --git a/dns/py-dns/Makefile b/dns/py-dns/Makefile index d5140f6d210f..e7ab18a20863 100644 --- a/dns/py-dns/Makefile +++ b/dns/py-dns/Makefile @@ -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> diff --git a/dns/py-dns/pkg-plist b/dns/py-dns/pkg-plist deleted file mode 100644 index 452036140402..000000000000 --- a/dns/py-dns/pkg-plist +++ /dev/null @@ -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 |