git: c32385406c3a - main - misc/pdmenu: update to 1.3.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Oct 2021 15:56:28 UTC
The branch main has been updated by yasu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c32385406c3a5169b3e6dba473767e24168c8703
commit c32385406c3a5169b3e6dba473767e24168c8703
Author: Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-09-30 14:43:55 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-10-27 15:53:38 +0000
misc/pdmenu: update to 1.3.6
* Pass maintainership to submitter
* Switch to new upstream
* Fix build with FreeBSD 13 or later (-fno-common)
* Add NLS option
ChangeLog: http://joeyh.name/code/pdmenu/news/version_1.3.5/ (1.3.5)
ChangeLog: http://joeyh.name/code/pdmenu/news/version_1.3.6/ (1.3.6)
PR: 258809
MFH: 2021Q4
Differential Revision: https://reviews.freebsd.org/D32662
---
misc/pdmenu/Makefile | 16 ++++++----------
misc/pdmenu/distinfo | 5 +++--
misc/pdmenu/pkg-plist | 10 +++++-----
3 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/misc/pdmenu/Makefile b/misc/pdmenu/Makefile
index 3064077ca586..0fe2e389bc83 100644
--- a/misc/pdmenu/Makefile
+++ b/misc/pdmenu/Makefile
@@ -1,24 +1,17 @@
# Created by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
PORTNAME= pdmenu
-PORTVERSION= 1.3.4
-PORTREVISION= 1
+DISTVERSION= 1.3.6
CATEGORIES= misc
-MASTER_SITES= DEBIAN
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+MASTER_SITES= https://git.kitenet.net/index.cgi/pdmenu.git/snapshot/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= fuz@fuz.su
COMMENT= Simple console menu program
LICENSE= GPLv2
-BROKEN_FreeBSD_13= ld: error: duplicate symbol: BG
-BROKEN_FreeBSD_14= ld: error: duplicate symbol: BG
-
LIB_DEPENDS= libslang.so:devel/libslang2
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
USES= gettext gmake ncurses shebangfix
SHEBANG_FILES= examples/showdir.pl
GNU_CONFIGURE= yes
@@ -30,6 +23,9 @@ CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lncurses -lintl
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
post-patch:
@${REINPLACE_CMD} -e \
'/^LANGS/s|=.*$$|= da es fr ru| ; \
diff --git a/misc/pdmenu/distinfo b/misc/pdmenu/distinfo
index 128e67b12b72..6ce2b8586d86 100644
--- a/misc/pdmenu/distinfo
+++ b/misc/pdmenu/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pdmenu_1.3.4.tar.gz) = 302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea
-SIZE (pdmenu_1.3.4.tar.gz) = 161002
+TIMESTAMP = 1633012422
+SHA256 (pdmenu-1.3.6.tar.gz) = dedd2a4a5719278b5e49041161990c2f20b5909818837542aaca01819f2c14eb
+SIZE (pdmenu-1.3.6.tar.gz) = 160265
diff --git a/misc/pdmenu/pkg-plist b/misc/pdmenu/pkg-plist
index 05ead91aa25d..57d698afc878 100644
--- a/misc/pdmenu/pkg-plist
+++ b/misc/pdmenu/pkg-plist
@@ -1,10 +1,10 @@
-bin/pdmenu
+bin/pdmenu
@sample etc/pdmenurc.sample
man/man1/pdmenu.1.gz
man/man5/pdmenurc.5.gz
-share/locale/da/LC_MESSAGES/pdmenu.mo
-share/locale/es/LC_MESSAGES/pdmenu.mo
-share/locale/fr/LC_MESSAGES/pdmenu.mo
-share/locale/ru/LC_MESSAGES/pdmenu.mo
+%%NLS%%share/locale/da/LC_MESSAGES/pdmenu.mo
+%%NLS%%share/locale/es/LC_MESSAGES/pdmenu.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/pdmenu.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/pdmenu.mo
%%DATADIR%%/editdir.pl
%%DATADIR%%/showdir.pl