Date: Mon, 21 Oct 2024 23:22:22 GMT From: Olivier Cochard <olivier@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f40eff752ccc - main - deskutils/deforaos-notes: import version 0.2.1 Message-ID: <202410212322.49LNMM4t073462@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=f40eff752ccc7f8e236da8b7a71c677db9672355 commit f40eff752ccc7f8e236da8b7a71c677db9672355 Author: Pierre Pronchery <khorben@defora.org> AuthorDate: 2024-10-14 15:29:07 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2024-10-21 23:20:11 +0000 deskutils/deforaos-notes: import version 0.2.1 Sponsored by: The FreeBSD Foundation --- deskutils/Makefile | 1 + deskutils/deforaos-notes/Makefile | 45 +++++++++++++++++++++++ deskutils/deforaos-notes/distinfo | 3 ++ deskutils/deforaos-notes/files/patch-doc_Makefile | 19 ++++++++++ deskutils/deforaos-notes/pkg-descr | 1 + deskutils/deforaos-notes/pkg-plist | 12 ++++++ 6 files changed, 81 insertions(+) diff --git a/deskutils/Makefile b/deskutils/Makefile index d579d9814f7b..69bb427185f6 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -43,6 +43,7 @@ SUBDIR += coregarage SUBDIR += countdown SUBDIR += dailystrips + SUBDIR += deforaos-notes SUBDIR += deforaos-todo SUBDIR += dfshow SUBDIR += dmenu-wayland diff --git a/deskutils/deforaos-notes/Makefile b/deskutils/deforaos-notes/Makefile new file mode 100644 index 000000000000..ade3d471ce9a --- /dev/null +++ b/deskutils/deforaos-notes/Makefile @@ -0,0 +1,45 @@ +PORTNAME= notes +PORTVERSION= 0.2.1 +CATEGORIES= deskutils +MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Notes/ +PKGNAMEPREFIX= deforaos- +DISTNAME= Notes-${PORTVERSION} + +MAINTAINER= khorben@defora.org +COMMENT= DeforaOS desktop notes +WWW= https://www.defora.org/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ + libSystem.so:devel/deforaos-libsystem + +USES= desktop-file-utils gnome pkgconfig xorg +USE_GNOME= gtk30 +USE_XORG= x11 +MAKE_ARGS+= PREFIX=${PREFIX} + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes +DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ + xsltproc:textproc/libxslt +NLS_USES= gettext + +post-patch: + ${REINPLACE_CMD} 's|-Wl,-pie||g' \ + ${WRKSRC}/src/Makefile + +post-patch-DOCS-off: + ${REINPLACE_CMD} 's|= data doc|= data|' \ + ${WRKSRC}/Makefile + +post-patch-NLS-off: + ${REINPLACE_CMD} 's|po src tools|src tools|' \ + ${WRKSRC}/Makefile + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notes \ + ${STAGEDIR}${PREFIX}/lib/libNotes.so.0.0 + +.include <bsd.port.mk> diff --git a/deskutils/deforaos-notes/distinfo b/deskutils/deforaos-notes/distinfo new file mode 100644 index 000000000000..2507831b40d6 --- /dev/null +++ b/deskutils/deforaos-notes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728544610 +SHA256 (Notes-0.2.1.tar.gz) = 1a054ff37f5da72b6507dfa158c44516c19d89e00e4298bae03be083b8bfc8ce +SIZE (Notes-0.2.1.tar.gz) = 20665 diff --git a/deskutils/deforaos-notes/files/patch-doc_Makefile b/deskutils/deforaos-notes/files/patch-doc_Makefile new file mode 100644 index 000000000000..f1122df15f7e --- /dev/null +++ b/deskutils/deforaos-notes/files/patch-doc_Makefile @@ -0,0 +1,19 @@ +--- doc/Makefile.orig 2024-10-10 06:25:03 UTC ++++ doc/Makefile +@@ -1,4 +1,4 @@ +-TARGETS = $(OBJDIR)notes.1 $(OBJDIR)notes.html ++TARGETS = $(OBJDIR)notes.1 + OBJDIR = + PREFIX = /usr/local + DESTDIR = +@@ -25,10 +25,8 @@ install: all + + install: all + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)notes.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)notes.html" + + uninstall: + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "notes.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "notes.html" + + .PHONY: all clean distclean install uninstall diff --git a/deskutils/deforaos-notes/pkg-descr b/deskutils/deforaos-notes/pkg-descr new file mode 100644 index 000000000000..2e61217cc35f --- /dev/null +++ b/deskutils/deforaos-notes/pkg-descr @@ -0,0 +1 @@ +DeforaOS desktop notes diff --git a/deskutils/deforaos-notes/pkg-plist b/deskutils/deforaos-notes/pkg-plist new file mode 100644 index 000000000000..6dfc7779b3d6 --- /dev/null +++ b/deskutils/deforaos-notes/pkg-plist @@ -0,0 +1,12 @@ +bin/notes +include/Desktop/Notes.h +lib/libNotes.a +lib/libNotes.so +lib/libNotes.so.0 +lib/libNotes.so.0.0 +libdata/pkgconfig/Notes.pc +share/applications/org.defora.notes.desktop +%%PORTDOCS%%share/doc/Notes/COPYING +%%PORTDOCS%%share/man/man1/notes.1.gz +%%NLS%%share/locale/fr/LC_MESSAGES/Notes.mo +%%NLS%%share/locale/es/LC_MESSAGES/Notes.mo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410212322.49LNMM4t073462>