diff --git a/textproc/Makefile b/textproc/Makefile index 49cd9389e8ce..ed8a6ba24ce7 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 000000000000..9e10b0dd8204 --- /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 diff --git a/textproc/py-sgrep/distinfo b/textproc/py-sgrep/distinfo new file mode 100644 index 000000000000..c603d1170001 --- /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 000000000000..8fac595b1b68 --- /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 000000000000..9464bde3f600 --- /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 000000000000..735dfee319eb --- /dev/null +++ b/textproc/py-sgrep/pkg-plist @@ -0,0 +1 @@ +lib/%%PYTHON_VERSION%%/site-packages/sgreplib.so