git: 6f42187d5a99 - main - editors/notepadnext: Install .desktop file and icon file.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 May 2022 02:46:03 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f42187d5a9912e10bd1ca53a4e9f22c02a11aab commit 6f42187d5a9912e10bd1ca53a4e9f22c02a11aab Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-05-02 02:45:14 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-05-02 02:45:14 +0000 editors/notepadnext: Install .desktop file and icon file. --- editors/notepadnext/Makefile | 13 ++++++++----- editors/notepadnext/distinfo | 4 +++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/editors/notepadnext/Makefile b/editors/notepadnext/Makefile index 5d49a1dd5c90..2c1907c1aa37 100644 --- a/editors/notepadnext/Makefile +++ b/editors/notepadnext/Makefile @@ -1,8 +1,12 @@ PORTNAME= notepadnext DISTVERSIONPREFIX= v DISTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= editors +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= ece83c8d9dc72e987798b5b158770a4b6a502aff.patch:-p1 # https://github.com/dail8859/NotepadNext/pull/124 - fix installed file locations + MAINTAINER= yuri@FreeBSD.org COMMENT= Reimplementation of Notepad++ @@ -11,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libuchardet.so:textproc/uchardet -USES= gl qmake qt:5 xorg +USES= desktop-file-utils gl qmake qt:5 xorg USE_QT= core gui network printsupport widgets buildtools_build linguisttools_build USE_GL= gl USE_XORG= xcb @@ -31,9 +35,8 @@ QMAKE_SOURCE_PATH= ${WRKSRC}/src/NotepadNext.pro CXXFLAGS+= -I${LOCALBASE}/include/uchardet LDFLAGS+= -luchardet -PLIST_FILES= bin/NotepadNext - -do-install: # workaround for https://github.com/dail8859/NotepadNext/issues/123 - ${INSTALL_PROGRAM} ${WRKSRC}/NotepadNext/NotepadNext ${STAGEDIR}${PREFIX}/bin/NotepadNext +PLIST_FILES= bin/NotepadNext \ + share/applications/NotepadNext.desktop \ + share/icons/hicolor/scalable/mimetypes/NotepadNext.svg .include <bsd.port.mk> diff --git a/editors/notepadnext/distinfo b/editors/notepadnext/distinfo index 7aa11e0532f9..647a2c5b06de 100644 --- a/editors/notepadnext/distinfo +++ b/editors/notepadnext/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1651366379 +TIMESTAMP = 1651458691 SHA256 (dail8859-NotepadNext-v0.5.1_GH0.tar.gz) = 6033f82d41be516f04fabd31213ead35ca2a4ead5adb74501766c9464a3d9548 SIZE (dail8859-NotepadNext-v0.5.1_GH0.tar.gz) = 4544658 SHA256 (alex-spataru-QSimpleUpdater-62e0ce7dde4c76e7533f2f0ee53f19ee1690c8dd_GH0.tar.gz) = 1cc98b82e117f10d8eb563357a53c541e2b5e70a7b6845c4ae855b2a27edf448 @@ -11,3 +11,5 @@ SHA256 (githubuser0xFFFF-Qt-Advanced-Docking-System-d5fefaa35fb53e299b7f39b0d8f5 SIZE (githubuser0xFFFF-Qt-Advanced-Docking-System-d5fefaa35fb53e299b7f39b0d8f541954c710d94_GH0.tar.gz) = 10206316 SHA256 (itay-grudev-SingleApplication-d0c43a51ad7d4f74ae5cff8d8cbf8aba0cf5e51c_GH0.tar.gz) = e49a35dd366a3a2ddc4b97f1d5fb5af9bed84a04a693645f61248c78ba370676 SIZE (itay-grudev-SingleApplication-d0c43a51ad7d4f74ae5cff8d8cbf8aba0cf5e51c_GH0.tar.gz) = 21560 +SHA256 (ece83c8d9dc72e987798b5b158770a4b6a502aff.patch) = 0b9653aa9c600642775c4d72d9c56ca5d78252ef7e478a7799f816f42b516cd2 +SIZE (ece83c8d9dc72e987798b5b158770a4b6a502aff.patch) = 1150