svn commit: r345122 - head/dns/py-dns
Antoine Brodin
antoine at FreeBSD.org
Wed Feb 19 17:50:59 UTC 2014
Author: antoine
Date: Wed Feb 19 17:50:58 2014
New Revision: 345122
URL: http://svnweb.freebsd.org/changeset/ports/345122
QAT: https://qat.redports.org/buildarchive/r345122/
Log:
- Stage support
- Use PYDISTUTILS_AUTOPLIST
Deleted:
head/dns/py-dns/pkg-plist
Modified:
head/dns/py-dns/Makefile
Modified: head/dns/py-dns/Makefile
==============================================================================
--- head/dns/py-dns/Makefile Wed Feb 19 17:44:39 2014 (r345121)
+++ head/dns/py-dns/Makefile Wed Feb 19 17:50:58 2014 (r345122)
@@ -19,23 +19,15 @@ LICENSE_PERMS= dist-mirror dist-sell pkg
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>
More information about the svn-ports-all
mailing list