math/minizinc-ide: Install .desktop file

This commit is contained in:
Yuri Victorovich 2021-05-04 12:06:49 -07:00
parent 05e2d0be9c
commit e41ab1976a

View file

@ -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 <bsd.port.mk>