games/outerspace: Unbreak by fixing shebang

* Also add LICENSE

Approved by:	portmgr (port compliance, infrastructure)
This commit is contained in:
Yuri Victorovich 2018-03-18 17:07:39 +00:00
parent 5d67109438
commit a254d0b65d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464935

View File

@ -10,6 +10,9 @@ MASTER_SITES= SF/ospace/OSLauncher/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= On-line strategy game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYGAME}
USES= python:2.7
@ -28,5 +31,6 @@ do-install:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} res ${STAGEDIR}${PREFIX}/lib/${PORTNAME})
${INSTALL_DATA} ${WRKSRC}/outerspace ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/outerspace ${STAGEDIR}${PREFIX}/bin
@${REINPLACE_CMD} -i '' -e 's|/usr/bin/env python|${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/outerspace
.include <bsd.port.mk>