aboutsummaryrefslogtreecommitdiffstats
path: root/games/openttd
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2018-01-03 20:10:39 +0800
committerdanfe <danfe@FreeBSD.org>2018-01-03 20:10:39 +0800
commitb09e5ff726fad2164f457bc9ce3c36604cd5f7c1 (patch)
treefa77b82a95635b4b16f47188d3b1fa786d19f8d9 /games/openttd
parent2aade24e99f01b81cbeaff1a7a3312155a059ef8 (diff)
downloadfreebsd-ports-gnome-b09e5ff726fad2164f457bc9ce3c36604cd5f7c1.tar.gz
freebsd-ports-gnome-b09e5ff726fad2164f457bc9ce3c36604cd5f7c1.tar.zst
freebsd-ports-gnome-b09e5ff726fad2164f457bc9ce3c36604cd5f7c1.zip
- Update OpenTTD to version 1.7.2
- Move another icon under !dedicated-server clause TIMESTAMP (openttd-1.7.2-source.tar.xz) = 1514117460
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile7
-rw-r--r--games/openttd/distinfo6
2 files changed, 6 insertions, 7 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 189bd344328a..1bd76de592f7 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= openttd
-DISTVERSION= 1.7.1
-PORTREVISION= 2
+DISTVERSION= 1.7.2
CATEGORIES= games
MASTER_SITES= http://ca.binaries.openttd.org/binaries/releases/${DISTVERSION}/ \
http://cz.binaries.openttd.org/binaries/releases/${DISTVERSION}/ \
@@ -109,9 +108,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/bin/scripts/* ${STAGEDIR}${DATADIR}/scripts
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.6 \
${STAGEDIR}${MANPREFIX}/man/man6
+.if !defined(WITH_DEDICATED_SERVER_ONLY)
${INSTALL_DATA} ${WRKSRC}/media/openttd.32.xpm \
${STAGEDIR}${PREFIX}/share/pixmaps
-.if !defined(WITH_DEDICATED_SERVER_ONLY)
. for n in 16 32 48 64 128 256
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps
${INSTALL_DATA} ${WRKSRC}/media/openttd.${n}.png \
@@ -123,7 +122,7 @@ do-install:
post-install:
.if defined(WITH_DEDICATED_SERVER_ONLY)
- @${REINPLACE_CMD} -e '/icons/d' ${TMPPLIST}
+ @${REINPLACE_CMD} -E '/icons|pixmaps/d' ${TMPPLIST}
.endif
.include <bsd.port.post.mk>
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index e80356dade66..372d7c20e8d4 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1497378900
-SHA256 (openttd-1.7.1-source.tar.xz) = 61190952a98d494d3fd62e395dd6c359609914d0ba8fe80eaeb585b7d62a1b36
-SIZE (openttd-1.7.1-source.tar.xz) = 6517328
+TIMESTAMP = 1514117460
+SHA256 (openttd-1.7.2-source.tar.xz) = fe51a0bade8fdf6ce3ec696418ecf75c95783cdcabfd7b204eec5c0bb5d149d4
+SIZE (openttd-1.7.2-source.tar.xz) = 6520956