1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- Support IPv6.

- remove DIST_SUBDIR since there are 2 distfiles on this port anymore.

Reviewed by:	tg(maintainer)
This commit is contained in:
Munechika SUMIKAWA 2000-01-13 13:28:10 +00:00
parent 38b1a6fd25
commit 66082ac2d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24697
46 changed files with 301 additions and 45 deletions

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -0,0 +1 @@
share/doc/python/README.v6

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h

View File

@ -13,14 +13,22 @@ MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
EXTRACT_SUFX= .tgz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4'
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
@ -54,6 +62,7 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@ -75,6 +84,9 @@ WITH_TOOLS?= yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
.endif
.if defined(USE_INET6)
PLIST_V6= ${PKGDIR}/PLIST.v6
.endif
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
@ -101,7 +113,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@ -114,5 +126,8 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
.if defined(USE_INET6)
${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1,2 @@
MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
MD5 (python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f

View File

@ -4,6 +4,7 @@ share/doc/python/COPYRIGHT
share/emacs/site-lisp/python-mode.el
include/python1.5/Python.h
include/python1.5/abstract.h
include/python1.5/addrinfo.h
include/python1.5/bitset.h
include/python1.5/bufferobject.h
include/python1.5/cStringIO.h