diff options
Diffstat (limited to 'lang/diveintopython/Makefile')
-rw-r--r-- | lang/diveintopython/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/diveintopython/Makefile b/lang/diveintopython/Makefile index 99b44f02e4f2..f797d9d18b2e 100644 --- a/lang/diveintopython/Makefile +++ b/lang/diveintopython/Makefile @@ -6,7 +6,7 @@ # PORTNAME= diveintopython -PORTVERSION= 3.6.4 +PORTVERSION= 3.7.1 CATEGORIES= lang python MASTER_SITES= http://diveintopython.org/download/ DISTNAME= ${PORTNAME} @@ -30,7 +30,7 @@ VERSIONSTR= ${PORTVERSION:C|\.([^.]*)$|-\1|} post-patch: @ ${PERL} -pi.orig -e \ 's#<tr[^>]*>(.(?!<tr[^>]*>))*(Microsoft|Windows)(.(?!</tr>))*.</tr>##g; \ - s#<td>(.(?!<td>))*/(cn/|fr/[^"]|kr/)(.(?!</td>))*.</td>##g' \ + s#<td>(.(?!<td>))*/(cn/|(es|fr)/[^"]|kr/)(.(?!</td>))*.</td>##g' \ ${WRKSRC}/index.html @ ${PERL} -pi -e \ 's#http[^>]*(download/${PORTNAME}-examples-${VERSIONSTR}.zip)#$$1#' \ |