editors/deforaos-editor: update to version 0.4.1

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Pierre Pronchery 2024-10-14 17:29:18 +02:00 committed by Olivier Cochard
parent d1a6ecfa1d
commit 7b3f70bbee
4 changed files with 24 additions and 34 deletions

View file

@ -1,8 +1,7 @@
PORTNAME= editor
PORTVERSION= 0.4.0
PORTREVISION= 2
PORTVERSION= 0.4.1
CATEGORIES= editors
MASTER_SITES= http://www.defora.org/os/download/download/4398/
MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Editor/
PKGNAMEPREFIX= deforaos-
DISTNAME= Editor-${PORTVERSION}
@ -13,22 +12,25 @@ WWW= https://www.defora.org/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
libDesktop.so:x11/deforaos-libdesktop \
LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
libfreetype.so:print/freetype2 \
libSystem.so:devel/deforaos-libsystem
USES= desktop-file-utils gnome pkgconfig xorg
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_XORG= x11
MAKE_ARGS+= PREFIX=${PREFIX}
MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man
USES= desktop-file-utils gnome pkgconfig
USE_GNOME= gtk20 cairo gdkpixbuf2
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
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
post-patch-DOCS-off:
${REINPLACE_CMD} 's|data doc po|data po|' \
@ -38,11 +40,6 @@ post-patch-NLS-off:
${REINPLACE_CMD} 's|po src tools|src tools|' \
${WRKSRC}/Makefile
post-patch:
@${REINPLACE_CMD} 's|-Wl,-pie||g' \
${WRKSRC}/tools/Makefile \
${WRKSRC}/src/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/editor \
${STAGEDIR}${PREFIX}/bin/filter

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1484322291
SHA256 (Editor-0.4.0.tar.gz) = 6d74ef9880c3dacd9beb25c622db23f1814d7f629ddd0ca15abac2db49e0536c
SIZE (Editor-0.4.0.tar.gz) = 25363
TIMESTAMP = 1728602693
SHA256 (Editor-0.4.1.tar.gz) = 89b3f5e73d7895ea16ca71264bf84630daa0557c7b3eb249be4a5c8a893d06cc
SIZE (Editor-0.4.1.tar.gz) = 27423

View file

@ -1,23 +1,14 @@
--- doc/Makefile.orig 2017-01-13 15:29:31 UTC
--- doc/Makefile.orig 2020-01-11 07:37:41 UTC
+++ doc/Makefile
@@ -1,4 +1,4 @@
-TARGETS = $(OBJDIR)editor.1 $(OBJDIR)editor.html $(OBJDIR)filter.1 $(OBJDIR)filter.html
+TARGETS = $(OBJDIR)editor.1 $(OBJDIR)filter.1
-TARGETS = $(OBJDIR)editor.1 $(OBJDIR)editor.html $(OBJDIR)editor.xml $(OBJDIR)filter.1 $(OBJDIR)filter.html $(OBJDIR)filter.xml
+TARGETS = $(OBJDIR)editor.1 $(OBJDIR)editor.xml $(OBJDIR)filter.1 $(OBJDIR)filter.xml
OBJDIR =
PREFIX = /usr/local
DESTDIR =
@@ -25,23 +25,17 @@ $(OBJDIR)filter.html: filter.css.xml fil
clean:
$(RM) -- $(editor.1_OBJS) $(editor.html_OBJS) $(filter.1_OBJS) $(filter.html_OBJS)
./docbook.sh -c -P "$(PREFIX)" -- "editor.1"
- ./docbook.sh -c -P "$(PREFIX)" -- "editor.html"
./docbook.sh -c -P "$(PREFIX)" -- "filter.1"
- ./docbook.sh -c -P "$(PREFIX)" -- "filter.html"
@@ -41,14 +41,10 @@ install: all
distclean: clean
$(RM) -- $(TARGETS)
install: $(TARGETS)
install: all
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)editor.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)editor.html"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)filter.1"

View file

@ -1 +1,3 @@
DeforaOS desktop text editor
DeforaOS Desktop text editor
Editor is a simple text editor, part of the DeforaOS Project.