aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-04-05 09:37:44 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-04-05 09:37:44 +0000
commit43dbf45af894f87b5c2335c04f565e2cb2ad882b (patch)
treeefc297d8d06604556cc94383babc4c05121a3131 /sysutils
parentf79e81235aeb8c73c250749cc837dcff21c65f25 (diff)
downloadports-43dbf45af894f87b5c2335c04f565e2cb2ad882b.tar.gz
ports-43dbf45af894f87b5c2335c04f565e2cb2ad882b.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/pyfind/Makefile53
-rw-r--r--sysutils/pyfind/distinfo1
-rw-r--r--sysutils/pyfind/files/patch-pyFind::match_files.py27
-rw-r--r--sysutils/pyfind/pkg-comment1
-rw-r--r--sysutils/pyfind/pkg-descr4
-rw-r--r--sysutils/pyfind/pkg-plist39
7 files changed, 126 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index b84179f06de6..cb613946c43c 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -102,6 +102,7 @@
SUBDIR += pslist
SUBDIR += psmisc
SUBDIR += pwgen
+ SUBDIR += pyfind
SUBDIR += qtpkg
SUBDIR += rdate
SUBDIR += rotate
diff --git a/sysutils/pyfind/Makefile b/sysutils/pyfind/Makefile
new file mode 100644
index 000000000000..0433e9ce385e
--- /dev/null
+++ b/sysutils/pyfind/Makefile
@@ -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>
diff --git a/sysutils/pyfind/distinfo b/sysutils/pyfind/distinfo
new file mode 100644
index 000000000000..5e22d6be37b2
--- /dev/null
+++ b/sysutils/pyfind/distinfo
@@ -0,0 +1 @@
+MD5 (pyFind-0.7.0.tar.gz) = f189e7f2609d19a09ee574336770cb67
diff --git a/sysutils/pyfind/files/patch-pyFind::match_files.py b/sysutils/pyfind/files/patch-pyFind::match_files.py
new file mode 100644
index 000000000000..62442b7f73ee
--- /dev/null
+++ b/sysutils/pyfind/files/patch-pyFind::match_files.py
@@ -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
diff --git a/sysutils/pyfind/pkg-comment b/sysutils/pyfind/pkg-comment
new file mode 100644
index 000000000000..57c0e2d76659
--- /dev/null
+++ b/sysutils/pyfind/pkg-comment
@@ -0,0 +1 @@
+A file-find utilty for Gnome loosely modeled after the Windoze utilty
diff --git a/sysutils/pyfind/pkg-descr b/sysutils/pyfind/pkg-descr
new file mode 100644
index 000000000000..599fe61cf6af
--- /dev/null
+++ b/sysutils/pyfind/pkg-descr
@@ -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
diff --git a/sysutils/pyfind/pkg-plist b/sysutils/pyfind/pkg-plist
new file mode 100644
index 000000000000..6d27b773d73f
--- /dev/null
+++ b/sysutils/pyfind/pkg-plist
@@ -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