pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/xfind
Module Name: pkgsrc
Committed By: vins
Date: Wed Aug 6 19:57:56 UTC 2025
Added Files:
pkgsrc/x11/xfind: DESCR Makefile PLIST distinfo
pkgsrc/x11/xfind/files: xfind.desktop
pkgsrc/x11/xfind/patches: patch-make.local
Log Message:
x11/xfind: initial import of package
XFind is a simple, graphical file search utility based on X11/Motif
It is designed to interface with XFile (sysutils/xfile), but can be
used also as a standalone application.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xfind/DESCR pkgsrc/x11/xfind/Makefile \
pkgsrc/x11/xfind/PLIST pkgsrc/x11/xfind/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xfind/files/xfind.desktop
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xfind/patches/patch-make.local
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/x11/xfind/DESCR
diff -u /dev/null pkgsrc/x11/xfind/DESCR:1.1
--- /dev/null Wed Aug 6 19:57:56 2025
+++ pkgsrc/x11/xfind/DESCR Wed Aug 6 19:57:56 2025
@@ -0,0 +1,3 @@
+XFind is a simple, graphical file search utility based on X11/Motif
+It is designed to interface with XFile (sysutils/xfile), but can be
+used also as a standalone application.
Index: pkgsrc/x11/xfind/Makefile
diff -u /dev/null pkgsrc/x11/xfind/Makefile:1.1
--- /dev/null Wed Aug 6 19:57:56 2025
+++ pkgsrc/x11/xfind/Makefile Wed Aug 6 19:57:56 2025
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2025/08/06 19:57:56 vins Exp $
+
+DISTNAME= xfind-src
+PKGNAME= ${DISTNAME:S,-src,,}-1.0
+CATEGORIES= x11
+MASTER_SITES= https://fastestcode.org/dl/
+DIST_SUBDIR= ${PKGNAME_NOREV}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= vins%NetBSD.org@localhost
+HOMEPAGE= https://fastestcode.org/xfile.html
+COMMENT= Graphical file search utility for X11
+LICENSE= isc
+
+WRKSRC= ${WRKDIR}/${PKGBASE}
+
+SUBST_CLASSES+= pkgsrc
+SUBST_STAGE.pkgsrc= pre-configure
+SUBST_FILES.pkgsrc= make.local
+SUBST_VARS.pkgsrc+= PREFIX PKGMANDIR
+SUBST_MESSAGE.pkgsrc= Replacing pkgsrc placeholders
+
+MAKE_FILE= make.local
+
+INSTALLATION_DIRS+= share/applications
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/xfind.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/xfind/PLIST
diff -u /dev/null pkgsrc/x11/xfind/PLIST:1.1
--- /dev/null Wed Aug 6 19:57:56 2025
+++ pkgsrc/x11/xfind/PLIST Wed Aug 6 19:57:56 2025
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2025/08/06 19:57:56 vins Exp $
+bin/xfind
+lib/X11/app-defaults/XFind
+man/man1/xfind.1
+share/applications/xfind.desktop
+share/pixmaps/xfind_48x48.xpm
Index: pkgsrc/x11/xfind/distinfo
diff -u /dev/null pkgsrc/x11/xfind/distinfo:1.1
--- /dev/null Wed Aug 6 19:57:56 2025
+++ pkgsrc/x11/xfind/distinfo Wed Aug 6 19:57:56 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/08/06 19:57:56 vins Exp $
+
+BLAKE2s (xfind-1.0/xfind-src.tar.xz) = 87694dee95129f6c7f4ba26536649c27ccf7060ff70c1c92bbb44b9ae23bd85e
+SHA512 (xfind-1.0/xfind-src.tar.xz) = c3d0ea4c25acb88276805abea9e870625447e2a9a63f670d91f1698e6cc0ba4d8619d0311c1abe37ceac9c6deb1668fd862e05bc7e2004359d5cf09d018c3802
+Size (xfind-1.0/xfind-src.tar.xz) = 15372 bytes
+SHA1 (patch-make.local) = 5a635b903f6e2a20e82454a0f0440c0c63ded0aa
Index: pkgsrc/x11/xfind/files/xfind.desktop
diff -u /dev/null pkgsrc/x11/xfind/files/xfind.desktop:1.1
--- /dev/null Wed Aug 6 19:57:56 2025
+++ pkgsrc/x11/xfind/files/xfind.desktop Wed Aug 6 19:57:56 2025
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=XFind
+GenericName=File search
+Comment=Search the file system
+Keywords=files;find;locate;lookup;search;
+Categories=X11;Utility;System;
+Exec=xfind %f
+Icon=xfind_48x48.xpm
+Terminal=false
+Type=Application
+MimeType=inode/directory;
+StartupWMClass=XFind
Index: pkgsrc/x11/xfind/patches/patch-make.local
diff -u /dev/null pkgsrc/x11/xfind/patches/patch-make.local:1.1
--- /dev/null Wed Aug 6 19:57:56 2025
+++ pkgsrc/x11/xfind/patches/patch-make.local Wed Aug 6 19:57:56 2025
@@ -0,0 +1,39 @@
+$NetBSD: patch-make.local,v 1.1 2025/08/06 19:57:56 vins Exp $
+
+Local makefile for pkgsrc.
+
+--- make.local.orig 2025-08-06 19:15:06.383429826 +0000
++++ make.local
+@@ -0,0 +1,32 @@
++# pkgsrc Makefile
++
++PREFIX = @PREFIX@
++BINDIR = $(PREFIX)/bin
++MANDIR = $(PREFIX)/@PKGMANDIR@
++
++PIXMAPDIR = $(PREFIX)/share/pixmaps
++APPLRESDIR = $(PREFIX)/lib/X11/app-defaults
++
++LIBS += -lc -lm -lXm -lXt -lX11
++
++src = xfind.c util.c
++objs = $(src:.c=.o)
++prog = xfind
++
++all: $(prog)
++
++$(prog): $(objs)
++ $(CC) -o $@ $(objs) $(LDFLAGS) $(LIBS)
++
++.c.o:
++ $(CC) -c -o $@ $(CFLAGS) $<
++
++install:
++ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(BINDIR)
++ $(BSD_INSTALL_PROGRAM) $(prog) $(DESTDIR)$(BINDIR)
++ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(MANDIR)/man1
++ $(BSD_INSTALL_MAN) $(prog).man $(DESTDIR)$(MANDIR)/man1/$(prog).1
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PIXMAPDIR) $(DESTDIR)$(APPLRESDIR)
++ $(BSD_INSTALL_DATA) xfind.xpm $(DESTDIR)$(PIXMAPDIR)/xfind_48x48.xpm
++ $(BSD_INSTALL_DATA) XFind.ad $(DESTDIR)$(APPLRESDIR)/XFind
++.PHONY: all install
Home |
Main Index |
Thread Index |
Old Index