1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/games/ski/Makefile
Marcus von Appen 6d83e65a8b - Convert games/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-20 17:36:02 +00:00

40 lines
997 B
Makefile

# Created by: janos.mohacsi@bsd.hu
# $FreeBSD$
PORTNAME= ski
PORTVERSION= 6.8
CATEGORIES= games python
MASTER_SITES= http://catb.org/~esr/ski/
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Skiing simulation with curses interface in python
LICENSE= BSD3CLAUSE
USES= python:run
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${PREFIX}/man/man6/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>