From f330d0a3588aeb5eb02aed5766ac0255b3659c50 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Wed, 19 Feb 2014 17:50:58 +0000 Subject: - Stage support - Use PYDISTUTILS_AUTOPLIST --- dns/py-dns/Makefile | 16 ++++------------ dns/py-dns/pkg-plist | 31 ------------------------------- 2 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 dns/py-dns/pkg-plist (limited to 'dns') 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 - -.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 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 -- cgit v1.2.3