1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Update to 3.3.1

This commit is contained in:
Dmitry Marakasov 2018-05-04 21:51:15 +00:00
parent f2fa8b6609
commit de9a69d84a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469078
2 changed files with 22 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= wyrmsun
PORTVERSION= 1.9.9
PORTVERSION= 3.3.1
DISTVERSIONPREFIX= v
CATEGORIES= games
@ -21,22 +21,30 @@ GH_PROJECT= Wyrmsun
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/appdata/${PORTNAME}.appdata.xml
PORTDATA= *
PORTDOCS= *
SUB_FILES= ${PORTNAME}
# icon comes from another port, so is referenced via LOCALBASE
DESKTOP_ENTRIES="Wyrmsun" \
"" \
"${LOCALBASE}/share/pixmaps/${PORTNAME}.ico" \
"${PORTNAME}" \
"Game;StrategyGame;" \
""
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|wyrmgus -d /usr/share/wyrmsun|${PORTNAME}|' \
${WRKSRC}/linux/wyrmsun.desktop
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics maps music scripts \
sounds translations" ${STAGEDIR}${DATADIR}/
cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics maps music oaml.defs \
scripts sounds translations" ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/linux/wyrmsun.desktop ${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata
${INSTALL_DATA} ${WRKSRC}/linux/wyrmsun.appdata.xml ${STAGEDIR}${PREFIX}/share/appdata
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (Andrettin-Wyrmsun-v1.9.9_GH0.tar.gz) = d0e33698aa96db53d2ee059fc5f5cddb7177b94ea4dd6cd915c50f77825ba068
SIZE (Andrettin-Wyrmsun-v1.9.9_GH0.tar.gz) = 197855976
TIMESTAMP = 1524687012
SHA256 (Andrettin-Wyrmsun-v3.3.1_GH0.tar.gz) = 90af72b53ff3e176fed2bf30ed1d52a25b76dadd2a06607be7a8637c52653ca3
SIZE (Andrettin-Wyrmsun-v3.3.1_GH0.tar.gz) = 271343739