aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-02-21 03:21:31 +0800
committerrm <rm@FreeBSD.org>2013-02-21 03:21:31 +0800
commitf71579f9a04c77b5ca31b02af9cf0d5a3187c2ae (patch)
tree4d98a6252cc100c681cbb902450466da2cf68fd4 /games
parentf84ab4c28d4547ec1cd0bef65c62dab267b08430 (diff)
downloadfreebsd-ports-gnome-f71579f9a04c77b5ca31b02af9cf0d5a3187c2ae.tar.gz
freebsd-ports-gnome-f71579f9a04c77b5ca31b02af9cf0d5a3187c2ae.tar.zst
freebsd-ports-gnome-f71579f9a04c77b5ca31b02af9cf0d5a3187c2ae.zip
- update to 1.2.3
- restore 'Created by' in Makefile header - add dependency on desktopfileutils PR: 176171 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/simsu/Makefile16
-rw-r--r--games/simsu/distinfo4
-rw-r--r--games/simsu/pkg-plist38
3 files changed, 46 insertions, 12 deletions
diff --git a/games/simsu/Makefile b/games/simsu/Makefile
index c2e30bdcecf7..1556d5e6aff1 100644
--- a/games/simsu/Makefile
+++ b/games/simsu/Makefile
@@ -1,8 +1,8 @@
+# Created by: nemysis@gmx.ch
# $FreeBSD$
PORTNAME= simsu
-PORTVERSION= 1.2.2
-PORTREVISION= 2
+PORTVERSION= 1.2.3
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
@@ -14,10 +14,10 @@ LICENSE= GPLv3
USE_BZIP2= yes
USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
+USE_GNOME= desktopfileutils
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
-PORTDATA= *
PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
@@ -27,15 +27,13 @@ do-configure:
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
post-install:
-# Pixmaps
- ${INSTALL_DATA} ${WRKSRC}/icons/hicolor/48x48/apps/simsu.png ${PREFIX}/share/pixmaps/
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
+ @-update-desktop-database
+
.include <bsd.port.mk>
diff --git a/games/simsu/distinfo b/games/simsu/distinfo
index da4b04f3a4f3..d0f87e4932ff 100644
--- a/games/simsu/distinfo
+++ b/games/simsu/distinfo
@@ -1,2 +1,2 @@
-SHA256 (simsu-1.2.2-src.tar.bz2) = 86c18e7c05659ce3e9363b38941fe6f5024943bd2a7b24532bc56ab6a669dddd
-SIZE (simsu-1.2.2-src.tar.bz2) = 295584
+SHA256 (simsu-1.2.3-src.tar.bz2) = 623a27e487bd360bee58430b6530f3371f915a868910615572559a3e055a5da4
+SIZE (simsu-1.2.3-src.tar.bz2) = 328020
diff --git a/games/simsu/pkg-plist b/games/simsu/pkg-plist
index a29aeb20e568..a2784af45a0e 100644
--- a/games/simsu/pkg-plist
+++ b/games/simsu/pkg-plist
@@ -10,5 +10,41 @@ share/icons/hicolor/48x48/apps/simsu.png
share/icons/hicolor/64x64/apps/simsu.png
share/icons/hicolor/scalable/apps/simsu.svg
share/pixmaps/simsu.png
-share/pixmaps/simsu_32.xpm
+share/pixmaps/simsu.xpm
+%%DATADIR%%/translations/simsu_ca.qm
+%%DATADIR%%/translations/simsu_cs.qm
+%%DATADIR%%/translations/simsu_el.qm
+%%DATADIR%%/translations/simsu_en.qm
+%%DATADIR%%/translations/simsu_es.qm
+%%DATADIR%%/translations/simsu_es_CL.qm
+%%DATADIR%%/translations/simsu_fr.qm
+%%DATADIR%%/translations/simsu_he.qm
+%%DATADIR%%/translations/simsu_hu.qm
+%%DATADIR%%/translations/simsu_ro.qm
+%%DATADIR%%/translations/simsu_ru.qm
+%%DATADIR%%/translations/simsu_uk.qm
+@dirrm %%DATADIR%%/translations
+@dirrm %%DATADIR%%
+@dirrmtry share/icons/hicolor/scalable/apps
+@dirrmtry share/icons/hicolor/scalable
+@dirrmtry share/icons/hicolor/64x64/apps
+@dirrmtry share/icons/hicolor/64x64
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor/256x256/apps
+@dirrmtry share/icons/hicolor/256x256
+@dirrmtry share/icons/hicolor/24x24/apps
+@dirrmtry share/icons/hicolor/24x24
+@dirrmtry share/icons/hicolor/22x22/apps
+@dirrmtry share/icons/hicolor/22x22
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor/128x128/apps
+@dirrmtry share/icons/hicolor/128x128
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
@dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true