summaryrefslogtreecommitdiff
path: root/lang/python15
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-10-21 17:17:45 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-10-21 17:17:45 +0000
commitbdb7bf21678251344654ddc17e68d44bf0c48d85 (patch)
tree2c90c1b40b4943289c7b45599fd6760dcb04417e /lang/python15
parentUpdate to 20031022. (diff)
Don't use PYTHON_DISTFILE as well as PYTHON_WRKSRC on lang/python* ports
because it does not point the most recent version of each from ports/Mk/bsd.python.mk 1.38. Reported by: Andy Fawcett <andy@athame.co.uk>
Diffstat (limited to 'lang/python15')
-rw-r--r--lang/python15/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/python15/Makefile b/lang/python15/Makefile
index f43e8652a6df..6df1403efbeb 100644
--- a/lang/python15/Makefile
+++ b/lang/python15/Makefile
@@ -11,20 +11,21 @@ PORTREVISION= 3
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR= ${PYTHON_SITE_SUBDIR}
-DISTFILES= ${PYTHON_DISTFILE}
+DISTNAME= py${PORTVERSION:S/.//g}
+EXTRACT_SUFX= .tgz
MAINTAINER= perky@FreeBSD.org
COMMENT= An interpreted object-oriented programming language
DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5.2
+WRKSRC= ${WRKDIR}/Python-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= altinstall
PLIST= ${WRKDIR}/PLIST
MAN1= ${PYTHON_VERSION}.1
-LATEST_LINK= ${PYTHON_VERSION:S/.//}
+LATEST_LINK= ${PYTHON_VERSION:S/.//g}
USE_PYTHON= yes
PYTHON_VERSION= python1.5