aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-04-23 08:19:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-04-23 08:19:32 +0800
commitea5ca764e807044b4cc631bc52ff74405d87c4e0 (patch)
tree8b436a3c7026b605dd9cc4dea93f172e1dd5e05d /games
parentf19255206fcabee0c6716984eb84347129b76880 (diff)
downloadfreebsd-ports-gnome-ea5ca764e807044b4cc631bc52ff74405d87c4e0.tar.gz
freebsd-ports-gnome-ea5ca764e807044b4cc631bc52ff74405d87c4e0.tar.zst
freebsd-ports-gnome-ea5ca764e807044b4cc631bc52ff74405d87c4e0.zip
- Update to 3.12.0
PR: 205581 Submitted by: monwarez@mailoo.org (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/megaglest-data/Makefile9
-rw-r--r--games/megaglest-data/distinfo4
-rw-r--r--games/megaglest-data/pkg-plist4
3 files changed, 12 insertions, 5 deletions
diff --git a/games/megaglest-data/Makefile b/games/megaglest-data/Makefile
index 850c5441295c..82bdfd85f051 100644
--- a/games/megaglest-data/Makefile
+++ b/games/megaglest-data/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= megaglest
-PORTVERSION= 3.11.1
+PORTVERSION= 3.12.0
CATEGORIES= games
PKGNAMESUFFIX= -data
-DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= monwarez@mailoo.org
COMMENT= MegaGlest data files
@@ -14,7 +13,7 @@ USE_GITHUB= yes
GH_ACCOUNT= MegaGlest
GH_PROJECT= megaglest-data
-USES= dos2unix tar:xz
+USES= dos2unix
DOS2UNIX_GLOB= *.log *.ini *.html *.txt *.lng
NO_BUILD= yes
NO_ARCH= yes
@@ -29,6 +28,10 @@ OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "data maps scenarios techs tilesets tutorials" ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/others/desktop/megaglest.desktop ${STAGEDIR}${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/others/desktop/megaglest_editor.desktop ${STAGEDIR}${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/others/desktop/megaglest_g3dviewer.desktop ${STAGEDIR}${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/others/icons/megaglest.png ${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/games/megaglest-data/distinfo b/games/megaglest-data/distinfo
index 9d87735bf7e4..1d9e2006aeff 100644
--- a/games/megaglest-data/distinfo
+++ b/games/megaglest-data/distinfo
@@ -1,2 +1,2 @@
-SHA256 (megaglest-data-3.11.1_GH0.tar.xz) = 7c4fb62e7b80284669a95d9ed179ea1c34195bf70b9a46d934a171d44781a153
-SIZE (megaglest-data-3.11.1_GH0.tar.xz) = 350271789
+SHA256 (MegaGlest-megaglest-data-3.12.0_GH0.tar.gz) = 7273dbc26aad06f5e796b1c76cd12d518ec6d172bd712b46aba05623e73ad154
+SIZE (MegaGlest-megaglest-data-3.12.0_GH0.tar.gz) = 352540676
diff --git a/games/megaglest-data/pkg-plist b/games/megaglest-data/pkg-plist
new file mode 100644
index 000000000000..19a61cebb705
--- /dev/null
+++ b/games/megaglest-data/pkg-plist
@@ -0,0 +1,4 @@
+share/applications/megaglest.desktop
+share/applications/megaglest_editor.desktop
+share/applications/megaglest_g3dviewer.desktop
+share/pixmaps/megaglest.png