svn commit: r342860 - head/devel/py-setproctitle
Antoine Brodin
antoine at FreeBSD.org
Wed Feb 5 21:23:07 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list