1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/games/ski/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

43 lines
956 B
Makefile

PORTNAME= ski
PORTVERSION= 6.13
CATEGORIES= games python
MAINTAINER= ports@FreeBSD.org
COMMENT= Skiing simulation with curses interface in python
WWW= http://catb.org/~esr/ski/
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= xmlto:textproc/xmlto
USES= python:run
USE_GITLAB= yes
GL_ACCOUNT= esr
GL_TAGNAME= 0b50570a28a99de2ea797f703b104ec03835d24d
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz \
share/applications/${PORTNAME}.desktop \
share/appdata/${PORTNAME}.xml \
share/pixmaps/${PORTNAME}.png
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|; \
s|/usr/share/man|${PREFIX}/man|; \
s|/usr/share|${PREFIX}/share|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
${WRKSRC}/${PORTNAME}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>