summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-06 07:31:15 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-06 07:31:15 +0000
commita8472a80c0e959111e50f29a549880ed9b56ea29 (patch)
tree715ad56595abf288da6b4dac6dce1d59c85544e9 /textproc
parentchange RUN_DEPENDS openoffice-devel -> openoffice-1.1 (diff)
upgrade it to work with sgrep 1.92a
Notes
Notes: svn path=/head/; revision=93217
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-sgrep/Makefile17
-rw-r--r--textproc/py-sgrep/distinfo3
-rw-r--r--textproc/py-sgrep/pkg-plist2
3 files changed, 15 insertions, 7 deletions
diff --git a/textproc/py-sgrep/Makefile b/textproc/py-sgrep/Makefile
index a2836dcab3bc..3f6c44696001 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 c603d1170001..1054fa69ef49 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 735dfee319eb..085ccbf5dd86 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