Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 14:00:14 +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: r370701 - head/games/pyawale
Message-ID:  <201410121400.s9CE0Es8065689@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Oct 12 14:00:13 2014
New Revision: 370701
URL: https://svnweb.freebsd.org/changeset/ports/370701
QAT: https://qat.redports.org/buildarchive/r370701/

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Convert to USES=python
  - Simplify DOCS installation
  - Drop @dirrm* from plist

Modified:
  head/games/pyawale/Makefile
  head/games/pyawale/pkg-plist

Modified: head/games/pyawale/Makefile
==============================================================================
--- head/games/pyawale/Makefile	Sun Oct 12 13:47:38 2014	(r370700)
+++ head/games/pyawale/Makefile	Sun Oct 12 14:00:13 2014	(r370701)
@@ -10,23 +10,17 @@ MASTER_SITES=	http://download.gna.org/py
 MAINTAINER=	games@FreeBSD.org
 COMMENT=	African board game
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS=	${PYGAME}
 
-USE_PYTHON=	yes
+USES=		python
 
 SUB_FILES=	${PORTNAME}
 
 PORTDOCS=	*
 
-DOCSRCDIR1=	${WRKSRC}
-DOC_FILES1=	AUTHORS ChangeLog LISEZMOI NEWS README
-
-DOCSRCDIR2=	${WRKSRC}/docs
-DOCSDIR2=	${DOCSDIR}/docs
-DOC_FILES2=	*.rest *.html *.jpg
-
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
@@ -47,9 +41,7 @@ do-install:
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 	${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.desktop \
 		${STAGEDIR}${DESKTOPDIR}
-
-	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog LISEZMOI NEWS README \
+		docs/*.rest docs/*.html docs/*.jpg" ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/pyawale/pkg-plist
==============================================================================
--- head/games/pyawale/pkg-plist	Sun Oct 12 13:47:38 2014	(r370700)
+++ head/games/pyawale/pkg-plist	Sun Oct 12 14:00:13 2014	(r370701)
@@ -81,5 +81,3 @@ share/pixmaps/pyawale.png
 %%DATADIR%%/pyawale.py
 %%DATADIR%%/pyawale.pyc
 %%DATADIR%%/pyawale.pyo
-@dirrm %%DATADIR%%/images
-@dirrm %%DATADIR%%



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