git: e41ab1976a9f - main - math/minizinc-ide: Install .desktop file
Yuri Victorovich
yuri at FreeBSD.org
Tue May 4 19:07:36 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e41ab1976a9f752a51b100a8d3c894d2e9036bc4
commit e41ab1976a9f752a51b100a8d3c894d2e9036bc4
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-04 19:06:49 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-04 19:07:27 +0000
math/minizinc-ide: Install .desktop file
---
math/minizinc-ide/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/math/minizinc-ide/Makefile b/math/minizinc-ide/Makefile
index a70c30018070..e6b5b8118746 100644
--- a/math/minizinc-ide/Makefile
+++ b/math/minizinc-ide/Makefile
@@ -1,5 +1,6 @@
PORTNAME= minizinc-ide
DISTVERSION= 2.5.5
+PORTREVISION= 1
CATEGORIES= math lang
MAINTAINER= yuri at FreeBSD.org
@@ -24,6 +25,12 @@ GH_PROJECT= MiniZincIDE
USE_GITLAB= nodefault
GL_TUPLE= minizinc:cp-profiler-integration:f16b3132df33b3f258971f36dbe5e909983381c9:cp/cp-profiler/src/cpp-integration
-PLIST_FILES= bin/MiniZincIDE
+PLIST_FILES= bin/MiniZincIDE \
+ share/pixmaps/minizinc_icon.png
+
+DESKTOP_ENTRIES= "MiniZinc" "Constraint modeling language" "${PREFIX}/share/pixmaps/minizinc_icon.png" "MiniZincIDE" "Science;Development;Education;" ""
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/resources/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/minizinc_icon.png
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list