mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Fix LICENSE
- Add LICENSE_FILE - Convert to USES=python - Simplify docs installation
This commit is contained in:
parent
b2bd3657b3
commit
183d342b67
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369872
@ -14,25 +14,19 @@ EXTRACT_ONLY= ${PORTNAME}-source${EXTRACT_SUFX}
|
||||
MAINTAINER= games@FreeBSD.org
|
||||
COMMENT= Side scrolling arcade game
|
||||
|
||||
LICENSE= LGPL20
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||
|
||||
RUN_DEPENDS= ${PYGAME} \
|
||||
${PYTHON_PKGNAMEPREFIX}tkinter>=0:${PORTSDIR}/x11-toolkits/py-tkinter
|
||||
|
||||
WRKSRC= ${WRKDIR}/zephulor-source
|
||||
|
||||
USE_PYTHON= 2
|
||||
USES= python:2
|
||||
NO_BUILD= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
DOCSRCDIR1= ${WRKSRC}
|
||||
DOC_FILES1= README.txt manual.txt readme-*.txt
|
||||
|
||||
DOCSRCDIR2= ${WRKSRC}/maptool
|
||||
DOCSDIR2= ${DOCSDIR}/maptool
|
||||
DOC_FILES2= manual.txt
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
DESKTOP_ENTRIES="Adventures on Planet Zephulor" "" "${PORTNAME}" \
|
||||
@ -53,13 +47,10 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/maptool/*.py ${STAGEDIR}${DATADIR}/maptool/
|
||||
|
||||
post-install:
|
||||
${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} \
|
||||
"README.txt manual.txt readme-*.txt maptool/manual.txt" \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -121,6 +121,3 @@ share/pixmaps/zephulor.png
|
||||
%%DATADIR%%/myimg.py
|
||||
%%DATADIR%%/scnloadtool.py
|
||||
%%DATADIR%%/zephulor.py
|
||||
@dirrm %%DATADIR%%/maptool
|
||||
@dirrm %%DATADIR%%/data
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user