diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1998-05-07 08:22:13 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1998-05-07 08:22:13 +0000 |
commit | 82deb06f149e88df99a78938cc7aeb0679cf298a (patch) | |
tree | 065735930736735ae41a149607226a7b95a3cbad /lang/python23/Makefile | |
parent | 36e4ff9e75efc95becabcb02d5936639da324eb1 (diff) | |
download | ports-82deb06f149e88df99a78938cc7aeb0679cf298a.tar.gz ports-82deb06f149e88df99a78938cc7aeb0679cf298a.zip |
Notes
Diffstat (limited to 'lang/python23/Makefile')
-rw-r--r-- | lang/python23/Makefile | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile index d80ca7071ec3..2888f6dd650d 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -3,7 +3,7 @@ # Date created: 08 August 1995 # Whom: jkh # -# $Id: Makefile,v 1.28 1998/04/29 07:15:39 tg Exp $ +# $Id: Makefile,v 1.29 1998/05/05 08:53:27 tg Exp $ # DISTNAME= pyth151 @@ -16,8 +16,8 @@ EXTRACT_SUFX= .tgz PATCH_SITES= http://www.python.org/1.5/patches-1.5.1/ PATCHFILES= _tkinter.1.txt bltinmodule.1.txt configure.2.txt \ fileobject.1.txt freeze.1.txt imaplib.1.txt object.1.txt \ - parsermodule.1.txt pcre.1.txt string.1.txt timemodule.1.txt \ - urllib.1.txt zlibmodule.1.txt + parsermodule.1.txt pcre.1.txt sgmllib.1.txt string.1.txt \ + timemodule.1.txt urllib.1.txt urllib.2.txt zlibmodule.1.txt MAINTAINER= tg@FreeBSD.org @@ -66,13 +66,33 @@ CONFIGURE_ENV= LDFLAGS="-pthread ${LDFLAGS}" SETUP_LOCAL+= Setup.gmp .endif +post-extract: + cd ${WRKSRC}/Lib; ${SH} ${FILESDIR}/plat-freebsd2.sh; \ + ${SH} ${FILESDIR}/plat-freebsd3.sh + post-configure: ${CP} ${FILESDIR}/${SETUP_FILE} ${WRKSRC}/Modules/Setup .for file in ${SETUP_LOCAL} ${CAT} ${FILESDIR}/${file} >> ${WRKSRC}/Modules/Setup.local .endfor +OSVERSION!= sysctl -n kern.osreldate + +pre-install: +.if ${OSVERSION} < 300000 + ${MKDIR} ${PREFIX}/lib/python1.5/plat-freebsd3 + ${INSTALL_DATA} ${WRKSRC}/Lib/plat-freebsd3/* ${PREFIX}/lib/python1.5/plat-freebsd3 +.else + ${MKDIR} ${PREFIX}/lib/python1.5/plat-freebsd2 + ${INSTALL_DATA} ${WRKSRC}/Lib/plat-freebsd2/* ${PREFIX}/lib/python1.5/plat-freebsd2 +.endif + post-install: +.if ${OSVERSION} < 300000 + ${INSTALL_SCRIPT} ${PREFIX}/lib/python1.5/plat-freebsd2/regen ${PREFIX}/lib/python1.5/plat-freebsd3 +.else + ${INSTALL_SCRIPT} ${PREFIX}/lib/python1.5/plat-freebsd3/regen ${PREFIX}/lib/python1.5/plat-freebsd2 +.endif strip ${PREFIX}/bin/python .include <bsd.port.mk> |