aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-11-13 18:14:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-11-13 18:14:45 +0800
commit66d2f699e433a959c3596f407d718ba1ef8ded96 (patch)
treecfd12420e68fb9a41b174f2f230aa30757aa18b4
parentcbaeb3ee11c74c5aa9484b4415b59f1dfac9d2a6 (diff)
downloadfreebsd-ports-graphics-66d2f699e433a959c3596f407d718ba1ef8ded96.tar.gz
freebsd-ports-graphics-66d2f699e433a959c3596f407d718ba1ef8ded96.tar.zst
freebsd-ports-graphics-66d2f699e433a959c3596f407d718ba1ef8ded96.zip
- Install icon
-rw-r--r--games/gnubik/Makefile3
-rw-r--r--games/gnubik/pkg-plist1
2 files changed, 4 insertions, 0 deletions
diff --git a/games/gnubik/Makefile b/games/gnubik/Makefile
index 9d71852e66a..3f368454703 100644
--- a/games/gnubik/Makefile
+++ b/games/gnubik/Makefile
@@ -26,6 +26,9 @@ INFO= gnubik
OPTIONS_DEFINE= DOCS
+post-install:
+ ${LN} -s ../icons/hicolor/32x32/apps/gnubik.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
diff --git a/games/gnubik/pkg-plist b/games/gnubik/pkg-plist
index 87379153495..2249c72910b 100644
--- a/games/gnubik/pkg-plist
+++ b/games/gnubik/pkg-plist
@@ -39,3 +39,4 @@ share/locale/tr/LC_MESSAGES/gnubik.mo
share/locale/uk/LC_MESSAGES/gnubik.mo
share/locale/vi/LC_MESSAGES/gnubik.mo
share/locale/zh_CN/LC_MESSAGES/gnubik.mo
+share/pixmaps/gnubik.png