pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/pdmenu



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Sat Jan  4 15:34:52 UTC 2025

Modified Files:
        pkgsrc/misc/pdmenu: Makefile PLIST distinfo
Added Files:
        pkgsrc/misc/pdmenu/patches: patch-Makefile

Log Message:
pdmenu: update to 1.3.6

Many bug and support updates.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/misc/pdmenu/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/pdmenu/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/misc/pdmenu/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/pdmenu/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/pdmenu/Makefile
diff -u pkgsrc/misc/pdmenu/Makefile:1.40 pkgsrc/misc/pdmenu/Makefile:1.41
--- pkgsrc/misc/pdmenu/Makefile:1.40    Fri Jan  3 09:15:15 2025
+++ pkgsrc/misc/pdmenu/Makefile Sat Jan  4 15:34:52 2025
@@ -1,29 +1,31 @@
-# $NetBSD: Makefile,v 1.40 2025/01/03 09:15:15 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2025/01/04 15:34:52 ktnb Exp $
 
-DISTNAME=      pdmenu_1.2.65
-PKGNAME=       ${DISTNAME:S/_/-/}
-PKGREVISION=   13
+DISTNAME=      pdmenu-1.3.6
 CATEGORIES=    misc
-#MASTER_SITES= http://www.kitenet.net/programs/pdmenu/
+MASTER_SITES=  https://git.kitenet.net/index.cgi/pdmenu.git/snapshot/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=     http://www.kitenet.net/~joey/code/pdmenu.html
+HOMEPAGE=      https://joeyh.name/code/pdmenu/
 COMMENT=       Simple console menu program
+LICENSE=       gnu-gpl-v2
 
-WRKSRC=                ${WRKDIR}/pdmenu
 GNU_CONFIGURE= YES
 USE_TOOLS+=    gmake perl:run
 
 REPLACE_PERL=  examples/showdir.pl
+REPLACE_PERL+= examples/editdir.pl
 
+CONFIGURE_ENV+=        SLANG_LIB_LOC=${BUILDLINK_PREFIX.libslang}/lib
+CONFIGURE_ENV+=        SLANG_H_LOC=${BUILDLINK_PREFIX.libslang}/include/slang.h
 
-CONFIGURE_ENV+=        SLANG_LIB_LOC=${BUILDLINK_PREFIX.libslang:Q}/lib
-CONFIGURE_ENV+=        SLANG_H_LOC=${BUILDLINK_PREFIX.libslang:Q}/include/slang.h
+LDFLAGS+=      -lintl
 
-INSTALLATION_DIRS=     lib/pdmenu share/doc/pdmenu \
+INSTALLATION_DIRS=     share/doc/pdmenu \
                        share/examples/pdmenu/newbie
 
 INSTALL_MAKE_FLAGS+=   INSTALL_PREFIX=${DESTDIR}
+INSTALL_MAKE_FLAGS+=   SYSCONFDIR=${DESTDIR}/${PKG_SYSCONFDIR}
+INSTALL_MAKE_FLAGS+=   DATADIR=${DESTDIR}/share/examples/pdmenu
 
 pre-install:
        ${SED} "s,.B /etc/pdmenurc,.B ${PREFIX}/etc/pdmenurc,g"         \
@@ -34,11 +36,13 @@ post-install:
        cd ${WRKSRC}/doc && ${INSTALL_DATA} ANNOUNCE BUGS TODO \
                ${DESTDIR}${PREFIX}/share/doc/pdmenu
        cd ${WRKSRC}/examples && ${INSTALL_DATA} README ba.lpd pdmenurc \
-               pdmenurc.complex pdmenurc.monitor showdir.pl \
+               pdmenurc.complex pdmenurc.monitor showdir.pl editdir.pl\
                ${DESTDIR}${PREFIX}/share/examples/pdmenu
        cd ${WRKSRC}/examples/newbie && ${INSTALL_DATA} modem-check \
                pdmenurc.newbie rpm-info-on-command \
                ${DESTDIR}${PREFIX}/share/examples/pdmenu/newbie
 
+CONF_FILES=    ${DESTDIR}${PREFIX}/share/examples/pdmenu/pdmenurc ${PKG_SYSCONFDIR}/pdmenurc
+
 .include "../../devel/libslang/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/misc/pdmenu/PLIST
diff -u pkgsrc/misc/pdmenu/PLIST:1.3 pkgsrc/misc/pdmenu/PLIST:1.4
--- pkgsrc/misc/pdmenu/PLIST:1.3        Sun Jun 14 18:07:28 2009
+++ pkgsrc/misc/pdmenu/PLIST    Sat Jan  4 15:34:52 2025
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:07:28 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/01/04 15:34:52 ktnb Exp $
 bin/pdmenu
-lib/pdmenu/editdir.pl
-lib/pdmenu/showdir.pl
 man/man1/pdmenu.1
 man/man5/pdmenurc.5
 share/doc/pdmenu/ANNOUNCE
@@ -9,6 +7,7 @@ share/doc/pdmenu/BUGS
 share/doc/pdmenu/TODO
 share/examples/pdmenu/README
 share/examples/pdmenu/ba.lpd
+share/examples/pdmenu/editdir.pl
 share/examples/pdmenu/newbie/modem-check
 share/examples/pdmenu/newbie/pdmenurc.newbie
 share/examples/pdmenu/newbie/rpm-info-on-command

Index: pkgsrc/misc/pdmenu/distinfo
diff -u pkgsrc/misc/pdmenu/distinfo:1.9 pkgsrc/misc/pdmenu/distinfo:1.10
--- pkgsrc/misc/pdmenu/distinfo:1.9     Tue Oct 26 10:59:21 2021
+++ pkgsrc/misc/pdmenu/distinfo Sat Jan  4 15:34:52 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:59:21 nia Exp $
+$NetBSD: distinfo,v 1.10 2025/01/04 15:34:52 ktnb Exp $
 
-BLAKE2s (pdmenu_1.2.65.tar.gz) = f0670f04fea97f3adfb45c9f372ff274421ad3e362baf64f65f0bb53af24e08e
-SHA512 (pdmenu_1.2.65.tar.gz) = 2757c08d3d0c8dfd5f6eb8000b5ee6ab0ba4d31a373175709f4c328536226bfcf8cffd19f37c9b448f85b4107f3bde9837697b904bece95042500c58cc39eff0
-Size (pdmenu_1.2.65.tar.gz) = 88453 bytes
-SHA1 (patch-aa) = b5d2d0620e466ab2b13a530b0611e15d517b452d
+BLAKE2s (pdmenu-1.3.6.tar.gz) = af5606e3f3f3fec6e10b12b319ad3c327015d31d50124c64327fff86a991e667
+SHA512 (pdmenu-1.3.6.tar.gz) = 2a930f98f49c3c94687fb403eb186ddc51fec67068c6b4b8dd6694cadb9fefb6802f878efe6e2caed62ddf68aeae36ec80fc9e56ca268021e32dee819f001fb5
+Size (pdmenu-1.3.6.tar.gz) = 160265 bytes
+SHA1 (patch-Makefile) = 5fd308e74397124522c3330b0a55aa26bc1e7440

Added files:

Index: pkgsrc/misc/pdmenu/patches/patch-Makefile
diff -u /dev/null pkgsrc/misc/pdmenu/patches/patch-Makefile:1.1
--- /dev/null   Sat Jan  4 15:34:52 2025
+++ pkgsrc/misc/pdmenu/patches/patch-Makefile   Sat Jan  4 15:34:52 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2025/01/04 15:34:52 ktnb Exp $
+
+Include the LDFLAGS
+
+--- Makefile.orig      2025-01-04 14:54:12.329285706 +0000
++++ Makefile
+@@ -13,7 +13,7 @@ all: pdmenu $(POTFILE) $(MOS)
+ include makeinfo
+ 
+ pdmenu: .dep $(OBJFILES)
+-      ${CC} -o pdmenu $(OBJFILES) $(CFLAGS) $(LIBS)
++      ${CC} -o pdmenu $(OBJFILES) $(CFLAGS) $(LIBS) $(LDFLAGS)
+ 
+ depend: .dep
+ dep: .dep



Home | Main Index | Thread Index | Old Index