svn commit: r339136 - head/graphics/py-webcolors

TAKATSU Tomonari tota at FreeBSD.org
Wed Jan 8 14:25:26 UTC 2014


Author: tota
Date: Wed Jan  8 14:25:26 2014
New Revision: 339136
URL: http://svnweb.freebsd.org/changeset/ports/339136

Log:
  - Add LICENSE
  - Use PYDISTUTILS_AUTOPLIST
  - Adapt to new options framework
  - Support STAGEDIR
  - Replace tab with a single space after WWW: in pkg-descr

Deleted:
  head/graphics/py-webcolors/pkg-plist
Modified:
  head/graphics/py-webcolors/Makefile
  head/graphics/py-webcolors/pkg-descr

Modified: head/graphics/py-webcolors/Makefile
==============================================================================
--- head/graphics/py-webcolors/Makefile	Wed Jan  8 14:21:03 2014	(r339135)
+++ head/graphics/py-webcolors/Makefile	Wed Jan  8 14:25:26 2014	(r339136)
@@ -10,17 +10,21 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	tota at FreeBSD.org
 COMMENT=	Library working with the sRGB color space as used in the HTML and CSS
 
+LICENSE=	BSD3CLAUSE
+
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-NO_STAGE=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/${UNIQUENAME}
 PORTDOCS=	README
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/graphics/py-webcolors/pkg-descr
==============================================================================
--- head/graphics/py-webcolors/pkg-descr	Wed Jan  8 14:21:03 2014	(r339135)
+++ head/graphics/py-webcolors/pkg-descr	Wed Jan  8 14:25:26 2014	(r339136)
@@ -16,4 +16,4 @@ the Python standard library):
 
 * Percentage rgb() triplet
 
-WWW:	https://bitbucket.org/ubernostrum/webcolors/overview/
+WWW: https://bitbucket.org/ubernostrum/webcolors/overview/


More information about the svn-ports-all mailing list