aboutsummaryrefslogtreecommitdiff
path: root/lang/diveintopython/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-06-10 15:46:25 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-06-10 15:46:25 +0000
commit3d10e812b3cf0015e47a07e9050f4eeadeb7a168 (patch)
treeef890a271179f04fc18b38103499a0af1974ba57 /lang/diveintopython/Makefile
parentfe1fc7d1fae5fa96d7efc7fded066ba59a097fcb (diff)
downloadports-3d10e812b3cf0015e47a07e9050f4eeadeb7a168.tar.gz
ports-3d10e812b3cf0015e47a07e9050f4eeadeb7a168.zip
Notes
Diffstat (limited to 'lang/diveintopython/Makefile')
-rw-r--r--lang/diveintopython/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/diveintopython/Makefile b/lang/diveintopython/Makefile
index 25fd732022e8..621946da7c57 100644
--- a/lang/diveintopython/Makefile
+++ b/lang/diveintopython/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= diveintopython
-PORTVERSION= 3.3.1
+PORTVERSION= 3.4
CATEGORIES= lang python
MASTER_SITES= http://diveintopython.org/download/
DISTNAME= ${PORTNAME}
@@ -28,9 +28,7 @@ NO_BUILD= YES
DIPDIR= ${PREFIX}/share/doc/diveintopython
DIPDLDIR= ${DIPDIR}/download
CPIO= cpio --quiet -pdum -R
-# Is there a way of doing this without using a temporary variable?
-VERSIONTMP= ${PORTVERSION:S|.|-|g}
-VERSIONSTR= ${VERSIONTMP:S|-|.|}
+VERSIONSTR= ${PORTVERSION}-1
post-patch:
@ ${PERL} -pi.orig -e \