diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-02-21 11:22:10 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-02-21 11:22:10 +0800 |
commit | c9f290d011a8b4f3568a51bc7f14f2fbe0cfe27c (patch) | |
tree | 42f338ebefff815b5b8fac589bafa16c4a3c8e6b /games/openra | |
parent | 2a706901350a3bddb8079f0dd9acad3ae716ec61 (diff) | |
download | freebsd-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/openra')
-rw-r--r-- | games/openra/Makefile | 3 | ||||
-rw-r--r-- | games/openra/pkg-descr | 2 | ||||
-rw-r--r-- | games/openra/pkg-plist | 16 |
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 |