diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-11-06 07:31:15 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-11-06 07:31:15 +0000 |
commit | 3361da884d9316696ffa17acdd9a941fd3714c0a (patch) | |
tree | 5357f8482f9cf3a97ffa91a11f5318ef11c0c335 | |
parent | 1cdc4a3fcef9ef74adf9b5b5a68b85b6ef2abe0d (diff) | |
download | FreeBSD-ports-3361da884d9316696ffa17acdd9a941fd3714c0a.zip FreeBSD-ports-3361da884d9316696ffa17acdd9a941fd3714c0a.tar.gz |
upgrade it to work with sgrep 1.92a
-rw-r--r-- | textproc/py-sgrep/Makefile | 17 | ||||
-rw-r--r-- | textproc/py-sgrep/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-sgrep/pkg-plist | 2 |
3 files changed, 15 insertions, 7 deletions
diff --git a/textproc/py-sgrep/Makefile b/textproc/py-sgrep/Makefile index a2836dc..3f6c446 100644 --- a/textproc/py-sgrep/Makefile +++ b/textproc/py-sgrep/Makefile @@ -7,17 +7,24 @@ # PORTNAME= sgrep -PORTVERSION= 1.0a +PORTVERSION= ${SGREP_VER} # dont know ver, so I decide to choose sgrep ver CATEGORIES= textproc python -MASTER_SITES= http://www.rexx.com/~dkuhlman/ +MASTER_SITES= http://www.rexx.com/~dkuhlman/ \ + ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= pysgrep-${PORTVERSION} +DISTFILES= pysgrep.tar.gz sgrep-${SGREP_VER}.tar.gz +EXTRACT_ONLY= sgrep-1.92a.tar.gz -MAINTAINER= ijliao@freebsd.org +MAINTAINER= ports@FreeBSD.org COMMENT= Python wrappers for Sgrep +SGREP_VER= 1.92a +WRKSRC= ${WRKDIR}/sgrep-${SGREP_VER} +GNU_CONFIGURE= yes USE_PYTHON= yes USE_PYDISTUTILS= yes -GNU_CONFIGURE= yes + +post-extract: + @${TAR} -zxf ${_DISTDIR}/pysgrep.tar.gz -C ${WRKSRC} .include <bsd.port.mk> diff --git a/textproc/py-sgrep/distinfo b/textproc/py-sgrep/distinfo index c603d11..1054fa6 100644 --- a/textproc/py-sgrep/distinfo +++ b/textproc/py-sgrep/distinfo @@ -1 +1,2 @@ -MD5 (pysgrep-1.0a.tar.gz) = 106f1321b8e38d0cfbe7199870ff17a9 +MD5 (pysgrep.tar.gz) = c8fdd7c8a5e2599a03ce334e68705463 +MD5 (sgrep-1.92a.tar.gz) = 99eb1ed515648f653fc7be45e0896378 diff --git a/textproc/py-sgrep/pkg-plist b/textproc/py-sgrep/pkg-plist index 735dfee..085ccbf 100644 --- a/textproc/py-sgrep/pkg-plist +++ b/textproc/py-sgrep/pkg-plist @@ -1 +1 @@ -lib/%%PYTHON_VERSION%%/site-packages/sgreplib.so +%%PYTHON_SITELIBDIR%%/sgreplib.so |