diff options
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#' \ |