Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 14:25:26 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339136 - head/graphics/py-webcolors
Message-ID:  <201401081425.s08EPQx1011027@svn.freebsd.org>

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



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