Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 15:38:58 +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: r370862 - head/games/pythonsudoku
Message-ID:  <201410141538.s9EFcwiK097916@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct 14 15:38:58 2014
New Revision: 370862
URL: https://svnweb.freebsd.org/changeset/ports/370862
QAT: https://qat.redports.org/buildarchive/r370862/

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Convert to USES=python
  - Simplify docs installation

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

Modified: head/games/pythonsudoku/Makefile
==============================================================================
--- head/games/pythonsudoku/Makefile	Tue Oct 14 15:38:52 2014	(r370861)
+++ head/games/pythonsudoku/Makefile	Tue Oct 14 15:38:58 2014	(r370862)
@@ -15,7 +15,8 @@ EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}
 MAINTAINER=	games@FreeBSD.org
 COMMENT=	Text and graphical program to create or resolve Sudokus
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS+=	libcups.so:${PORTSDIR}/print/cups-client
 RUN_DEPENDS=	${PYGAME} \
@@ -29,13 +30,6 @@ INSTALLS_ICONS=	yes
 
 PORTDOCS=	*
 
-DOCSRCDIR1=	${WRKSRC}
-DOC_FILES1=	Changelog README
-
-DOCSRCDIR2=	${WRKSRC}/doc
-DOCSDIR2=	${DOCSDIR}/doc
-DOC_FILES2=	*.png *.html *.txt *.css
-
 DESKTOP_ENTRIES="Python Sudoku" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;LogicGame;" ""
 
@@ -68,12 +62,9 @@ post-install:
 	@cd ${STAGEDIR}${PREFIX}/bin && ${LN} -sf pysdk-gui.py ${PORTNAME}
 	(cd ${WRKSRC}/doc && ${INSTALL_MAN} *.6 \
 		${STAGEDIR}${MAN6PREFIX}/man/man6/)
-
 	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
-
-	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "Changelog README \
+		doc/*.png doc/*.html doc/*.txt doc/*.css" ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/pythonsudoku/pkg-plist
==============================================================================
--- head/games/pythonsudoku/pkg-plist	Tue Oct 14 15:38:52 2014	(r370861)
+++ head/games/pythonsudoku/pkg-plist	Tue Oct 14 15:38:58 2014	(r370862)
@@ -49,5 +49,3 @@ man/man6/pysdk.6.gz
 %%NLS%%share/locale/pl/LC_MESSAGES/pythonsudoku.mo
 share/pixmaps/pythonsudoku.png
 %%DATADIR%%/FreeSans.ttf
-@dirrm %%DATADIR%%
-@dirrm %%PYTHON_SITELIBDIR%%/pythonsudoku



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