aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-sgrep
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-11-06 15:31:15 +0800
committerijliao <ijliao@FreeBSD.org>2003-11-06 15:31:15 +0800
commit3361da884d9316696ffa17acdd9a941fd3714c0a (patch)
tree5357f8482f9cf3a97ffa91a11f5318ef11c0c335 /textproc/py-sgrep
parent1cdc4a3fcef9ef74adf9b5b5a68b85b6ef2abe0d (diff)
downloadfreebsd-ports-gnome-3361da884d9316696ffa17acdd9a941fd3714c0a.tar.gz
freebsd-ports-gnome-3361da884d9316696ffa17acdd9a941fd3714c0a.tar.zst
freebsd-ports-gnome-3361da884d9316696ffa17acdd9a941fd3714c0a.zip
upgrade it to work with sgrep 1.92a
Diffstat (limited to 'textproc/py-sgrep')
-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