1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add pyfind 0.7.0, a file-find utilty for Gnome loosely modeled after similar

Windoze utilty.
This commit is contained in:
Maxim Sobolev 2001-04-05 09:37:44 +00:00
parent f79e81235a
commit 43dbf45af8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40869
7 changed files with 126 additions and 0 deletions

View File

@ -102,6 +102,7 @@
SUBDIR += pslist
SUBDIR += psmisc
SUBDIR += pwgen
SUBDIR += pyfind
SUBDIR += qtpkg
SUBDIR += rdate
SUBDIR += rotate

53
sysutils/pyfind/Makefile Normal file
View File

@ -0,0 +1,53 @@
# New ports collection makefile for: pyfind
# Date created: 5 April 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pyfind
PORTVERSION= 0.7.0
CATEGORIES= sysutils python gnome
MASTER_SITES= http://homepage.ntlworld.com/kinematics/downloads/
DISTNAME= ${PORTNAME:S/f/F/}-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
USE_PYTHON= yes
USE_X_PREFIX= yes
BINDIR= ${PREFIX}/bin
GNOMEBASE= ${PREFIX}/share/gnome
ICONDIR= ${GNOMEBASE}/pixmaps
MYCONFDIR= ${PREFIX}/etc/gnome/config/pyFind
MYDATADIR= ${GNOMEBASE}/pyFind
MYDOCDIR= ${PREFIX}/share/doc/pyFind
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
${MKDIR} ${MYCONFDIR}
${MKDIR} ${MYDOCDIR}
${MKDIR} ${MYDATADIR}/glade
${MKDIR} ${MYDATADIR}/pixmaps
${MKDIR} ${MYDATADIR}/pyFind
${INSTALL_SCRIPT} ${WRKSRC}/pyfind ${MYDATADIR}
${INSTALL_DATA} ${WRKSRC}/glade/*.glade ${MYDATADIR}/glade
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${MYDATADIR}/pixmaps
${INSTALL_DATA} ${WRKSRC}/pixmaps/pyfind_icon.png ${ICONDIR}
.for suf in py pyc pyo
${INSTALL_DATA} ${WRKSRC}/pyFind/*.${suf} ${MYDATADIR}/pyFind
.endfor
${INSTALL_DATA} ${WRKSRC}/pyfind.desktop ${GNOMEBASE}/apps/Development
${INSTALL_MAN} ${WRKSRC}/doc/* ${MYDOCDIR}
@printf "#!/bin/sh\n${PYTHON_CMD} ${MYDATADIR}/pyfind" > \
${WRKDIR}/pyfind.sh
${INSTALL_SCRIPT} ${WRKDIR}/pyfind.sh ${PREFIX}/bin/pyfind
.include <bsd.port.mk>

1
sysutils/pyfind/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (pyFind-0.7.0.tar.gz) = f189e7f2609d19a09ee574336770cb67

View File

@ -0,0 +1,27 @@
$FreeBSD$
--- pyFind/match_files.py.orig Sat Mar 31 01:48:01 2001
+++ pyFind/match_files.py Thu Apr 5 12:25:04 2001
@@ -97,6 +97,10 @@
#pclsApp.clstFiles.freeze()
pclsApp.apbMain.set_progress(iProgress)
+ #search mounted volumes?
+ if not pbSearchMounted:
+ psSearchPath = '-x ' + psSearchPath
+
#case sensitive file name search
if pbCaseSensitive:
sParam = ' -name "' #yes
@@ -126,10 +130,6 @@
#output to command line
sFindCmd = sFindCmd + ' -print'
- #search mounted volumes?
- if not pbSearchMounted:
- sFindCmd = sFindCmd + ' -mount'
-
#search contents?
if pbSearchContents:
#case-sensitive contents

View File

@ -0,0 +1 @@
A file-find utilty for Gnome loosely modeled after the Windoze utilty

View File

@ -0,0 +1,4 @@
pyFind is a simple file-find utilty for Gnome. It's loosely based on the
Windoze file-find utilty.
WWW: http://homepage.ntlworld.com/kinematics/pyfind.html

39
sysutils/pyfind/pkg-plist Normal file
View File

@ -0,0 +1,39 @@
bin/pyfind
share/doc/pyFind/CHANGELOG
share/doc/pyFind/COPYING
share/doc/pyFind/INSTALL
share/doc/pyFind/README
share/doc/pyFind/TODO
share/gnome/apps/Development/pyfind.desktop
share/gnome/pixmaps/pyfind_icon.png
share/gnome/pyFind/glade/pyfind.glade
share/gnome/pyFind/pixmaps/pyFind3.png
share/gnome/pyFind/pixmaps/pyfind_icon.png
share/gnome/pyFind/pyFind/LoadGlade.py
share/gnome/pyFind/pyFind/LoadGlade.pyc
share/gnome/pyFind/pyFind/LoadGlade.pyo
share/gnome/pyFind/pyFind/__init__.py
share/gnome/pyFind/pyFind/__init__.pyc
share/gnome/pyFind/pyFind/__init__.pyo
share/gnome/pyFind/pyFind/appMain.py
share/gnome/pyFind/pyFind/appMain.pyc
share/gnome/pyFind/pyFind/appMain.pyo
share/gnome/pyFind/pyFind/config.py
share/gnome/pyFind/pyFind/config.pyc
share/gnome/pyFind/pyFind/config.pyo
share/gnome/pyFind/pyFind/dlgPreferences.py
share/gnome/pyFind/pyFind/dlgPreferences.pyc
share/gnome/pyFind/pyFind/dlgPreferences.pyo
share/gnome/pyFind/pyFind/match_files.py
share/gnome/pyFind/pyFind/match_files.pyc
share/gnome/pyFind/pyFind/match_files.pyo
share/gnome/pyFind/pyFind/pathinfo.py
share/gnome/pyFind/pyFind/pathinfo.pyc
share/gnome/pyFind/pyFind/pathinfo.pyo
share/gnome/pyFind/pyfind
@dirrm share/gnome/pyFind/pyFind
@dirrm share/gnome/pyFind/pixmaps
@dirrm share/gnome/pyFind/glade
@dirrm share/gnome/pyFind
@dirrm share/doc/pyFind
@dirrm etc/gnome/config/pyFind