mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
deskutils/deforaos-notes: import version 0.2.1
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
57adfe9497
commit
f40eff752c
6 changed files with 81 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
||||||
SUBDIR += coregarage
|
SUBDIR += coregarage
|
||||||
SUBDIR += countdown
|
SUBDIR += countdown
|
||||||
SUBDIR += dailystrips
|
SUBDIR += dailystrips
|
||||||
|
SUBDIR += deforaos-notes
|
||||||
SUBDIR += deforaos-todo
|
SUBDIR += deforaos-todo
|
||||||
SUBDIR += dfshow
|
SUBDIR += dfshow
|
||||||
SUBDIR += dmenu-wayland
|
SUBDIR += dmenu-wayland
|
||||||
|
|
45
deskutils/deforaos-notes/Makefile
Normal file
45
deskutils/deforaos-notes/Makefile
Normal file
|
@ -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>
|
3
deskutils/deforaos-notes/distinfo
Normal file
3
deskutils/deforaos-notes/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1728544610
|
||||||
|
SHA256 (Notes-0.2.1.tar.gz) = 1a054ff37f5da72b6507dfa158c44516c19d89e00e4298bae03be083b8bfc8ce
|
||||||
|
SIZE (Notes-0.2.1.tar.gz) = 20665
|
19
deskutils/deforaos-notes/files/patch-doc_Makefile
Normal file
19
deskutils/deforaos-notes/files/patch-doc_Makefile
Normal file
|
@ -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
|
1
deskutils/deforaos-notes/pkg-descr
Normal file
1
deskutils/deforaos-notes/pkg-descr
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DeforaOS desktop notes
|
12
deskutils/deforaos-notes/pkg-plist
Normal file
12
deskutils/deforaos-notes/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue