Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 21:23:07 +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: r342860 - head/devel/py-setproctitle
Message-ID:  <201402052123.s15LN7gY051694@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Feb  5 21:23:06 2014
New Revision: 342860
URL: http://svnweb.freebsd.org/changeset/ports/342860
QAT: https://qat.redports.org/buildarchive/r342860/

Log:
  - Stage support
  - Use PYDISTUTILS_AUTOPLIST

Modified:
  head/devel/py-setproctitle/Makefile

Modified: head/devel/py-setproctitle/Makefile
==============================================================================
--- head/devel/py-setproctitle/Makefile	Wed Feb  5 21:22:12 2014	(r342859)
+++ head/devel/py-setproctitle/Makefile	Wed Feb  5 21:23:06 2014	(r342860)
@@ -10,24 +10,18 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	sbz@FreeBSD.org
 COMMENT=	Allow customization of the process title
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/${PORTNAME}.so
+PYDISTUTILS_AUTOPLIST=	yes
 
 PORTDOCS=	COPYRIGHT HISTORY.rst README.rst
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${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?201402052123.s15LN7gY051694>