- Update to 1.3.0
PR: 158457 Submitted by: Ports Fury
This commit is contained in:
parent
226519cf37
commit
58046be1d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276836
3 changed files with 10 additions and 17 deletions
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pdmenu
|
||||
PORTVERSION= 1.2.99
|
||||
PORTVERSION= 1.3.0
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= DEBIAN
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
@ -33,12 +33,18 @@ MAN1= pdmenu.1
|
|||
MAN5= pdmenurc.5
|
||||
PLIST_FILES= bin/pdmenu \
|
||||
etc/pdmenurc \
|
||||
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 \
|
||||
%%DATADIR%%/editdir.pl \
|
||||
%%DATADIR%%/showdir.pl
|
||||
PLIST_DIRS= %%DATADIR%%
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^LANGS/s|=.*$$|= da es fr ru|g' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pdmenu ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/pdmenurc ${PREFIX}/etc
|
||||
|
@ -46,7 +52,7 @@ do-install:
|
|||
${INSTALL_MAN} ${WRKSRC}/doc/pdmenurc.man ${MAN5PREFIX}/man/man5/pdmenurc.5
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.pl ${DATADIR}
|
||||
.for lang in es fr
|
||||
.for lang in da es fr ru
|
||||
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
|
||||
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
|
||||
${PREFIX}/share/locale/${lang}/LC_MESSAGES/pdmenu.mo
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (pdmenu_1.2.99.tar.gz) = e76b96766c1a09acc05feb862e21b7880b5e79060b9484f306f77deda1f89442
|
||||
SIZE (pdmenu_1.2.99.tar.gz) = 160758
|
||||
SHA256 (pdmenu_1.3.0.tar.gz) = 47aadf261a97111874b08a560c51bcd99da918a1e1e0368a30181d9ecd7e1226
|
||||
SIZE (pdmenu_1.3.0.tar.gz) = 161819
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
--- src/pdmenu.c.orig 2008-07-23 01:56:11.000000000 +0900
|
||||
+++ src/pdmenu.c 2008-07-30 01:31:58.000000000 +0900
|
||||
@@ -230,8 +230,10 @@
|
||||
strcpy(FG[8],UNSEL_MENU_FG_DEFAULT);
|
||||
strcpy(BG[8],UNSEL_MENU_BG_DEFAULT);
|
||||
|
||||
+#if (defined(SLANG_VERSION) && (SLANG_VERSION >= 20000))
|
||||
/* Enable utf-8 in slang. */
|
||||
SLutf8_enable(-1);
|
||||
+#endif
|
||||
|
||||
/* Parse parameters and load pdmenurc file. */
|
||||
m=GetConfig(argc,argv);
|
Loading…
Reference in a new issue