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
This commit is contained in:
Robert Clausecker 2021-09-30 16:43:55 +02:00 committed by Yasuhiro Kimura
parent b6534ecd95
commit c32385406c
3 changed files with 14 additions and 17 deletions

View File

@ -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| ; \

View File

@ -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

View File

@ -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