1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Clarify LICENSE

- Add LICENSE_FILE
- Convert to USES=python
- Simplify docs installation
This commit is contained in:
Dmitry Marakasov 2014-10-14 15:38:58 +00:00
parent ec723c646f
commit 4144b6d493
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370862
2 changed files with 4 additions and 15 deletions

View File

@ -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>

View File

@ -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