Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 15:11:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461810 - head/devel/py-sdl2
Message-ID:  <201802141511.w1EFB6uc044891@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Feb 14 15:11:06 2018
New Revision: 461810
URL: https://svnweb.freebsd.org/changeset/ports/461810

Log:
  - Fix license
  - Simplify docs handling

Deleted:
  head/devel/py-sdl2/pkg-plist
Modified:
  head/devel/py-sdl2/Makefile

Modified: head/devel/py-sdl2/Makefile
==============================================================================
--- head/devel/py-sdl2/Makefile	Wed Feb 14 15:02:27 2018	(r461809)
+++ head/devel/py-sdl2/Makefile	Wed Feb 14 15:11:06 2018	(r461810)
@@ -10,18 +10,21 @@ DISTNAME=	PySDL2-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python bindings to the SDL2 libraries
 
-LICENSE=	ZLIB
+LICENSE=	PD CC0-1.0 ZLIB
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/doc/copying.rst
 
 USES=		python
 USE_SDL=	sdl2 gfx2 image2 ttf2 mixer2
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
 
+PORTDOCS=	*
+
 OPTIONS_DEFINE=	DOCS
 
 post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
-	@${TAR} -C ${WRKSRC}/doc/html -cf - . | \
-		${TAR} -C ${STAGEDIR}${DOCSDIR}/html -xf -
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo"
 
 .include <bsd.port.mk>



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