From e41ab1976a9f752a51b100a8d3c894d2e9036bc4 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 4 May 2021 12:06:49 -0700 Subject: [PATCH] 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@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