summaryrefslogtreecommitdiff
path: root/lang/python31/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2007-10-29 00:14:50 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2007-10-29 00:14:50 +0000
commit6e02f1db939e206766b572d490a63c5358ebdec1 (patch)
treec9a12599b36f43dd4d6635268f97f9a70d2ccecf /lang/python31/Makefile
parentDoes not work with Java 1.6. the JVMPI interface used by this port has (diff)
Add support for FreeBSD 8.
Obtained from: Python SVN (r58697, r58698)
Notes
Notes: svn path=/head/; revision=202249
Diffstat (limited to 'lang/python31/Makefile')
-rw-r--r--lang/python31/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 970afaecc195..05c2793052f5 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -6,6 +6,7 @@
PORTNAME= python25
PORTVERSION= 2.5.1
+PORTREVISION= 1
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -38,6 +39,9 @@ PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
DEMODIR= ${PREFIX}/share/examples/${PYTHON_VERSION}
TOOLSDIR= ${PREFIX}/share/${PYTHON_VERSION}
+PLATFORMS= plat-freebsd4 plat-freebsd5 plat-freebsd6 \
+ plat-freebsd7 plat-freebsd8
+
BIN_SCRIPTS= idle pydoc python python-shared smtpd.py python-config \
python-shared-config
BINLINKS_SUB= -e 's,smtpd,smtpd${PYTHON_VER},' \
@@ -116,14 +120,6 @@ CONFIGURE_ARGS+= --disable-ipv6
CONFIGURE_ARGS+= --with-fpectl
.endif
-.if ${OSVERSION} >= 700000
-PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd6
-.elif ${OSVERSION} >= 600000
-PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd7
-.else
-PLATFORMS=plat-freebsd4 plat-freebsd6 plat-freebsd7
-.endif
-
pre-patch:
${MKDIR} ${WRKSRC} ${SHARED_WRKSRC}/Modules
${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \