diff options
author | wjv <wjv@FreeBSD.org> | 2001-09-06 22:57:41 +0800 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2001-09-06 22:57:41 +0800 |
commit | 3ddf454839f1765e0fb7403c75f8d9352b722488 (patch) | |
tree | c489c3c330e914f4ffedc04d9d3413babe1d6b83 /lang/diveintopython/Makefile | |
parent | 6c80b19526281e99d723e9f8e12b8ea12ee90954 (diff) | |
download | freebsd-ports-gnome-3ddf454839f1765e0fb7403c75f8d9352b722488.tar.gz freebsd-ports-gnome-3ddf454839f1765e0fb7403c75f8d9352b722488.tar.zst freebsd-ports-gnome-3ddf454839f1765e0fb7403c75f8d9352b722488.zip |
- Update to version 3.6.3
Diffstat (limited to 'lang/diveintopython/Makefile')
-rw-r--r-- | lang/diveintopython/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/diveintopython/Makefile b/lang/diveintopython/Makefile index bbac0f832caf..8f344bbcfe36 100644 --- a/lang/diveintopython/Makefile +++ b/lang/diveintopython/Makefile @@ -6,7 +6,7 @@ # PORTNAME= diveintopython -PORTVERSION= 3.6 +PORTVERSION= 3.6.3 CATEGORIES= lang python MASTER_SITES= http://diveintopython.org/download/ DISTNAME= ${PORTNAME} @@ -25,12 +25,12 @@ USE_ZIP= YES WRKSRC= ${WRKDIR}/html DIPDLDIR= ${DOCSDIR}/download CPIO= cpio --quiet -pdum -R -VERSIONSTR= ${PORTVERSION}-1 +VERSIONSTR= ${PORTVERSION:C|\.([^.]*)$|-\1|} post-patch: @ ${PERL} -pi.orig -e \ 's#<tr[^>]*>(.(?!<tr[^>]*>))*(Microsoft|Windows)(.(?!</tr>))*.</tr>##g; \ - s#<td>(.(?!<td>))*(cn/|fr/[a-z]*\.html)(.(?!</td>))*.</td>##g' \ + s#<td>(.(?!<td>))*/(cn/|fr/[^"]|kr/)(.(?!</td>))*.</td>##g' \ ${WRKSRC}/index.html @ ${PERL} -pi -e \ 's#http[^>]*(download/${PORTNAME}-examples-${VERSIONSTR}.zip)#$$1#' \ |