aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-02-21 11:22:10 +0800
committerjbeich <jbeich@FreeBSD.org>2015-02-21 11:22:10 +0800
commitc9f290d011a8b4f3568a51bc7f14f2fbe0cfe27c (patch)
tree42f338ebefff815b5b8fac589bafa16c4a3c8e6b /games
parent2a706901350a3bddb8079f0dd9acad3ae716ec61 (diff)
downloadfreebsd-ports-gnome-c9f290d011a8b4f3568a51bc7f14f2fbe0cfe27c.tar.gz
freebsd-ports-gnome-c9f290d011a8b4f3568a51bc7f14f2fbe0cfe27c.tar.zst
freebsd-ports-gnome-c9f290d011a8b4f3568a51bc7f14f2fbe0cfe27c.zip
Move icons under hicolor (fallback) theme
Strip ending / (slash) when copying hicolor directory to avoid installing icons under a theme with empty name. This should unbreak expanding Icon in .desktop file by gtk_icon_theme_lookup_icon(). While here, add missing / to WWW per Porter's Handbook. Note, the historic behavior of |cp -R foo/ bar| == |cp -R foo/. bar| was disabled by NetBSD and OpenBSD years ago to match POSIX. Other cp(1) implementations don't seem to be affected.
Diffstat (limited to 'games')
-rw-r--r--games/openra/Makefile3
-rw-r--r--games/openra/pkg-descr2
-rw-r--r--games/openra/pkg-plist16
3 files changed, 11 insertions, 10 deletions
diff --git a/games/openra/Makefile b/games/openra/Makefile
index 2ec30d37e89f..10ea6625f428 100644
--- a/games/openra/Makefile
+++ b/games/openra/Makefile
@@ -2,7 +2,7 @@
PORTNAME= openra
PORTVERSION= 20141029
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MAINTAINER= jbeich@FreeBSD.org
@@ -47,6 +47,7 @@ ZENITY_DESC= Use native crash dialog
post-patch:
${REINPLACE_CMD} -e 's/Linux/${OPSYS}/' \
+ -e '/CP_R/s,hicolor/,hicolor,' \
-e 's/crashdialog/gamemonitor/' \
-e '/^mods:/s/$$/ version/' \
-e '/^docs:/s/$$/ all/' \
diff --git a/games/openra/pkg-descr b/games/openra/pkg-descr
index d7afffe1354b..1aa2fc60c191 100644
--- a/games/openra/pkg-descr
+++ b/games/openra/pkg-descr
@@ -4,4 +4,4 @@ of Command & Conquer: Red Alert, Command & Conquer: Tiberian Dawn as
well as Dune 2000. These combine the classic gameplay of the originals
with modern improvements such as unit veterancy and the fog of war.
-WWW: http://www.openra.net
+WWW: http://www.openra.net/
diff --git a/games/openra/pkg-plist b/games/openra/pkg-plist
index bd2161dfa62d..16dbebc49e3e 100644
--- a/games/openra/pkg-plist
+++ b/games/openra/pkg-plist
@@ -2,11 +2,11 @@ bin/openra
bin/openra-editor
share/applications/openra-editor.desktop
share/applications/openra.desktop
-share/icons/128x128/apps/openra.png
-share/icons/16x16/apps/openra.png
-share/icons/32x32/apps/openra-editor.png
-share/icons/32x32/apps/openra.png
-share/icons/48x48/apps/openra-editor.png
-share/icons/48x48/apps/openra.png
-share/icons/64x64/apps/openra.png
-share/icons/scalable/apps/openra.svg
+share/icons/hicolor/128x128/apps/openra.png
+share/icons/hicolor/16x16/apps/openra.png
+share/icons/hicolor/32x32/apps/openra-editor.png
+share/icons/hicolor/32x32/apps/openra.png
+share/icons/hicolor/48x48/apps/openra-editor.png
+share/icons/hicolor/48x48/apps/openra.png
+share/icons/hicolor/64x64/apps/openra.png
+share/icons/hicolor/scalable/apps/openra.svg