aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2015-03-16 09:44:16 +0800
committernemysis <nemysis@FreeBSD.org>2015-03-16 09:44:16 +0800
commit9247ccc7176b1490821e9eb7744ca6b0d1df7ede (patch)
tree39f8e489c2a4d511197366234d42d4d61f6e70c1 /games
parent640a8700c82b4331498f4f5c16e240ff365c3210 (diff)
downloadfreebsd-ports-gnome-9247ccc7176b1490821e9eb7744ca6b0d1df7ede.tar.gz
freebsd-ports-gnome-9247ccc7176b1490821e9eb7744ca6b0d1df7ede.tar.zst
freebsd-ports-gnome-9247ccc7176b1490821e9eb7744ca6b0d1df7ede.zip
- Update to 6.9, announce message:
BSD port patch. - Add NEWS to DOCS - Add REINPLACE and simplify installation handling, Upstream have accepted changes
Diffstat (limited to 'games')
-rw-r--r--games/ski/Makefile17
-rw-r--r--games/ski/distinfo4
2 files changed, 10 insertions, 11 deletions
diff --git a/games/ski/Makefile b/games/ski/Makefile
index c1a25af52999..3c6e1cbe1847 100644
--- a/games/ski/Makefile
+++ b/games/ski/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ski
-PORTVERSION= 6.8
+PORTVERSION= 6.9
CATEGORIES= games python
MASTER_SITES= http://catb.org/~esr/ski/
@@ -17,22 +17,21 @@ 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= README
+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}
-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/
-
+post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/games/ski/distinfo b/games/ski/distinfo
index 130bde022646..7c0ca49461a9 100644
--- a/games/ski/distinfo
+++ b/games/ski/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ski-6.8.tar.gz) = 776849dc61ffe834def7d22b9027a64491559a1700351d817313f187cee36c4d
-SIZE (ski-6.8.tar.gz) = 17119
+SHA256 (ski-6.9.tar.gz) = d0f2fd7770a63319340fab8ee275c6221dff0e0e7fe488f2298f567583902d37
+SIZE (ski-6.9.tar.gz) = 17543