summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-06-13 18:49:51 +0000
committerijliao <ijliao@FreeBSD.org>2001-06-13 18:49:51 +0000
commitdf2040fb0d8725037ffe58a4ab9a85fac7f30232 (patch)
tree69ae576ced31ed1da8fb4c804e234a0c35cad225
parent8c89de6c828b543a462d2ea1a465aec996d9d77d (diff)
downloadFreeBSD-ports-df2040fb0d8725037ffe58a4ab9a85fac7f30232.zip
FreeBSD-ports-df2040fb0d8725037ffe58a4ab9a85fac7f30232.tar.gz
add py-sgrep
Python wrappers for Sgrep
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-sgrep/Makefile27
-rw-r--r--textproc/py-sgrep/distinfo1
-rw-r--r--textproc/py-sgrep/pkg-comment1
-rw-r--r--textproc/py-sgrep/pkg-descr4
-rw-r--r--textproc/py-sgrep/pkg-plist1
6 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 49cd938..ed8a6ba 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -140,6 +140,7 @@
SUBDIR += py-csv
SUBDIR += py-expat
SUBDIR += py-martel
+ SUBDIR += py-sgrep
SUBDIR += py-trex
SUBDIR += py-xml
SUBDIR += rand
diff --git a/textproc/py-sgrep/Makefile b/textproc/py-sgrep/Makefile
new file mode 100644
index 0000000..9e10b0d
--- /dev/null
+++ b/textproc/py-sgrep/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# New ports collection makefile for: py-sgrep
+# Date created: Jun 14, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= sgrep
+PORTVERSION= 1.0a
+CATEGORIES= textproc python
+MASTER_SITES= http://www.rexx.com/~dkuhlman/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pysgrep-${PORTVERSION}
+
+MAINTAINER= ijliao@freebsd.org
+
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+
+do-build:
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build)
+
+do-install:
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install)
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sgrep/distinfo b/textproc/py-sgrep/distinfo
new file mode 100644
index 0000000..c603d11
--- /dev/null
+++ b/textproc/py-sgrep/distinfo
@@ -0,0 +1 @@
+MD5 (pysgrep-1.0a.tar.gz) = 106f1321b8e38d0cfbe7199870ff17a9
diff --git a/textproc/py-sgrep/pkg-comment b/textproc/py-sgrep/pkg-comment
new file mode 100644
index 0000000..8fac595
--- /dev/null
+++ b/textproc/py-sgrep/pkg-comment
@@ -0,0 +1 @@
+Python wrappers for Sgrep
diff --git a/textproc/py-sgrep/pkg-descr b/textproc/py-sgrep/pkg-descr
new file mode 100644
index 0000000..9464bde
--- /dev/null
+++ b/textproc/py-sgrep/pkg-descr
@@ -0,0 +1,4 @@
+PySgrep is a Python extension module that enables Python code to call and
+control the functionality in Sgrep.
+
+WWW: http://www.rexx.com/~dkuhlman/pysgrep.html
diff --git a/textproc/py-sgrep/pkg-plist b/textproc/py-sgrep/pkg-plist
new file mode 100644
index 0000000..735dfee
--- /dev/null
+++ b/textproc/py-sgrep/pkg-plist
@@ -0,0 +1 @@
+lib/%%PYTHON_VERSION%%/site-packages/sgreplib.so
OpenPOWER on IntegriCloud