Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 17:50:59 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345122 - head/dns/py-dns
Message-ID:  <201402191750.s1JHoxdT086697@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402191750.s1JHoxdT086697>