Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2023 17:04:33 GMT
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cab0892e2d7d - main - editors/leafpad: update to v0.8.19, adjust dependencies
Message-ID:  <202302151704.31FH4XdD032431@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jgh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cab0892e2d7d4dbf6676a1bb32249f8f0dbcad8a

commit cab0892e2d7d4dbf6676a1bb32249f8f0dbcad8a
Author:     Jason Helfman <jgh@FreeBSD.org>
AuthorDate: 2023-02-15 16:59:47 +0000
Commit:     Jason Helfman <jgh@FreeBSD.org>
CommitDate: 2023-02-15 17:04:00 +0000

    editors/leafpad: update to v0.8.19, adjust dependencies
    
      - options for docs/nls
---
 editors/leafpad/Makefile  | 21 +++++++++----
 editors/leafpad/distinfo  |  5 ++--
 editors/leafpad/pkg-plist | 76 +++++++++++++++++++++++------------------------
 3 files changed, 56 insertions(+), 46 deletions(-)

diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index 183bfb4b2474..5ac2973fdee4 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	leafpad
-PORTVERSION=	0.8.18.1
-PORTREVISION=	2
+PORTVERSION=	0.8.19
 CATEGORIES=	editors
 MASTER_SITES=	SAVANNAH
 
@@ -10,8 +9,12 @@ WWW=		http://tarot.freeshell.org/leafpad/
 
 LICENSE=	GPLv2
 
-USE_GNOME=	gtk20 intlhack
-USES=		desktop-file-utils gettext gmake gnome pkgconfig
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libharfbuzz.so:print/harfbuzz
+
+USES=		desktop-file-utils gmake gnome pkgconfig
+USE_GNOME=	cairo gdkpixbuf2 gtk20 intlhack
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-chooser
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -19,12 +22,18 @@ LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL README
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+
+.include <bsd.port.options.mk>
 
 post-extract:
 	@${CHMOD} a+x ${WRKSRC}/install-sh
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
diff --git a/editors/leafpad/distinfo b/editors/leafpad/distinfo
index b5207467f733..7b22e0d85b8f 100644
--- a/editors/leafpad/distinfo
+++ b/editors/leafpad/distinfo
@@ -1,2 +1,3 @@
-SHA256 (leafpad-0.8.18.1.tar.gz) = 959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c
-SIZE (leafpad-0.8.18.1.tar.gz) = 289117
+TIMESTAMP = 1675876133
+SHA256 (leafpad-0.8.19.tar.gz) = 07d3f712f4dbd0a33251fd1dee14e21afdc9f92090fc768c11ab0ac556adbe97
+SIZE (leafpad-0.8.19.tar.gz) = 294448
diff --git a/editors/leafpad/pkg-plist b/editors/leafpad/pkg-plist
index 90b8582356b6..247ef5607d03 100644
--- a/editors/leafpad/pkg-plist
+++ b/editors/leafpad/pkg-plist
@@ -5,43 +5,43 @@ share/icons/hicolor/22x22/apps/leafpad.png
 share/icons/hicolor/24x24/apps/leafpad.png
 share/icons/hicolor/32x32/apps/leafpad.png
 share/icons/hicolor/scalable/apps/leafpad.svg
-share/locale/bg/LC_MESSAGES/leafpad.mo
-share/locale/br/LC_MESSAGES/leafpad.mo
-share/locale/ca/LC_MESSAGES/leafpad.mo
-share/locale/cs/LC_MESSAGES/leafpad.mo
-share/locale/da/LC_MESSAGES/leafpad.mo
-share/locale/de/LC_MESSAGES/leafpad.mo
-share/locale/el/LC_MESSAGES/leafpad.mo
-share/locale/eo/LC_MESSAGES/leafpad.mo
-share/locale/es/LC_MESSAGES/leafpad.mo
-share/locale/eu/LC_MESSAGES/leafpad.mo
-share/locale/fi/LC_MESSAGES/leafpad.mo
-share/locale/fr/LC_MESSAGES/leafpad.mo
-share/locale/ga/LC_MESSAGES/leafpad.mo
-share/locale/gl/LC_MESSAGES/leafpad.mo
-share/locale/he/LC_MESSAGES/leafpad.mo
-share/locale/hu/LC_MESSAGES/leafpad.mo
-share/locale/id/LC_MESSAGES/leafpad.mo
-share/locale/it/LC_MESSAGES/leafpad.mo
-share/locale/ja/LC_MESSAGES/leafpad.mo
-share/locale/ko/LC_MESSAGES/leafpad.mo
-share/locale/lt/LC_MESSAGES/leafpad.mo
-share/locale/lv/LC_MESSAGES/leafpad.mo
-share/locale/nl/LC_MESSAGES/leafpad.mo
-share/locale/nn/LC_MESSAGES/leafpad.mo
-share/locale/pl/LC_MESSAGES/leafpad.mo
-share/locale/pt/LC_MESSAGES/leafpad.mo
-share/locale/pt_BR/LC_MESSAGES/leafpad.mo
-share/locale/ru/LC_MESSAGES/leafpad.mo
-share/locale/sk/LC_MESSAGES/leafpad.mo
-share/locale/sl/LC_MESSAGES/leafpad.mo
-share/locale/sr/LC_MESSAGES/leafpad.mo
-share/locale/sv/LC_MESSAGES/leafpad.mo
-share/locale/ta/LC_MESSAGES/leafpad.mo
-share/locale/tr/LC_MESSAGES/leafpad.mo
-share/locale/uk/LC_MESSAGES/leafpad.mo
-share/locale/vi/LC_MESSAGES/leafpad.mo
-share/locale/zh_CN/LC_MESSAGES/leafpad.mo
-share/locale/zh_TW/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/br/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/da/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/de/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/el/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/es/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/he/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/id/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/it/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/ta/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/leafpad.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/leafpad.mo
 share/pixmaps/leafpad.png
 share/pixmaps/leafpad.xpm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302151704.31FH4XdD032431>