aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-14 15:38:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-10-14 15:38:58 +0000
commit4144b6d493d24473734b0003f3cde5fb983d7a76 (patch)
tree2574ad825cd873708a2057c565cc04c963153e35 /games
parentec723c646f679e071202a88555572b8d0e04e914 (diff)
downloadports-4144b6d493d24473734b0003f3cde5fb983d7a76.tar.gz
ports-4144b6d493d24473734b0003f3cde5fb983d7a76.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/pythonsudoku/Makefile17
-rw-r--r--games/pythonsudoku/pkg-plist2
2 files changed, 4 insertions, 15 deletions
diff --git a/games/pythonsudoku/Makefile b/games/pythonsudoku/Makefile
index 54b18d710396..a2bcc95795d7 100644
--- a/games/pythonsudoku/Makefile
+++ b/games/pythonsudoku/Makefile
@@ -15,7 +15,8 @@ EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
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>
diff --git a/games/pythonsudoku/pkg-plist b/games/pythonsudoku/pkg-plist
index 3c069a8502ae..ad44b36caa4e 100644
--- a/games/pythonsudoku/pkg-plist
+++ b/games/pythonsudoku/pkg-plist
@@ -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