aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-07-02 15:39:06 +0800
committermiwi <miwi@FreeBSD.org>2011-07-02 15:39:06 +0800
commit7aee218715638943addff06a7336b3a772687fe5 (patch)
tree9a2788282d2c5684590a9701d702eda57186153d /misc
parentd2977fd73a12bc3be4e5d596de2cbb1d903eefa4 (diff)
downloadfreebsd-ports-gnome-7aee218715638943addff06a7336b3a772687fe5.tar.gz
freebsd-ports-gnome-7aee218715638943addff06a7336b3a772687fe5.tar.zst
freebsd-ports-gnome-7aee218715638943addff06a7336b3a772687fe5.zip
- Update to 1.3.0
PR: 158457 Submitted by: Ports Fury
Diffstat (limited to 'misc')
-rw-r--r--misc/pdmenu/Makefile10
-rw-r--r--misc/pdmenu/distinfo4
-rw-r--r--misc/pdmenu/files/patch-src__pdmenu.c13
3 files changed, 10 insertions, 17 deletions
diff --git a/misc/pdmenu/Makefile b/misc/pdmenu/Makefile
index 3a5fab26e81a..dad012566519 100644
--- a/misc/pdmenu/Makefile
+++ b/misc/pdmenu/Makefile
@@ -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
diff --git a/misc/pdmenu/distinfo b/misc/pdmenu/distinfo
index 3fcb6cbf58d6..eb7c738f2fd9 100644
--- a/misc/pdmenu/distinfo
+++ b/misc/pdmenu/distinfo
@@ -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
diff --git a/misc/pdmenu/files/patch-src__pdmenu.c b/misc/pdmenu/files/patch-src__pdmenu.c
deleted file mode 100644
index fbef741e22d9..000000000000
--- a/misc/pdmenu/files/patch-src__pdmenu.c
+++ /dev/null
@@ -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);