head	1.180;
access;
symbols
	RELEASE_8_3_0:1.176
	RELEASE_9_0_0:1.176
	RELEASE_7_4_0:1.171
	RELEASE_8_2_0:1.171
	RELEASE_6_EOL:1.171
	RELEASE_8_1_0:1.170
	RELEASE_7_3_0:1.170
	RELEASE_8_0_0:1.169
	RELEASE_7_2_0:1.166
	RELEASE_7_1_0:1.165
	RELEASE_6_4_0:1.165
	RELEASE_5_EOL:1.163
	RELEASE_7_0_0:1.159
	RELEASE_6_3_0:1.159
	PRE_XORG_7:1.156
	RELEASE_4_EOL:1.155
	RELEASE_6_2_0:1.155
	old_RELEASE_6_1_0:1.149
	old_RELEASE_5_5_0:1.149
	old_RELEASE_6_0_0:1.147
	old_RELEASE_5_4_0:1.140
	old_RELEASE_4_11_0:1.139
	old_RELEASE_5_3_0:1.136
	old_RELEASE_4_10_0:1.128
	old_RELEASE_5_2_1:1.115
	old_RELEASE_5_2_0:1.115
	old_RELEASE_4_9_0:1.103
	old_RELEASE_5_1_0:1.95
	old_RELEASE_4_8_0:1.95
	old_RELEASE_5_0_0:1.94
	old_RELEASE_4_7_0:1.89
	old_RELEASE_4_6_2:1.88
	old_RELEASE_4_6_1:1.88
	old_RELEASE_4_6_0:1.88
	old_RELEASE_5_0_DP1:1.83
	old_RELEASE_4_5_0:1.83
	old_RELEASE_4_4_0:1.78
	old_RELEASE_4_3_0:1.76
	old_RELEASE_4_2_0:1.72
	old_RELEASE_4_1_1:1.68
	old_RELEASE_4_1_0:1.65
	old_RELEASE_3_5_0:1.65
	old_RELEASE_4_0_0:1.61
	old_RELEASE_3_4_0:1.55
	old_RELEASE_3_3_0:1.53
	old_RELEASE_3_2_0:1.48
	old_RELEASE_3_1_0:1.42
	old_RELEASE_2_2_8:1.41
	old_RELEASE_3_0_0:1.40
	old_RELEASE_2_2_7:1.35
	old_RELEASE_2_2_6:1.23
	old_RELEASE_2_2_5:1.17
	old_RELEASE_2_2_1:1.12
	old_RELEASE_2_2_2:1.14
	old_python1_2:1.1.1.1
	old_python:1.1.1;
locks; strict;
comment	@# @;


1.180
date	2012.07.16.17.04.29;	author rm;	state dead;
branches;
next	1.179;

1.179
date	2012.06.20.22.35.14;	author mva;	state Exp;
branches;
next	1.178;

1.178
date	2012.06.19.17.48.41;	author mva;	state Exp;
branches;
next	1.177;

1.177
date	2012.05.30.10.15.59;	author miwi;	state Exp;
branches;
next	1.176;

1.176
date	2011.11.05.13.18.25;	author sunpoet;	state Exp;
branches;
next	1.175;

1.175
date	2011.10.28.10.42.22;	author beat;	state Exp;
branches;
next	1.174;

1.174
date	2011.09.25.15.05.17;	author lwhsu;	state Exp;
branches;
next	1.173;

1.173
date	2011.09.23.22.23.45;	author amdmi3;	state Exp;
branches;
next	1.172;

1.172
date	2011.09.18.08.33.14;	author crees;	state Exp;
branches;
next	1.171;

1.171
date	2010.07.19.21.59.26;	author jkim;	state Exp;
branches;
next	1.170;

1.170
date	2009.11.26.14.04.19;	author miwi;	state Exp;
branches;
next	1.169;

1.169
date	2009.07.14.09.29.02;	author lwhsu;	state Exp;
branches;
next	1.168;

1.168
date	2009.07.12.17.16.16;	author lwhsu;	state Exp;
branches;
next	1.167;

1.167
date	2009.06.08.22.30.49;	author miwi;	state Exp;
branches;
next	1.166;

1.166
date	2009.02.27.01.25.31;	author sobomax;	state Exp;
branches;
next	1.165;

1.165
date	2008.09.11.08.05.23;	author miwi;	state Exp;
branches;
next	1.164;

1.164
date	2008.08.21.06.17.31;	author rafan;	state Exp;
branches;
next	1.163;

1.163
date	2008.04.30.11.20.29;	author miwi;	state Exp;
branches;
next	1.162;

1.162
date	2008.04.28.07.39.59;	author miwi;	state Exp;
branches;
next	1.161;

1.161
date	2008.04.19.17.51.33;	author miwi;	state Exp;
branches;
next	1.160;

1.160
date	2008.03.16.10.25.07;	author perky;	state Exp;
branches;
next	1.159;

1.159
date	2007.10.29.00.10.40;	author perky;	state Exp;
branches;
next	1.158;

1.158
date	2007.10.03.23.22.03;	author edwin;	state Exp;
branches;
next	1.157;

1.157
date	2007.07.30.09.41.36;	author alexbl;	state Exp;
branches;
next	1.156;

1.156
date	2007.02.14.06.07.29;	author delphij;	state Exp;
branches;
next	1.155;

1.155
date	2006.10.13.07.16.44;	author perky;	state Exp;
branches;
next	1.154;

1.154
date	2006.10.09.14.29.17;	author perky;	state Exp;
branches;
next	1.153;

1.153
date	2006.10.08.06.48.00;	author simon;	state Exp;
branches;
next	1.152;

1.152
date	2006.05.14.01.17.03;	author edwin;	state Exp;
branches;
next	1.151;

1.151
date	2006.05.09.20.52.19;	author edwin;	state Exp;
branches;
next	1.150;

1.150
date	2006.03.30.09.40.12;	author perky;	state Exp;
branches;
next	1.149;

1.149
date	2005.11.02.13.40.51;	author perky;	state Exp;
branches;
next	1.148;

1.148
date	2005.10.02.14.31.39;	author perky;	state Exp;
branches;
next	1.147;

1.147
date	2005.07.28.06.23.56;	author perky;	state Exp;
branches;
next	1.146;

1.146
date	2005.07.18.12.44.08;	author perky;	state Exp;
branches;
next	1.145;

1.145
date	2005.06.19.11.34.56;	author perky;	state Exp;
branches;
next	1.144;

1.144
date	2005.05.12.01.49.54;	author perky;	state Exp;
branches;
next	1.143;

1.143
date	2005.04.12.03.25.52;	author obrien;	state Exp;
branches;
next	1.142;

1.142
date	2005.04.11.08.02.55;	author obrien;	state Exp;
branches;
next	1.141;

1.141
date	2005.04.03.13.55.44;	author perky;	state Exp;
branches;
next	1.140;

1.140
date	2005.02.04.04.13.41;	author perky;	state Exp;
branches;
next	1.139;

1.139
date	2004.12.06.05.28.34;	author perky;	state Exp;
branches;
next	1.138;

1.138
date	2004.12.01.15.04.05;	author perky;	state Exp;
branches;
next	1.137;

1.137
date	2004.11.15.05.19.28;	author sf;	state Exp;
branches;
next	1.136;

1.136
date	2004.08.21.11.13.41;	author perky;	state Exp;
branches;
next	1.135;

1.135
date	2004.08.20.23.56.15;	author perky;	state Exp;
branches;
next	1.134;

1.134
date	2004.08.07.07.00.17;	author perky;	state Exp;
branches;
next	1.133;

1.133
date	2004.07.10.01.53.37;	author perky;	state Exp;
branches;
next	1.132;

1.132
date	2004.07.09.17.17.59;	author perky;	state Exp;
branches;
next	1.131;

1.131
date	2004.06.28.06.02.39;	author perky;	state Exp;
branches;
next	1.130;

1.130
date	2004.05.27.15.58.02;	author perky;	state Exp;
branches;
next	1.129;

1.129
date	2004.05.07.05.39.32;	author perky;	state Exp;
branches;
next	1.128;

1.128
date	2004.04.18.11.42.37;	author perky;	state Exp;
branches;
next	1.127;

1.127
date	2004.04.14.06.49.21;	author perky;	state Exp;
branches;
next	1.126;

1.126
date	2004.03.22.08.59.52;	author perky;	state Exp;
branches;
next	1.125;

1.125
date	2004.03.18.07.00.07;	author perky;	state Exp;
branches;
next	1.124;

1.124
date	2004.03.11.15.55.38;	author perky;	state Exp;
branches;
next	1.123;

1.123
date	2004.03.09.02.24.31;	author perky;	state Exp;
branches;
next	1.122;

1.122
date	2004.03.08.12.43.10;	author perky;	state Exp;
branches;
next	1.121;

1.121
date	2004.02.27.13.00.06;	author perky;	state Exp;
branches;
next	1.120;

1.120
date	2004.02.24.08.19.54;	author perky;	state Exp;
branches;
next	1.119;

1.119
date	2004.02.16.19.03.00;	author marcel;	state Exp;
branches;
next	1.118;

1.118
date	2004.02.09.09.54.07;	author perky;	state Exp;
branches;
next	1.117;

1.117
date	2003.12.28.13.55.06;	author perky;	state Exp;
branches;
next	1.116;

1.116
date	2003.12.20.07.13.42;	author perky;	state Exp;
branches;
next	1.115;

1.115
date	2003.11.21.03.15.02;	author perky;	state Exp;
branches;
next	1.114;

1.114
date	2003.11.04.18.00.35;	author perky;	state Exp;
branches;
next	1.113;

1.113
date	2003.10.29.21.31.11;	author perky;	state Exp;
branches;
next	1.112;

1.112
date	2003.10.29.20.52.32;	author sobomax;	state Exp;
branches;
next	1.111;

1.111
date	2003.10.21.17.17.44;	author perky;	state Exp;
branches;
next	1.110;

1.110
date	2003.10.19.09.17.44;	author perky;	state Exp;
branches;
next	1.109;

1.109
date	2003.10.16.05.36.05;	author perky;	state Exp;
branches;
next	1.108;

1.108
date	2003.10.04.05.17.10;	author perky;	state Exp;
branches;
next	1.107;

1.107
date	2003.09.29.11.44.32;	author perky;	state Exp;
branches;
next	1.106;

1.106
date	2003.09.26.16.44.13;	author perky;	state Exp;
branches;
next	1.105;

1.105
date	2003.09.26.04.24.56;	author perky;	state Exp;
branches;
next	1.104;

1.104
date	2003.09.24.11.07.21;	author perky;	state Exp;
branches;
next	1.103;

1.103
date	2003.08.22.05.31.45;	author perky;	state Exp;
branches;
next	1.102;

1.102
date	2003.07.31.19.34.53;	author perky;	state Exp;
branches;
next	1.101;

1.101
date	2003.07.09.07.40.56;	author perky;	state Exp;
branches;
next	1.100;

1.100
date	2003.07.04.11.57.53;	author perky;	state Exp;
branches;
next	1.99;

1.99
date	2003.06.09.05.42.03;	author perky;	state Exp;
branches;
next	1.98;

1.98
date	2003.06.08.21.13.47;	author will;	state Exp;
branches;
next	1.97;

1.97
date	2003.06.08.21.06.18;	author will;	state Exp;
branches;
next	1.96;

1.96
date	2003.06.04.08.36.48;	author perky;	state Exp;
branches;
next	1.95;

1.95
date	2003.03.06.19.23.14;	author ade;	state Exp;
branches;
next	1.94;

1.94
date	2002.11.21.17.07.28;	author alane;	state Exp;
branches;
next	1.93;

1.93
date	2002.11.21.16.14.09;	author alane;	state Exp;
branches;
next	1.92;

1.92
date	2002.11.21.15.32.09;	author alane;	state Exp;
branches;
next	1.91;

1.91
date	2002.11.15.17.12.56;	author alane;	state Exp;
branches;
next	1.90;

1.90
date	2002.10.17.11.14.17;	author perky;	state Exp;
branches;
next	1.89;

1.89
date	2002.06.14.11.19.13;	author tg;	state Exp;
branches;
next	1.88;

1.88
date	2002.05.16.12.07.26;	author tg;	state Exp;
branches;
next	1.87;

1.87
date	2002.04.12.10.34.54;	author tg;	state Exp;
branches;
next	1.86;

1.86
date	2002.04.12.10.33.42;	author tg;	state Exp;
branches;
next	1.85;

1.85
date	2002.04.02.12.03.39;	author tg;	state Exp;
branches;
next	1.84;

1.84
date	2002.04.02.11.55.20;	author tg;	state Exp;
branches;
next	1.83;

1.83
date	2002.01.16.12.22.20;	author tg;	state Exp;
branches;
next	1.82;

1.82
date	2002.01.07.13.26.47;	author tg;	state Exp;
branches;
next	1.81;

1.81
date	2001.11.20.13.23.48;	author tg;	state Exp;
branches;
next	1.80;

1.80
date	2001.10.19.11.16.55;	author tg;	state Exp;
branches;
next	1.79;

1.79
date	2001.09.25.11.39.45;	author tg;	state Exp;
branches;
next	1.78;

1.78
date	2001.07.25.11.11.25;	author tg;	state Exp;
branches;
next	1.77;

1.77
date	2001.05.02.11.25.01;	author tg;	state Exp;
branches;
next	1.76;

1.76
date	2001.03.29.16.34.10;	author sobomax;	state Exp;
branches;
next	1.75;

1.75
date	2001.03.29.08.13.31;	author sobomax;	state Exp;
branches;
next	1.74;

1.74
date	2000.12.07.12.06.30;	author tg;	state Exp;
branches;
next	1.73;

1.73
date	2000.11.29.12.35.31;	author tg;	state Exp;
branches;
next	1.72;

1.72
date	2000.11.13.13.22.34;	author tg;	state Exp;
branches;
next	1.71;

1.71
date	2000.10.18.11.58.44;	author tg;	state Exp;
branches;
next	1.70;

1.70
date	2000.10.08.02.21.24;	author asami;	state Exp;
branches;
next	1.69;

1.69
date	2000.09.28.11.28.11;	author tg;	state Exp;
branches;
next	1.68;

1.68
date	2000.09.08.11.41.41;	author tg;	state Exp;
branches;
next	1.67;

1.67
date	2000.07.28.11.08.07;	author tg;	state Exp;
branches;
next	1.66;

1.66
date	2000.07.27.12.19.38;	author tg;	state Exp;
branches;
next	1.65;

1.65
date	2000.04.17.00.18.05;	author reg;	state Exp;
branches;
next	1.64;

1.64
date	2000.04.12.06.20.07;	author obrien;	state Exp;
branches;
next	1.63;

1.63
date	2000.04.04.09.53.11;	author tg;	state Exp;
branches;
next	1.62;

1.62
date	2000.03.24.09.17.25;	author tg;	state Exp;
branches;
next	1.61;

1.61
date	2000.01.27.15.54.19;	author sumikawa;	state Exp;
branches;
next	1.60;

1.60
date	2000.01.18.12.34.33;	author sumikawa;	state Exp;
branches;
next	1.59;

1.59
date	2000.01.18.09.21.18;	author tg;	state Exp;
branches;
next	1.58;

1.58
date	2000.01.13.13.28.08;	author sumikawa;	state Exp;
branches;
next	1.57;

1.57
date	2000.01.10.13.13.49;	author tg;	state Exp;
branches;
next	1.56;

1.56
date	2000.01.06.11.46.18;	author tg;	state Exp;
branches;
next	1.55;

1.55
date	99.11.03.09.45.25;	author tg;	state Exp;
branches;
next	1.54;

1.54
date	99.10.27.09.47.22;	author tg;	state Exp;
branches;
next	1.53;

1.53
date	99.08.31.06.47.00;	author mharo;	state Exp;
branches;
next	1.52;

1.52
date	99.08.25.06.35.16;	author obrien;	state Exp;
branches;
next	1.51;

1.51
date	99.07.15.11.59.37;	author tg;	state Exp;
branches;
next	1.50;

1.50
date	99.07.06.13.27.35;	author tg;	state Exp;
branches;
next	1.49;

1.49
date	99.05.19.08.47.50;	author tg;	state Exp;
branches;
next	1.48;

1.48
date	99.04.21.16.20.05;	author nectar;	state Exp;
branches;
next	1.47;

1.47
date	99.04.21.05.56.24;	author nectar;	state Exp;
branches;
next	1.46;

1.46
date	99.04.08.17.48.48;	author nectar;	state Exp;
branches;
next	1.45;

1.45
date	99.02.22.19.06.06;	author nectar;	state Exp;
branches;
next	1.44;

1.44
date	99.02.18.09.37.34;	author thepish;	state Exp;
branches;
next	1.43;

1.43
date	99.02.16.13.59.30;	author thepish;	state Exp;
branches;
next	1.42;

1.42
date	98.12.02.08.24.49;	author asami;	state Exp;
branches;
next	1.41;

1.41
date	98.11.11.05.37.26;	author asami;	state Exp;
branches;
next	1.40;

1.40
date	98.10.06.06.49.12;	author tg;	state Exp;
branches;
next	1.39;

1.39
date	98.09.25.10.05.08;	author asami;	state Exp;
branches;
next	1.38;

1.38
date	98.08.07.23.56.28;	author asami;	state Exp;
branches;
next	1.37;

1.37
date	98.07.28.06.59.45;	author tg;	state Exp;
branches;
next	1.36;

1.36
date	98.07.23.07.49.12;	author tg;	state Exp;
branches;
next	1.35;

1.35
date	98.06.25.06.43.26;	author tg;	state Exp;
branches;
next	1.34;

1.34
date	98.06.19.09.00.49;	author tg;	state Exp;
branches;
next	1.33;

1.33
date	98.06.05.07.09.01;	author tg;	state Exp;
branches;
next	1.32;

1.32
date	98.06.03.07.06.32;	author tg;	state Exp;
branches;
next	1.31;

1.31
date	98.05.20.08.37.12;	author tg;	state Exp;
branches;
next	1.30;

1.30
date	98.05.07.08.22.02;	author tg;	state Exp;
branches;
next	1.29;

1.29
date	98.05.05.08.53.27;	author tg;	state Exp;
branches;
next	1.28;

1.28
date	98.04.29.07.15.39;	author tg;	state Exp;
branches;
next	1.27;

1.27
date	98.04.24.08.18.23;	author tg;	state Exp;
branches;
next	1.26;

1.26
date	98.04.15.07.35.47;	author tg;	state Exp;
branches;
next	1.25;

1.25
date	98.04.09.10.51.32;	author tg;	state Exp;
branches;
next	1.24;

1.24
date	98.04.08.09.23.57;	author tg;	state Exp;
branches;
next	1.23;

1.23
date	98.03.03.08.05.04;	author tg;	state Exp;
branches;
next	1.22;

1.22
date	98.02.27.10.21.32;	author tg;	state Exp;
branches;
next	1.21;

1.21
date	98.02.24.21.43.19;	author jseger;	state Exp;
branches;
next	1.20;

1.20
date	98.01.07.08.32.53;	author tg;	state Exp;
branches;
next	1.19;

1.19
date	98.01.06.08.02.48;	author tg;	state Exp;
branches;
next	1.18;

1.18
date	97.11.24.15.12.43;	author tg;	state Exp;
branches;
next	1.17;

1.17
date	97.08.29.07.04.17;	author tg;	state Exp;
branches;
next	1.16;

1.16
date	97.08.06.06.40.27;	author tg;	state Exp;
branches;
next	1.15;

1.15
date	97.06.02.11.42.56;	author tg;	state Exp;
branches;
next	1.14;

1.14
date	97.05.14.07.35.11;	author tg;	state Exp;
branches;
next	1.13;

1.13
date	97.04.20.13.19.11;	author wosch;	state Exp;
branches;
next	1.12;

1.12
date	97.02.21.14.57.01;	author tg;	state Exp;
branches;
next	1.11;

1.11
date	97.01.02.10.02.48;	author tg;	state Exp;
branches;
next	1.10;

1.10
date	96.11.17.06.12.49;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	96.11.12.02.18.59;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	96.11.02.19.04.22;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	96.10.14.23.14.37;	author asami;	state Exp;
branches;
next	1.6;

1.6
date	96.08.17.15.39.33;	author chuckr;	state Exp;
branches;
next	1.5;

1.5
date	96.05.11.23.34.13;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	96.01.18.10.18.36;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	95.11.22.13.13.06;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	95.08.09.01.30.00;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	95.08.08.22.09.06;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.08.08.22.09.06;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.180
log
@SVN rev 300956 on 2012-07-16 17:04:29Z by rm

- remove expired ports
  * lang/python24 and lang/python25: unmaintained upstream
  * www/zope and www/zope211: unmaintained upstream (the only
    consumers of python24)
- clean-up python versions < 2.6 from lang/python-doc-html
- clean-up python24/25 from Mk/bsd.ports.mk
- add www/zope213 glue to bsd.python.mk
- clean-up zope versions != 2.13 from bsd.python.mk

Submitted by:	miwi (based on)
Approved by:	portmgr (miwi)
@
text
@# New ports collection makefile for:    python24
# Date created:         08 August 1995
# Whom:                 jkh
#
# $FreeBSD: ports/lang/python24/Makefile,v 1.179 2012/06/20 22:35:14 mva Exp $
#

PORTNAME=	python24
PORTVERSION=	2.4.5
PORTREVISION=	8
CATEGORIES=	lang python ipv6
MASTER_SITES=	${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR=	${PYTHON_MASTER_SITE_SUBDIR}
DISTFILES=	${PYTHON_DISTFILE}

MAINTAINER=	python@@FreeBSD.org
COMMENT=	An interpreted object-oriented programming language

DIST_SUBDIR=	python
WRKSRC=		${PYTHON_WRKSRC}
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	OPT="${CFLAGS}"
MAKE_ENV=	VPATH="${WRKSRC}"
USE_LDCONFIG=	yes
INSTALL_TARGET=	altinstall
MAKE_JOBS_SAFE=	yes
MAN1=		${PYTHON_VERSION}.1

USE_PYTHON=	yes
PYTHON_VERSION=	python2.4
PYTHON_NO_DEPENDS=	yes

DEPRECATED=		deprecated via upstream
EXPIRATION_DATE=	2012-06-30

PLATFORMS=	plat-freebsd4 plat-freebsd5 plat-freebsd6 plat-freebsd7 \
		plat-freebsd8 plat-freebsd9 plat-freebsd10
SHARED_WRKSRC=	${WRKSRC}/build.shared
PLIST=		${WRKDIR}/pkg-plist
PLIST_SUB=	PYVER=${PYTHON_VERSION:S/python//}
EXAMPLESDIR=	${PREFIX}/share/examples/${PYTHON_VERSION}
DATADIR=	${PREFIX}/share/${PYTHON_VERSION}

BIN_SCRIPTS=	idle pydoc python python-shared smtpd.py
BINLINKS_SUB=	-e 's,smtpd,smtpd${PYTHON_VER},' \
		-e 's,(idle|pydoc|python-shared|python),\1${PYTHON_VER},'

OPTIONS=	THREADS "Enable thread support" on \
		UCS4 "Use UCS4 for unicode support" on \
		NLS "Enable Gettext support for the locale module" on \
		PYMALLOC "Use python's internal malloc" on \
		IPV6 "Enable IPv6 support" on \
		FPECTL "Enable floating point exception handling" off

.include <bsd.port.pre.mk>

.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} || !exists(${LOCALBASE}/bin/python)
MLINKS=		${PYTHON_VERSION}.1 python.1
PLIST_SUB+=	IF_DEFAULT=""
.else
PLIST_SUB+=	IF_DEFAULT="@@comment "
.endif

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	yes
# XXX do not set any LDFLAGS or CFLAGS - this causes pyexpat to fail building
#LDFLAGS+=	"-L${LOCALBASE}/lib"
#CFLAGS+=	"-I${LOCALBASE}/include"
.else
CONFIGURE_ENV+=	ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no
.endif

.if !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+=	--with-threads
CFLAGS+=		${PTHREAD_CFLAGS}
LDFLAGS+=		${PTHREAD_LIBS}
.else
CONFIGURE_ARGS+=	--without-threads
.endif # !defined(WITHOUT_THREADS)

.if !defined(WITHOUT_UCS4) && !defined(WITH_UCS2)
CONFIGURE_ARGS+=	--enable-unicode=ucs4
.endif

.if defined(WITHOUT_PYMALLOC)
CONFIGURE_ARGS+=	--without-pymalloc
.endif

.if ${ARCH} == i386
PLIST_SUB+=	X86_ONLY=""
.else
PLIST_SUB+=	X86_ONLY="@@comment "
.endif
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha
PLIST_SUB+=	32BIT_ONLY="@@comment "
.else
PLIST_SUB+=	32BIT_ONLY=""
.endif
.if ${ARCH} == sparc64
CFLAGS+=	-DPYTHON_DEFAULT_RECURSION_LIMIT=900
.endif

# See http://bugs.freebsd.org/115940
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) # the world with NO_NIS
PLIST_SUB+=	NO_NIS="@@comment "
WITHOUT_NIS?=	detected
.else
PLIST_SUB+=	NO_NIS=""
.endif

.if !defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif

.if defined(WITH_FPECTL)
CONFIGURE_ARGS+=	--with-fpectl
.endif

post-extract:
	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
		${WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.4
	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
		${WRKSRC}/Tools/scripts/idle > ${WRKDIR}/idle2.4
	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
		${WRKSRC}/Lib/smtpd.py > ${WRKDIR}/smtpd2.4.py

pre-patch:
	${REINPLACE_CMD} -e \
		's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \
		${WRKSRC}/Lib/pydoc.py
	${REINPLACE_CMD} -e \
		's|^\( *prefixes = .*\)\]$$|\1, "${LOCALBASE}"]|g' \
		${WRKSRC}/Lib/site.py
.if defined(WITH_FPECTL) && ${ARCH} == i386
	${ECHO} "fpectl fpectlmodule.c" >> ${WRKSRC}/Modules/Setup.dist
.endif

post-patch:
.if defined(WITHOUT_NIS)
	${REINPLACE_CMD} -e \
	    's/disabled_module_list =[^]]*/&, "nis"/' \
		${PATCH_WRKSRC}/setup.py
.endif

post-configure:
	@@# prepare a subdir for shared build
.for subdir in Modules Parser Python Objects
	${MKDIR} ${SHARED_WRKSRC}/${subdir}
.endfor
	${SED} -e 's,^\(LDLIBRARY=\).*$$,\1libpython$$(VERSION).so,' \
		-e 's,^\(BLDLIBRARY=\).*$$,\1-L. -lpython$$(VERSION),' \
		-e 's,^\(CFLAGSFORSHARED=\).*$$,\1$$(CCSHARED),' \
		-e 's,^\(Makefile Modules/config.c:.*\)Makefile.pre,\1,' \
		-e 's,^\(.(BUILDPYTHON):.*\).(LIBRARY),\1,' \
		${WRKSRC}/Makefile > ${SHARED_WRKSRC}/Makefile
	${LN} -sf ${WRKSRC}/pyconfig.h ${WRKSRC}/Include ${WRKSRC}/Grammar \
		${SHARED_WRKSRC}/
	${LN} -sf ${WRKSRC}/Python/getplatform.c ${WRKSRC}/Python/importdl.c \
		${WRKSRC}/Python/importdl.h \
		${SHARED_WRKSRC}/Python/
	${LN} -sf ${WRKSRC}/Modules/makesetup ${WRKSRC}/Modules/Setup* \
		${WRKSRC}/Modules/*.c ${WRKSRC}/Modules/*.h \
		${SHARED_WRKSRC}/Modules/

post-build:
	cd ${SHARED_WRKSRC}; \
	${SETENV} ${MAKE_ENV} ${MAKE} lib${PYTHON_VERSION}.so python; \
	${LN} -f lib${PYTHON_VERSION}.so lib${PYTHON_VERSION}.so.1; \
	${LN} -f python ${PYTHON_VERSION:S/thon/thon-shared/}

pre-su-install:
	${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \
		${PATCH_WRKSRC}/Lib/plat-freebsd9
	${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \
		${PATCH_WRKSRC}/Lib/plat-freebsd10
.for platform in ${PLATFORMS}
	${MKDIR} ${PYTHONPREFIX_LIBDIR}/${platform}
.for file in IN.py regen
	${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/${file} \
		${PYTHONPREFIX_LIBDIR}/${platform}/
.endfor
.endfor

pre-install:
	${AWK} '{ print $$0; } \
		/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }'	\
		${PKGDIR}/pkg-plist > ${PLIST}

post-install:
	@@# shared version of executable and library
	${INSTALL_PROGRAM} ${SHARED_WRKSRC}/lib${PYTHON_VERSION}.so.1 \
		${PREFIX}/lib
	cd ${PREFIX}/lib; ${LN} -sf lib${PYTHON_VERSION}.so.1 \
		lib${PYTHON_VERSION}.so
	${LN} -sf ${PREFIX}/lib/lib${PYTHON_VERSION}.so ${PYTHONPREFIX_LIBDIR}/config
	${INSTALL_PROGRAM} \
		${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
		${PREFIX}/bin

	@@# additional files installing by ports
	@@${MKDIR} ${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/Misc/python.man \
		${MANPREFIX}/man/man1/${PYTHON_VERSION}.1
	${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.4 ${WRKDIR}/idle2.4 \
		${WRKDIR}/smtpd2.4.py ${PREFIX}/bin

.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} || !exists(${LOCALBASE}/bin/python)
	for f in ${BIN_SCRIPTS}; do \
		TARGET=`${ECHO_CMD} $$f | ${SED} -E ${BINLINKS_SUB}`; \
		cd ${PREFIX}/bin && ${LN} -f $$TARGET $$f; \
	done
.endif

.if !defined(NOPORTDATA)
	@@${MKDIR} ${DATADIR}
	@@cd ${WRKSRC}; ${TAR} -c --exclude='*CVS*' -f - Tools | \
		(cd ${DATADIR}; ${TAR} xf -)
.endif
.if !defined(NOPORTEXAMPLES)
	@@${MKDIR} ${EXAMPLESDIR}
	@@cd ${WRKSRC}/Demo; ${TAR} -c --exclude='*CVS*' -f - * | \
		(cd ${EXAMPLESDIR}; ${TAR} xf -)
.endif

	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.179
log
@- Fix builds, if the NLS option switch is set. In some cases
  expat-related modules are not built correctly.

PR:		ports/169276
Submitted by:	Greg Byshenk <freebsd@@byshenk.net>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.178
log
@- Fix gettext detection for the locale module
- Explicitly enable/disable gettext support via a new NLS OPTION switch.

PR:		ports/168684 ports/136917
On behalf of:	python@@
@
text
@d66 3
a68 2
LDFLAGS+=	"-L${LOCALBASE}/lib"
CFLAGS+=	"-I${LOCALBASE}/include"
@


1.177
log
@- Mark Deprecated  (1 month from now)
- Upstream drop support since 2008
@
text
@d50 1
d64 8
@


1.176
log
@- Remove outdated patch to prune __wchar_t from CFLAGS (python-config --cflags)
- Bump PORTREVISION for package change

PR:		ports/161564
Submitted by:	Nali Toja <nalitoja@@gmail.com>
@
text
@d33 3
@


1.175
log
@- Fix build on FreeBSD 10

Approved by:	miwi (implicit)
@
text
@d10 1
a10 1
PORTREVISION=	7
a59 3
# workaround for a bug in base curses.h.
CFLAGS+=		-D__wchar_t=wchar_t

@


1.174
log
@- Remove the HUGE_STACK_SIZE option, now Python will use default
  thread stack size of the system.
@
text
@d34 1
a34 1
		plat-freebsd8 plat-freebsd9
d166 2
@


1.173
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d10 1
a10 1
PORTREVISION=	6
a45 1
		HUGE_STACK_SIZE "Use a larger thread stack" off \
a65 5
.if defined(WITHOUT_HUGE_STACK_SIZE)
CFLAGS+=		-DTHREAD_STACK_SIZE=0x20000
.else
CFLAGS+=		-DTHREAD_STACK_SIZE=0x100000
.endif # defined(WITHOUT_HUGE_STACK_SIZE)
@


1.172
log
@Handle built world without NIS more gracefully; detect missing ypcat and
 disable NIS module.

PR:		ports/115940
Submitted by:	Alex Deiter <tiamat@@komi.mts.ru>
Reviewed by:	bf
@
text
@d72 1
a72 1
CONFIGURE_ENV+=		LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
a74 3
.if defined(LDFLAGS)
CONFIGURE_ENV+=		LDFLAGS="${LDFLAGS}"
.endif # defined(LDFLAGS)
@


1.171
log
@Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

Although POSIX says the type is 'int', all BSD variants (including Mac OS X)
have been using 'unsigned long' type for very long time and its use predates
the standard long enough.  For certain commands (e.g., TIOCSWINSZ, FIONBIO),
the Python value may get sign-extended on 64-bit platforms (by implicit type
promotion) and it causes annoying warnings from kernel such as this:

WARNING pid 24509 (python2.6): ioctl sign-extension ioctl ffffffff8004667e

Approved by:	python (maintainer timeout)
@
text
@d102 2
a103 1
.if !exists(/usr/bin/ypcat) # the world with NO_NIS
d105 1
d139 7
@


1.170
log
@- Add support for FreeBSD 9
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.169
log
@- Ask the first Python installed to install the bin/python link,
  and be the default Python version

PR:		ports/109550
Submitted by:	David Yeske <dyeske AT yahoo.com>
Obtained from:	tmclaugh
@
text
@d10 1
a10 1
PORTREVISION=	4
d34 1
a34 1
		plat-freebsd8
d164 2
@


1.168
log
@- Honor EXAMPLESDIR, DATADIR, NOPORTEXAMPLES, NOPORTDATA
- portlint(1)
@
text
@d10 1
a10 1
PORTREVISION=	3
d54 1
a54 1
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
d195 1
a195 1
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
@


1.167
log
@- Update lang/python26 and make Python 2.6.2 to the default Python version

Tested by:	3 pointyhat runs
Thanks to:	pav, gahr, lwhsu, mva, amdmi3
@
text
@d17 1
a17 1
COMMENT?=	An interpreted object-oriented programming language
d38 2
a39 2
DEMODIR=	${PREFIX}/share/examples/${PYTHON_VERSION}
TOOLSDIR=	${PREFIX}/share/${PYTHON_VERSION}
d41 3
a43 3
BIN_SCRIPTS=    idle pydoc python python-shared smtpd.py
BINLINKS_SUB=   -e 's,smtpd,smtpd${PYTHON_VER},' \
                -e 's,(idle|pydoc|python-shared|python),\1${PYTHON_VER},'
d202 9
a210 7
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${TOOLSDIR}
	@@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
		(cd ${TOOLSDIR}; tar xf -)
	@@${MKDIR} ${DEMODIR}
	@@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
		(cd ${DEMODIR}; tar xf -)
@


1.166
log
@Make sure the singal is delivered to the main thread, where python
runs its signal handlers, not to a random thread that happens to be
executing at the time when signal arrives. This functionality has been
lost since Python 2.3, possible cause is that the linux implementation
of POSIX threads always delivered signal to the main thread. This
bug results in rather annoying inability to terminate threading script
with ^C for example and there could be other issues as well.

Bump PORTREVISION.

PR:		ports/131080
Submitted by:	Andriy Pylypenko <bamby@@sippysoft.com>
Approved by:	MAINTAINER's timeout
@
text
@d26 1
@


1.165
log
@- add patches from upstream svn rev.65333, fix integer overflows in
  memory allocation (CVE-2008-2315 and CVE-2008-2316)
- also apply upstream svn rev.65262, fixes overflow checks in memory
  allocation (CVE-2008-3142 and CVE-2008-3144)

Approved by:	portmgr (pav)
Security:	http://www.vuxml.org/freebsd/0dccaa28-7f3c-11dd-8de5-0030843d3802.html
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.164
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.163
log
@- s/PORTREVSION/PORTREVISION/

Submitted by:	Uwe Doering <gemini@@geminix.org>
@
text
@a21 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.162
log
@- Fix zlib crash from zlib.decompressobj().flush(val)
  when val was not positive. It tried to allocate negative
  or zero memory.  That fails.
- Bump PORTREVISION

PR:		123153
Submitted by:	Nick Barkas <snb@@threerings.net>
Security:	http://www.vuxml.org/freebsd/ec41c3e2-129c-11dd-bab7-0016179b2dd5.html
@
text
@d10 1
a10 1
PORTREVSION=	1
@


1.161
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d10 1
@


1.160
log
@Update python23 to Python 2.3.6 and python24 to Python 2.4.5.
@
text
@d130 1
a130 1
		's|^\( *prefixes = .*\)\]$$|\1, "${X11BASE}"]|g' \
@


1.159
log
@Add support for FreeBSD 8.

Obtained from:	Python SVN (r58697, r58698)
@
text
@d9 1
a9 2
PORTVERSION=	2.4.4
PORTREVISION=	2
@


1.158
log
@Remove support for OSVERSION < 5
@
text
@d10 1
a10 1
PORTREVISION=	1
d33 2
a117 8
.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

@


1.157
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d106 1
a106 1
.if !defined(WITHOUT_IPV6) && ${OSVERSION} >= 400014
d120 1
a120 1
.elif ${OSVERSION} >= 500000
a121 2
.else
PLATFORMS=plat-freebsd5 plat-freebsd6 plat-freebsd7
@


1.156
log
@Update to Python 2.4.4.

Approved by:	maintainer timeout, alexbl (python@@)
Tested by:	pointyhat
PR:		ports/105901
@
text
@d10 1
d16 1
a16 1
MAINTAINER=	perky@@FreeBSD.org
d26 2
a27 2
INSTALL_TARGET=	install
MAN1=		python.1 ${PYTHON_VERSION}.1
d39 3
a41 5
.if !exists(/usr/bin/ypcat) # the world with NO_NIS
PLISTCAT=	${GREP} -v 'nis.so$$' ${PKGDIR}/pkg-plist
.else
PLISTCAT=	${CAT} ${PKGDIR}/pkg-plist
.endif
d52 7
d100 6
d181 3
a183 3
	${PLISTCAT} | ${AWK} '{ print $$0; }				\
	/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }'	\
	> ${PLIST}
a194 2
	cd ${PREFIX}/bin; \
		${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared
d203 7
@


1.155
log
@Revert the default version of Python to 2.4 for the ports freeze
period.  Python 2.5 brought a vast range of incompatibility to a
large number of ports, so the python@@ team will do more basic
compatibility work in a private repository and merge it later.
Sorry for the inconvenience.

Approved by:	portmgr (kris)
@
text
@d9 1
a9 2
PORTVERSION=	2.4.3
PORTREVISION=	3
d24 1
a24 1
INSTALLS_SHLIB=	yes
@


1.154
log
@- Update the main python version to 2.5.
  - Now, lang/python is just a meta-port which depends on lang/python25.
  - And all versions of Python ports have short version identifier in its
    package name; python25-2.5, python24-2.4.3 and etc.
  - Also you must upgrade all python modules after lang/python updated,
     cd /usr/ports/lang/python && make upgrade-site-packages

- Give maintainership of Python ports to the new python@@ group which
  includes me, alexbl@@ and others.
@
text
@d10 1
a10 1
PORTREVISION=	2
d26 2
a27 2
INSTALL_TARGET=	altinstall
MAN1=		${PYTHON_VERSION}.1
d184 2
@


1.153
log
@Fix buffer overrun when performing repr() on a unicode string in a build
with wide unicode (UCS-4) support.

Obtained from:	Python SVN (#51466)
Security:	CVE-2006-4980
With hat:	secteam
@
text
@d1 1
a1 1
# New ports collection makefile for:    python
d8 1
a8 1
PORTNAME=	python
d10 1
a10 1
PORTREVISION=	1
a18 1
CONFLICTS=	python-mode.el-1.*
d26 2
a27 2
INSTALL_TARGET=	install
MAN1=		python.1
a183 2
	cd ${PREFIX}/bin; \
		${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared
d186 3
a188 2
	${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
		${PREFIX}/share/emacs/site-lisp
a202 22
PORTUPGRADE?=	${LOCALBASE}/sbin/portupgrade
PKG_WHICH?=	${LOCALBASE}/sbin/pkg_which
upgrade-site-packages:
	@@if [ -x ${PORTUPGRADE} ]; then \
		for ver in 2.1 2.2 2.3; do \
			if [ -d ${PREFIX}/lib/python$$ver ]; then \
				UPD=`${FIND} ${PREFIX}/lib/python$$ver \
						-type f -print0 | \
					${XARGS} -0 ${PKG_WHICH} | \
					${GREP} -Fv '?' | \
					${GREP} -v '^python-2' | \
					${SORT} -u`; \
				if [ "$$UPD" ]; then \
					${PORTUPGRADE} -f $$UPD; \
				fi; \
			fi; \
		done; \
	 else \
		${ECHO_MSG} "Please install sysutils/portupgrade."; \
		${FALSE}; \
	 fi

@


1.152
log
@[PATCH] lang/python: Some portlint fixes

	- Fix tab/space issues

PR:		ports/95779
Submitted by:	Alexander Botero-Lowry <alex@@foxybanana.com>
Approved by:	maintainer timeout
@
text
@d10 1
@


1.151
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d96 1
a96 1
CONFIGURE_ARGS+= --enable-ipv6
d98 1
a98 1
CONFIGURE_ARGS+= --disable-ipv6
d102 1
a102 1
CONFIGURE_ARGS+= --with-fpectl
@


1.150
log
@Update to Python 2.4.3.
@
text
@a31 1
USE_REINPLACE=	yes
@


1.149
log
@Add a CONFLICT to lang/python-mode.el.
@
text
@d9 1
a9 1
PORTVERSION=	2.4.2
d40 6
a159 5
.if !exists(/usr/bin/rpcgen) # the world with NO_NIS
	${GREP} -v 'nis.so$$' ${PKGDIR}/pkg-plist > ${PLIST}
.else
	${CP} ${PKGDIR}/pkg-plist ${PLIST}
.endif
d170 5
@


1.148
log
@- Update to Python 2.4.2. [1]
- Allow to override a command passing to distutils using
  PYDISTUTILS_{CONFIGURE,BUILD,INSTALL}_TARGET [2]
- Allow to specify BUILD/RUN dependency separatedly. [3]
- Replace shell executions with regex replacement on bsd.python.mk. [3]
- Remove thread serialization from socket.getaddrinfo() on FreeBSD 5.3
  and later versions because we've got thread-safe implementation. [4]
- Add a workaround to avoid curses.h problem of FreeBSD base.

PR:		86685 [1]
Submitted by:	Soeren Straarup <xride@@x12.dk> [1],
		lioux [2], vsevolod [3], sobomax [4]
Obtained from:	Python CVS [4]
@
text
@d18 1
@


1.147
log
@Fix fcntl.ioctl argument parsing to accept termios.TIOCGWINSZ.

Submitted by:	jkim
Obtained from:	Python CVS
@
text
@d9 1
a9 2
PORTVERSION=	2.4.1
PORTREVISION=	3
a17 1
CONFLICTS=	stackless_python-*
d48 3
@


1.146
log
@Backport support for FreeBSD 7 and drop support for FreeBSD 3.
Fixes for other versions of python will be followed tomorrow.

Submitted by:	nork
Obtained from:	Python CVS
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.145
log
@- Disable "fpectl" base module on non-i386 platforms to fix build
  on the recent -CURRENT i386 base. [1]
- Fix package build on NO_NIS base. [2]

PR:		81806 [1]
Submitted by:	Li-Lun Wang (Leland Wang) <llwang@@infor.org> [1],
		ache [2]
@
text
@d10 1
a10 1
PORTREVISION=	1
a87 6
.if ${OSVERSION} < 400000
LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
CFLAGS+=	-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include
CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
.endif

d98 4
a101 2
.if ${OSVERSION} >= 600000
PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
d103 1
a103 3
PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd6
.elif ${OSVERSION} >= 400000
PLATFORMS=plat-freebsd3 plat-freebsd5 plat-freebsd6
d105 1
a105 1
PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd6
a122 2
	${MKDIR} ${WRKSRC}/Lib/plat-freebsd6
	${CP} ${WRKSRC}/Lib/plat-freebsd5/regen ${WRKSRC}/Lib/plat-freebsd6/
@


1.144
log
@- Make FPECTL support optional and turn it off by default because
  the feature brings huge overheads for floating point arithmetics
  and integer divisions. [1]
- Fix plist
- Bump PORTREVISION

Requested by:	Ewan Todd <ewan@@mathcode.net> [1]
@
text
@d36 1
d131 1
a131 1
.if defined(WITH_FPECTL)
a132 1
	${REINPLACE_CMD} 's,fpreset,fpset,g' ${WRKSRC}/Modules/fpectlmodule.c
d160 5
@


1.143
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d10 1
a23 1
CONFIGURE_ARGS=	--with-fpectl
d44 2
a45 1
		IPV6 "Enable IPv6 support" on
d99 4
d130 4
@


1.142
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d22 1
a22 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.141
log
@Update to Python 2.4.1
@
text
@d22 1
a22 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.140
log
@Add a patch from PSF-2005-001 which fixes SimpleXMLRPCServer
vulnerability.

PR:		77078
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br>
Security:	CAN-2005-0089
Security:	http://www.vuxml.org/freebsd/6afa87d3-764b-11d9-b0e7-0000e249a0a2.html
Security:	SimpleXMLRPCServer.py allows unrestricted traversal
@
text
@d9 1
a9 2
PORTVERSION=	2.4
PORTREVISION=	1
@


1.139
log
@Add new utility target named 'upgrade-site-packages' to upgrade
site-packages which was built on previous version of python.
@
text
@d10 1
@


1.138
log
@- Update lang/python to 2.4 final release.
- Finish repocopy lang/python -> lang/python23 for Python 2.3.4
@
text
@d191 22
@


1.137
log
@farewell to libxpg4.
@
text
@d9 1
a9 2
PORTVERSION=	2.3.4
PORTREVISION?=	2
d31 1
a31 1
PYTHON_VERSION=	python2.3
d110 1
a110 1
		${WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.3
d112 3
a114 1
		${WRKSRC}/Tools/scripts/idle > ${WRKDIR}/idle2.3
d121 1
a121 1
		's|^\(prefixes = .*\)\]$$|\1, "${X11BASE}"]|g' \
d126 1
a126 1
post-configure: ${STACKLESS_POST_CONFIGURE}
d135 1
d167 1
a167 2
	${LN} -sf ${PREFIX}/lib/lib${PYTHON_VERSION}.so \
		${PYTHONPREFIX_LIBDIR}/config
d177 2
a178 2
	${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.3 ${WRKDIR}/idle2.3 \
		${PREFIX}/bin
@


1.136
log
@Fix package build on 4-STABLE.

Submitted by:	kstewart <kstewart@@owt.com>
@
text
@a92 7
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005
CONFIGURE_ARGS+=	--with-libs='-lxpg4'
.endif
.if ${OSVERSION} < 400020
CONFIGURE_ARGS+=	--with-libs='-lxpg4'
.endif

@


1.135
log
@- Add support for FreeBSD 6.
- Remove support for FreeBSD 2.

Spotted by:	marcus, kris
Obtained from:	Python CVS
@
text
@d111 1
a111 1
PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
@


1.134
log
@- Allow to disable IPv6 support [1]
- Add checksum for 2.4a2

PR:		69950 [1]
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br>
@
text
@d10 1
a10 1
PORTREVISION?=	1
d106 4
a109 2
.if ${OSVERSION} >= 500000
PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd4
d111 1
a111 3
PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd5
.elif ${OSVERSION} >= 300000
PLATFORMS=plat-freebsd2 plat-freebsd4 plat-freebsd5
d113 1
a113 1
PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
d129 2
@


1.133
log
@Make PORTREVISION overridable by slave ports.

Found by:	eik's chkversion
@
text
@d44 2
a45 1
		PYMALLOC "Uses python's internal malloc" on
d100 1
a100 1
.if ${OSVERSION} >= 400014
@


1.132
log
@Allow to install and use 3rd party packages in X11BASE.
${X11BASE}/lib/{python2.3{,/site-packages},site-python} will be
added to your python's sys.path if each directory exists.

Suggested by:	marcus
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.131
log
@Fix comment.

Submitted by:	fjoe
@
text
@d10 1
d125 3
@


1.130
log
@- Update to Python 2.3.4.
- Test WITHOUT_* instead of WITH_* for values which are on by default
  so that package build clusters detect correctly.
@
text
@d61 1
a61 1
.endif # defined(WITH_THREADS)
@


1.129
log
@Use OPTIONS.

Submitted by:	Stephane E. Potvin <sepotvin@@videotron.ca>
@
text
@d9 1
a9 2
PORTVERSION=	2.3.3
PORTREVISION=	5
d42 1
a42 1
		UCS2 "Use UCS2 instead of UCS4 for unicode support" off \
d47 1
a47 1
.if defined(WITH_THREADS)
d63 1
a63 1
.if defined(WITHOUT_UCS2)
@


1.128
log
@Reduce configure warning.

PR:		55180 [1], 65680 [2]
Submitted by:	Rui Lopes <rui@@ruilopes.com> [1],
		Roman Neuhauser <neuhauser@@chello.cz> [2]
@
text
@d41 8
a48 5
#
# If you don't want to use Python's thread module, you need to set
# WITHOUT_THREADS.
#
.if !defined(WITHOUT_THREADS)
d51 1
a51 1
.if !defined(WANT_HUGE_STACK_SIZE)
d55 1
a55 1
.endif # !defined(WANT_HUGE_STACK_SIZE)
d62 1
a62 1
.endif # !defined(WITHOUT_THREADS)
d64 1
a64 1
.if !defined(WITH_UCS2)
a70 2

.include <bsd.port.pre.mk>
@


1.127
log
@Fixed a bug where the configure script couldn't detect getaddrinfo()
properly if the KAME stack had SCTP support.

Submitted by:	suz
@
text
@d23 1
@


1.126
log
@Fix stackless build broken by the recent shared-build commit.

Submitted by:	Sven Petai <hadara@@bsd.ee>
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.125
log
@Correct pre-install target to pre-su-install so that the credential
switch happens before directories are created under PREFIX.

Submitted by:	marcel
@
text
@d124 1
a124 1
post-configure:
@


1.124
log
@- Fix installation problem where PREFIX != LOCALBASE.
- Add checksum for Python-2.4.a0.20040311
@
text
@d149 1
a149 1
pre-install:
@


1.123
log
@Create a symbolic link to lib/python2.3.so on lib/python2.3/config/
for seamless upgrade from a static library.

Suggested by:	dd
@
text
@d164 2
a165 1
	${LN} -sf ${PREFIX}/lib/lib${PYTHON_VERSION}.so ${PYTHON_LIBDIR}/config
@


1.122
log
@Build and install a shared library and its frontend besides static one
by default.

[HEADS UP] The python executable and static library isn't built PIC
anymore even on amd64 and ia64. Please use a shared library instead.

Requested by:	jhay, dd
Tested by:	Charles Swiger <cswiger@@mac.com>,
		Tim Middleton <x@@Vex.Net>
@
text
@d10 1
a10 1
PORTREVISION=	3
d164 1
@


1.121
log
@- Update stackless_python to 2.3.3 as of 040225 and unmark BROKEN.
- Set mutually exclusive confliction for {,stackless_}python.
@
text
@d10 1
a10 1
PORTREVISION=	2
d26 1
d35 5
a67 11
.if defined(BUILD_SHARED)
CONFIGURE_ARGS+=	--enable-shared
INSTALLS_SHLIB=		yes
PLIST_SUB+=		SHARED_ONLY=""
.else
PLIST_SUB+=		SHARED_ONLY="@@comment "
.endif

DEMODIR=	${PREFIX}/share/examples/${PYTHON_VERSION}
TOOLSDIR=	${PREFIX}/share/${PYTHON_VERSION}

a74 3
.if ${ARCH} == amd64 || ${ARCH} == ia64
CFLAGS+=	-fPIC
.endif
d124 25
d159 12
@


1.120
log
@- Add a workaround for the net/straw port installation problem
recently introduced by libpthread. The problem was that waitpid(2)
raised EINTR but python's distutils didn't catch it correctly.
- PORTREVISION is bumped to 2, subsequently.
@
text
@d19 1
d127 1
a127 1
post-patch:
@


1.119
log
@On ia64, libpython2.3 must be built with -fPIC as well. This unbreaks
KDE (for example).
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.118
log
@- Use process scope threads instead of system scope to enable large
  amount of threads on -CURRENT libpthread by default. [1]
- Merge bugfixes from python 2.3 maintenance branch: [2]
  o weakref object's garbage collection problem.
  o save unnecessary startup-time memory allocation of 100KB+ from
    intobject.
- SIZEify.
- Bump PORTREVISION subsequently.

Advised by:	eischen, julian [1]
Obtained from:	Python CVS [2]
@
text
@d79 1
a79 1
.if ${ARCH} == amd64
@


1.117
log
@Fix builds for whom has VPATH on his/her environment variables.

PR:		57731
Reported by:	bms
@
text
@d10 1
@


1.116
log
@- Update to Python-2.3.3
- Pass PYTHON_VERSION variable to dependent builds.
- Enable email package to use cjkcodecs.
- Decrease default recursion limit to 900 on sparc64.
@
text
@d23 1
@


1.115
log
@Add fix for a fatal bug in type's GC handling causes segfaults.

http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u

Obtained from:	Python CVS
@
text
@d9 1
a9 2
PORTVERSION=	2.3.2
PORTREVISION=	3
d84 3
@


1.114
log
@- Include pyexpat module in python base ports because python incorporated
  expat 1.95.6 in its distribution from Python-2.3.
- Bump PORTREVISION subsequently.

Requested by:	Mike Brown <mike@@skew.org>
		Jeremy Kloth <jeremy.kloth@@fourthought.com>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.113
log
@- Update lang/python-devel to Python-2.4 031022 snapshot.
- Correct USE_ZOPE dependency to Python 2.1. [1]
- Fetch from correct MASTER_SITE_SUBDIR when upgrading python
  in same branch. [2]
- Enable installing separated standard modules for python-devel port.

Reported by:	Filippo Natali <pitonat@@libero.it> [1],
		Yoshihiko Sarumaru <mistral@@imasy.or.jp> [2]
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.112
log
@Add missed ossaudiodev.so into pkg-plist (only for x86, since I don't have
access to other arches yet), and enable it on freebsd5 (it's enabled on
freebsd4 OOB).
@
text
@d12 3
a14 4
MASTER_SITES=	${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR=	${PYTHON_SITE_SUBDIR}
DISTNAME=	Python-${PORTVERSION}
EXTRACT_SUFX=	.tgz
d20 1
@


1.111
log
@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>
@
text
@d10 1
@


1.110
log
@- Add WITHOUT_PYMALLOC knob that disables pymalloc, the internal
  optimized heap manager for Python 2.3. [1]
- Utilize PYTHON_SITE_SUBDIR.

Submitted by:	kuriyama [1]
@
text
@d13 2
a14 1
DISTFILES=	${PYTHON_DISTFILE}
a19 1
WRKSRC=		${PYTHON_WRKSRC}
@


1.109
log
@Add alpha to list of 64bit architectures. (This fixes package
building on alpha)

Spotted by:	kris
@
text
@d12 1
a12 1
MASTER_SITE_SUBDIR=	ftp/python/${PORTVERSION}
d53 4
@


1.108
log
@Update to Python-2.3.2
@
text
@d76 1
a76 1
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64
@


1.107
log
@- Install a 'real' shared object when BUILD_SHARED=yes. [1]
- Fix plist on 32bit architectures.
- Bump PORTREVISION.

PR:		57269 [1]
Submitted by:	Tim Middleton <x@@Vex.Net> [1],
		Kostik I. Belousov <kostya@@tessart.kiev.ua> [1]
@
text
@d9 1
a9 2
PORTVERSION=	2.3.1
PORTREVISION=	2
@


1.106
log
@- Revive os.fsync function which is disabled by a typo of Python-2.3.1.
- Bump PORTREVISION

Obtained from:	Python CVS
@
text
@d10 1
a10 1
PORTREVISION=	1
d77 5
a121 4
.if ${ARCH} == amd64 || ${ARCH} == sparc64
	${REINPLACE_CMD} -e \
		's,^#\(dl .*\),\1,' ${WRKSRC}/Modules/Setup.dist
.endif
@


1.105
log
@Add notes about separated standard modules.
@
text
@d10 1
@


1.104
log
@- Update to Python-2.3.1, the lastest Bugfix release.
- Disable dlmodule on amd64 and sparc64 because dlmodule isn't designed
  for them.
- Add -fPIC on CFLAGS on amd64 for mod_python3 and other ports using it
  on linking their own dynamic library.
@
text
@d145 2
@


1.103
log
@BUILD_STATIC by default because it's better.
(See http://mail.python.org/pipermail/python-dev/2003-August/037472.html)
@
text
@d9 1
a9 2
PORTVERSION=	2.3
PORTREVISION=	1
d73 3
d116 4
@


1.102
log
@- Update to Python-2.3
- Correct pydoc search path to lang/python-doc-html port's [1]

PR:		43036 [1]
Submitted by:	Emil Sit <sit@@amsterdam.lcs.mit.edu> [1]
@
text
@d10 1
d56 1
a56 1
.if !defined(BUILD_STATIC)
@


1.101
log
@Set per-thread stack size to 0x20000 (default) or 0x100000
(WITH_HUGE_STACK_SIZE=yes). This will enable python2.2 to
run Zope and its products.

Requested by:	dwhite
Reviewed by:	dwhite
@
text
@d9 1
a9 2
PORTVERSION=	2.2.3
PORTREVISION=	2
d27 1
a27 1
PYTHON_VERSION=	python2.2
d29 1
d42 1
a42 1
.endif
d51 12
d64 1
d68 6
d103 11
a122 4
post-extract:
	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
		${WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.2

a123 1
	${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.2 ${PREFIX}/bin/
d126 3
a128 1
	@@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
d130 1
d132 1
a132 1
		(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
a135 6
.endif

.if ${ARCH} == i386
PLIST_SUB+=	X86_ONLY=""
.else
PLIST_SUB+=	X86_ONLY="@@comment "
@


1.100
log
@o Utilize MASTER_SITE_PYTHON.
o Rename pydoc to pydoc${PORTVERSION} to avoid conflicts among these
  ports. (lang/python port keeps both of bin/pydoc and bin/pydoc2.2)
o Set LATEST_LINK to ${PYTHON_VERSION:S/.//} except lang/python.

Now, we can install all of these python versions together cleanly.
@
text
@d10 1
a10 1
PORTREVISION=	1
d38 5
@


1.99
log
@Take maintainerships from alane's python ports.
Rest in Peace, Alan.
@
text
@d10 1
d12 2
a13 4
MASTER_SITES=	http://www.python.org/ftp/python/${PORTVERSION}/ \
		${MASTER_SITE_SOURCEFORGE} \
		http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/${PORTVERSION}/
MASTER_SITE_SUBDIR=	python
d88 4
d93 1
@


1.98
log
@Please see http://freebsd.kde.org/memoriam/alane.php for an In Memoriam page.
@
text
@d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
@


1.97
log
@	REST IN PEACE
 	Alan Eldridge
Born December 15, 1961 in Iowa
Died June 6, 2003 in Denver, Colorado

Thank you for your contributions, you
will be greatly missed.
@
text
@@


1.96
log
@Update to 2.2.3

PR:		52830
Submitted by:	Chuck Swiger <chuck@@pkix.net> (partly)
Approved by:	maintainer (implicitly)
@
text
@d17 1
a17 1
MAINTAINER?=	alane@@FreeBSD.org
@


1.95
log
@Destroy pkg-comment for some of the stranger uses in the tree,
pending the final semi-automatic purge.

Approved by:	portmgr (implicitly)
@
text
@d9 1
a9 2
PORTVERSION=	2.2.2
PORTREVISION=	2
@


1.94
log
@PORTREVSION => 2.
Fix error pointed out by tg@@. Now just blow away the Tools subdir on uninstall
in case something compiled that stuff.
@
text
@d19 1
@


1.93
log
@PORTREVISION => 1
Added lotsa missing files to pllist.
Added dl module for those who like to live dangerously (petef?).

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.92
log
@Simplified threads configuration.
@
text
@d10 1
@


1.91
log
@Take over as maintainer since tg is taking a leave of absence from port
maintenance.
@
text
@d35 1
a35 2
LIBC_R!=	/sbin/ldconfig -r | grep c_r || true
.if (${LIBC_R} != "") && !defined(WITHOUT_THREADS)
d41 4
a44 1
.endif
@


1.90
log
@Upgrade to Python-2.2.2.

Approved by:	tg
@
text
@d17 1
a17 1
MAINTAINER?=	tg@@FreeBSD.org
@


1.89
log
@Use new PYTHONPREFIX_*DIR variables to make these ports PREFIX-clean.
@
text
@d9 1
a9 1
PORTVERSION=	2.2.1
@


1.88
log
@Fix building on the Alpha.

Submitted by:	gallatin
@
text
@d79 1
a79 1
	${MKDIR} ${PYTHON_LIBDIR}/${platform}
d82 1
a82 1
		${PYTHON_LIBDIR}/${platform}/
d87 3
a89 3
	@@${MKDIR} ${PREFIX}/share/emacs/site-lisp
	${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp
	@@${MKDIR} ${PYTHON_SITELIBDIR}
d92 1
a92 1
		(cd ${PYTHON_LIBDIR}; tar xf -)
@


1.87
log
@(forced)

I meant: upgrade to 2.2.*1*.
@
text
@d98 6
@


1.86
log
@Upgrade to Python-2.2.

PR:		36977
Submitted by:	Hye-Shik Chang <perky@@fallin.lv>
@
text
@@


1.85
log
@Add SourceForge as a well connected secondary MASTER_SITES location.

Submitted by:	"Jason R. Mastaler" <jason-dated-1018216403.d8ed28@@mastaler.com>
@
text
@d9 1
a9 2
PORTVERSION=	2.2
PORTREVISION=	2
@


1.84
log
@Explicitly enable IPv6 support.

Submitted by:	sumikawa
@
text
@d13 1
d15 1
@


1.83
log
@Implement PyObject_DelItemString(), which was obviously forgotten for
Python-2.2. This will fix at least the metakit port.

Bump PORTREVISION.

Obtained from:	Python CVS tree
@
text
@d10 2
a11 2
PORTREVISION=	1
CATEGORIES=	lang python
d58 6
@


1.82
log
@Upgrade lang/python to 2.2. Adjust bsd.python.mk accordingly.

PR:		33444
Submitted by:	Hye-Shik Chang <perky@@fallin.lv>

Add new MD5 to dependent ports.
@
text
@d10 1
@


1.81
log
@Re-add fpectl.so to the plist to fix packaging. Re-enable support
for it in the python binary.

Noticed by:	will
@
text
@d9 1
a9 1
PORTVERSION=	2.1.1
d26 1
a26 1
PYTHON_VERSION=	python2.1
d72 1
a72 1
.for file in FCNTL.py IN.py regen
@


1.80
log
@Don't build mpz extension, it's moved to a separate port.
@
text
@d20 1
a20 1
#CONFIGURE_ARGS=	--with-fpectl
@


1.79
log
@Depend on math/libgmp when running a recent -current.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.78 2001/07/25 11:11:25 tg Exp $
d20 1
a20 1
CONFIGURE_ARGS=	--with-fpectl
a48 6
CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
.endif

.if ${OSVERSION} > 500023
LIB_DEPENDS+=	gmp.3:${PORTSDIR}/math/libgmp
CFLAGS+=	-I${LOCALBASE}/include
@


1.78
log
@Upgrade to 2.1.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.77 2001/05/02 11:25:01 tg Exp $
d49 6
@


1.77
log
@Upgrade to 2.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.76 2001/03/29 16:34:10 sobomax Exp $
d9 1
a9 1
PORTVERSION=	2.1
@


1.76
log
@-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.75 2001/03/29 08:13:31 sobomax Exp $
d9 1
a9 1
PORTVERSION=	2.0
d11 2
a12 2
MASTER_SITES=	http://www.python.org/ftp/python/2.0/ \
		http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/2.0/
a22 1
PLIST=		${WRKDIR}/PLIST
d26 1
a26 1
PYTHON_VERSION=	python2.0
a29 5
# The standard setup file
#
SETUP_FILE=	Setup

#
d42 1
a42 37
#
# OpenSSL support is built on machines that have it
#
.if exists(/etc/ssl/openssl.cnf)
SETUP_LOCAL+=	Setup.OpenSSL
.endif

#
# The mpz module is built on machines with a full source tree
#
.if exists(/usr/src/contrib/libgmp/gmp-impl.h)
SETUP_LOCAL+=	Setup.gmp
PLIST_GMP=	${PKGDIR}/pkg-plist.gmp
.endif

#
# Install the Tools by default. It contains scripts ranging from an IDE
# to a web tree checker, to a collection of simple scripts that are useful
# while extending or managing Python.
#
.if !defined(WITHOUT_TOOLS)
PLIST_TOOLS=	${PKGDIR}/pkg-plist.Tools
.endif

#
# Install Demo/ by default.
#
.if !defined(WITHOUT_DEMO)
PLIST_DEMO=	${PKGDIR}/pkg-plist.Demo
DEMODIR=	${PREFIX}/share/examples/python
.endif

post-configure:
	${CP} ${FILESDIR}/${SETUP_FILE} ${WRKSRC}/Modules/Setup
.for file in ${SETUP_LOCAL}
	${CAT} ${FILESDIR}/${file} >> ${WRKSRC}/Modules/Setup.local
.endfor
d53 1
a53 1
CONFIGURE_ARGS+= --with-libs='-lxpg4'
d56 1
a56 1
CONFIGURE_ARGS+= --with-libs='-lxpg4'
d71 2
a72 2
	${MKDIR} ${PREFIX}/lib/${PYTHON_VERSION}/${platform}
.for file in FCNTL.py IN.py SOCKET.py TERMIOS.py regen
d74 1
a74 1
		${PREFIX}/lib/${PYTHON_VERSION}/${platform}/
a76 1
	@@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_DEMO} ${PKGDIR}/pkg-plist
a78 1
	strip ${PREFIX}/bin/python
d82 1
a82 1
.if !defined(WITHOUT_TOOLS)
a84 2
.endif
.if !defined(WITHOUT_DEMO)
@


1.75
log
@Allow MAINTAINER to be redefined in a slave port.
@
text
@d5 1
a5 1
# $FreeBSD$
d42 2
a43 2
CFLAGS+=		-D_THREAD_SAFE
CONFIGURE_ENV+=		LDFLAGS="-pthread ${LDFLAGS}"
@


1.74
log
@MASTER_SITE changed.

Submitted by:	sobomax
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.73 2000/11/29 12:35:31 tg Exp $
d15 1
a15 1
MAINTAINER=	tg@@FreeBSD.org
@


1.73
log
@Install Demo/ dir to $PREFIX/share/examples/python.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.72 2000/11/13 13:22:34 tg Exp $
d11 2
a12 1
MASTER_SITES=	http://www.pythonlabs.com/products/python2.0/downloads/
@


1.72
log
@Fix compilation on FreeBSD-3.x.

PR:		22226
Reviewed by:	Alan Bawden <Alan@@LCS.MIT.EDU>
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.71 2000/10/18 11:58:44 tg Exp $
d71 8
d118 1
a118 1
	@@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/pkg-plist
d124 1
a124 1
	@@${MKDIR} ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
d127 6
a132 1
		(cd ${PREFIX}/lib/${PYTHON_VERSION}; tar xf -)
@


1.71
log
@Upgrade to 2.0.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.70 2000/10/08 02:21:24 asami Exp $
d78 6
@


1.70
log
@Rename PLIST.{Tools,gmp} to pkg-plist.{Tools,gmp}.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.69 2000/09/28 11:28:11 tg Exp $
d9 1
a9 1
PORTVERSION=	1.6
d11 2
a12 2
MASTER_SITES=	http://www.python.org/1.6/
DISTNAME=	Python-${PORTVERSION}
d17 1
d26 1
a26 1
PYTHON_VERSION=	python1.6
d40 1
a40 1
CONFIGURE_ARGS+=	--with-thread
d43 2
a70 4
post-extract:
	cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
	cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd5.sh

d99 2
a100 1
	${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/*                    \
d103 1
a107 1
	@@${MKDIR} ${PREFIX}/share/doc/python
a109 1
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/python
d112 1
a112 1
	@@cd ${WRKSRC}; tar cf - Tools | \
@


1.69
log
@Use USE_PYTHON.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.68 2000/09/08 11:41:41 tg Exp $
d56 1
a56 1
PLIST_GMP=	${PKGDIR}/PLIST.gmp
d65 1
a65 1
PLIST_TOOLS=	${PKGDIR}/PLIST.Tools
d103 1
a103 1
	@@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
@


1.68
log
@Upgrade to 1.6.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.67 2000/07/28 11:08:07 tg Exp $
d24 1
@


1.67
log
@Clarify comment even further.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.66 2000/07/27 12:19:38 tg Exp $
d9 1
a9 1
PORTVERSION=	1.5.2
d11 2
a12 4
MASTER_SITES=	ftp://www.python.org/pub/python/src/ \
		ftp://ftp.cwi.nl/pub/python/src/
DISTNAME=	py152
EXTRACT_SUFX=	.tgz
a16 1
WRKSRC=		${WRKDIR}/Python-1.5.2
d24 3
d34 1
a34 1
# WITHOUT_THREADS. libc_r should be installed on nowadays' systems.
d44 7
d98 1
a98 1
	${MKDIR} ${PREFIX}/lib/python1.5/${platform}
d100 1
a100 1
		${PREFIX}/lib/python1.5/${platform}/
d102 1
a102 1
	@@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
d109 2
a110 2
	${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/python
	@@${MKDIR} ${PREFIX}/lib/python1.5/site-packages
d113 1
a113 1
		(cd ${PREFIX}/lib/python1.5; tar xf -)
@


1.66
log
@- Clarify comment on thread support.
- Don't link against libxpg4 on newer systems.
- Remove last remnants of Tkinter support,
  it's all in x11-toolkits/py-tkinter.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.65 2000/04/17 00:18:05 reg Exp $
d34 1
a34 1
# WITHOUT_THREADS. libc_r should be installed on current systems.
@


1.65
log
@Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.64 2000/04/12 06:20:07 obrien Exp $
d21 1
a21 1
CONFIGURE_ARGS=	--with-fpectl --with-libs='-lxpg4'
d33 2
a34 5
# If you want to use Python's thread module, you need to set WITH_THREADS
# to 'yes', and you must have the FreeBSD threading c library (libc_r)
# installed. See 'man 3 pthread' for details on libc_r.
#
# This option is enabled by default.
d71 7
@


1.64
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.63 2000/04/04 09:53:11 tg Exp $
a38 1
WITH_THREADS?=	yes
d40 1
a40 1
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
d59 1
a59 2
WITH_TOOLS?=	yes
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
d100 1
a100 1
.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes
@


1.63
log
@Separate the Python Tk module from the main port. I've been
wanting do to this for a long time now. Now we got rid of the stupid
dependency on Tcl/Tk and save some checks in python's makefile.

Update the dependent ports accordingly.
@
text
@a1 1
# Version required:     1.5.2
d5 1
a5 1
# $FreeBSD: ports/lang/python/Makefile,v 1.62 2000/03/24 09:17:25 tg Exp $
d8 2
a9 2
DISTNAME=       py152
PKGNAME=        python-1.5.2
d13 1
@


1.62
log
@Fix packaging on -current.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.61 2000/01/27 15:54:19 sumikawa Exp $
d11 1
a11 1
CATEGORIES=	lang python tk82
a17 2
LIB_DEPENDS=	${TK_DEPENDS}

a30 12

#
# Support for Tk is compiled in by default only if X11 is installed.
#
.if exists(${X11BASE})
WITH_TK?=	yes
.endif
.if defined(WITH_TK) && $(WITH_TK) == yes
TK_DEPENDS=	tk82.1:${PORTSDIR}/x11-toolkits/tk82
SETUP_LOCAL=	Setup.tk
PLIST_TK=	${PKGDIR}/PLIST.tk
.endif
@


1.61
log
@move IPv6-enable python to python+ipv6 and revert origial python
to before IPv6.

Since IPv6-enable python make bigger the size of sockaddr, some of scripts
are affected. I maintain python+ipv6 separately to minimize impact for users.
It will be removed when IPv6 patches are merged into original distribution,
such as ruby.

Repositry copied by:	asami
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.60 2000/01/18 12:34:33 sumikawa Exp $
d81 1
d91 4
a94 2
.if ${OSVERSION} >= 400000
PLATFORMS=plat-freebsd2 plat-freebsd3
d96 3
a98 3
PLATFORMS=plat-freebsd2 plat-freebsd4
.else   
PLATFORMS=plat-freebsd3 plat-freebsd4
@


1.60
log
@Add 'ipv6' on CATEGORIES.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.59 2000/01/18 09:21:18 tg Exp $
d11 1
a11 1
CATEGORIES=	lang python tk82 ipv6
a15 4
PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES=	python-152-v6-20000113.diff.gz
PATCH_DIST_STRIP=	-p1

d20 1
a20 1
DIST_SUBDIR=    python
a23 5
.if defined(USE_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
a56 1

a77 3
.if defined(USE_INET6)
PLIST_V6=	${PKGDIR}/PLIST.v6
.endif
d104 1
a104 1
	@@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
a115 3
.endif
.if defined(USE_INET6)
	${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
@


1.59
log
@On second thought, put back DIST_SUBDIR. It's not only used for the
Python distribution but also for the docs and some other packages with
rather generic names.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.58 2000/01/13 13:28:08 sumikawa Exp $
d11 1
a11 1
CATEGORIES=	lang python tk82
@


1.58
log
@- Support IPv6.
- remove DIST_SUBDIR since there are 2 distfiles on this port anymore.

Reviewed by:	tg(maintainer)
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.57 2000/01/10 13:13:49 tg Exp $
d24 1
@


1.57
log
@s/X11_BASE/X11BASE/.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.56 2000/01/06 11:46:18 tg Exp $
d16 4
a23 1
DIST_SUBDIR=	python
d27 5
d65 1
d87 3
d116 1
a116 1
	@@sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
d128 3
@


1.56
log
@- Install python-mode.el.
PR:		15702
Submitted by:	"Dmitry S. Sivachenko" <dima@@Chg.RU>

- Only use Tk support if X11 is installed.
PR:		15910
Submitted by:	Nathan Dorfman <nathan@@rtfm.net>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.55 1999/11/03 09:45:25 tg Exp $
d37 1
a37 1
.if exists(${X11_BASE})
@


1.55
log
@Use Tk-8.2.

Submitted by:	Ade Lovett <ade@@lovett.com>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.54 1999/10/27 09:47:22 tg Exp $
d35 1
a35 1
# Support for Tk is compiled in by default.
d37 1
d39 1
d109 2
@


1.54
log
@Link against libxpg4.
Submitted by:	foxfair

Promote LDFLAGS in the installed setup.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.53 1999/08/31 06:47:00 mharo Exp $
d11 1
a11 1
CATEGORIES=	lang python tk80
d39 1
a39 1
TK_DEPENDS=	tk80.1:${PORTSDIR}/x11-toolkits/tk80
@


1.53
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/python/Makefile,v 1.52 1999/08/25 06:35:16 obrien Exp $
d23 1
a23 1
CONFIGURE_ARGS=	--with-fpectl
@


1.52
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d16 1
a16 1
MAINTAINER=	tg@@FreeBSD.ORG
@


1.51
log
@Fix package building when you're leaving out optional parts, like Tk.

PR:		12648
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.50 1999/07/06 13:27:35 tg Exp $
@


1.50
log
@Install the contents of the Tools directory by default. This can be
turned off by specifying `WITH_TOOLS=NO' when building.

PR:		12436
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.49 1999/05/19 08:47:50 tg Exp $
d41 1
d64 1
a64 1
PLIST_GMP=	lib/python1.5/lib-dynload/mpzmodule.so
d73 3
d102 1
a102 1
	@@${ECHO} ${PLIST_GMP} | sort -r -o ${PLIST} - ${PKGDIR}/PLIST
@


1.49
log
@Better support for local $CFLAGS.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.48 1999/04/21 16:20:05 nectar Exp $
d66 7
d105 4
@


1.48
log
@Remove ``NO_LATEST_LINK''

Approved by:	Maintainer <tg@@FreeBSD.ORG>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.47 1999/04/21 05:56:24 nectar Exp $
d24 1
a24 1
MAKE_FLAGS=	'OPT=${CFLAGS}'
d55 1
a55 1
CONFIGURE_ENV=		LDFLAGS="-pthread ${LDFLAGS}"
@


1.47
log
@* Update python 1.5.1 -> 1.5.2
* Remove python-beta
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.46 1999/04/11 00:38:09 nectar Exp $
a27 1
NO_LATEST_LINK=	yes
@


1.46
log
@Create lib/python1.5/site-packages directory on installation.
@
text
@d2 1
a2 1
# Version required:     1.5
d6 1
a6 1
# $Id: Makefile,v 1.45 1999/02/22 19:06:06 nectar Exp $
d9 2
a10 2
DISTNAME=       pyth151
PKGNAME=        python-1.5.1
a15 11
PATCH_SITES=	http://www.python.org/1.5/patches-1.5.1/
PATCHFILES=	_tkinter.1.txt SocketServer.1.txt bltinmodule.1.txt \
		bltinmodule.2.txt bltinmodule.3.txt \
		ceval.1.txt classobject.1.txt configure.2.txt fileobject.1.txt \
		freeze.1.txt \
		gzip.1.txt imaplib.1.txt imaplib.2.txt imaplib.3.txt \
		import.1.txt longobject.1.txt object.1.txt \
		parsermodule.1.txt pcre.1.txt sgmllib.1.txt sgmllib.2.txt \
		string.1.txt stringobject.1.txt stropmodule.1.txt \
		timemodule.1.txt urllib.1.txt urllib.2.txt zlibmodule.1.txt

d21 1
a21 1
WRKSRC=		${WRKDIR}/Python-1.5.1
d28 1
d68 1
a68 3
	cd ${WRKSRC}/Lib; ${SH} ${FILESDIR}/plat-freebsd2.sh; \
		${SH} ${FILESDIR}/plat-freebsd3.sh;	      \
		${SH} ${FILESDIR}/plat-freebsd4.sh
a77 5
.if ${PORTOBJFORMAT} == elf
LDFLAGS+=	-rdynamic
CONFIGURE_ENV?=	LDFLAGS="${LDFLAGS}"
.endif

d82 1
a82 1
.else	
d87 5
a91 5
	for platform in ${PLATFORMS}; do                     \
		${MKDIR} ${PREFIX}/lib/python1.5/$$platform; \
		${INSTALL_DATA} ${WRKSRC}/Lib/$$platform/*   \
			${PREFIX}/lib/python1.5/$$platform/; \
	done
a94 1
	${INSTALL_SCRIPT} ${PREFIX}/lib/python1.5/plat-freebsd2/regen ${PREFIX}/lib/python1.5/plat-freebsd3
@


1.45
log
@Fix for building/packaging on FreeBSD 4.x.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.44 1999/02/18 09:37:34 thepish Exp $
d116 1
@


1.44
log
@back to 1.5.1. Build is broken, but is ok since python 1.5.2b1 is in ports/lang/python-beta
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.42 1998/12/02 08:24:49 asami Exp $
d79 2
a80 1
		${SH} ${FILESDIR}/plat-freebsd3.sh
d95 8
d104 5
a108 7
.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
@


1.43
log
@upgrade to 1.5.2b1 (fixes build problem along the way)
@
text
@d9 2
a10 2
DISTNAME=       py152b1
PKGNAME=        python-1.5.2b1
d16 11
d32 1
a32 1
WRKSRC=		${WRKDIR}/Python-1.5.2b1
@


1.42
log
@Make sure PLIST is correct whether you have source or not.  Add copyright
file.  Add "|| true" to end of != grep command line to avoid warnings.

Submitted by:	tg
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.41 1998/11/11 05:37:26 asami Exp $
d9 2
a10 2
DISTNAME=       pyth151
PKGNAME=        python-1.5.1
a15 11
PATCH_SITES=	http://www.python.org/1.5/patches-1.5.1/
PATCHFILES=	_tkinter.1.txt SocketServer.1.txt bltinmodule.1.txt \
		bltinmodule.2.txt bltinmodule.3.txt \
		ceval.1.txt classobject.1.txt configure.2.txt fileobject.1.txt \
		freeze.1.txt \
		gzip.1.txt imaplib.1.txt imaplib.2.txt imaplib.3.txt \
		import.1.txt longobject.1.txt object.1.txt \
		parsermodule.1.txt pcre.1.txt sgmllib.1.txt sgmllib.2.txt \
		string.1.txt stringobject.1.txt stropmodule.1.txt \
		timemodule.1.txt urllib.1.txt urllib.2.txt zlibmodule.1.txt

d21 1
a21 1
WRKSRC=		${WRKDIR}/Python-1.5.1
@


1.41
log
@Use bsd.port.{pre,post}.mk.  Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.40 1998/10/06 06:49:12 tg Exp $
d37 1
d62 1
a62 1
LIBC_R!=	/sbin/ldconfig -r | grep c_r
d74 1
d102 1
d107 2
@


1.40
log
@Support dynamic loading of modules in an ELF world.

Submitted by:	Vladimir Kushnir <kushn@@mail.kar.net>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.39 1998/09/25 10:05:08 asami Exp $
d85 6
a90 1
OSVERSION!=	sysctl -n kern.osreldate
d105 1
a105 7
.include <bsd.port.mk>

# need <bsd.port.mk> to get ${PORTOBJFORMAT}
.if ${PORTOBJFORMAT} == elf
LDFLAGS+=	-rdynamic
CONFIGURE_ENV?=	LDFLAGS="${LDFLAGS}"
.endif
@


1.39
log
@tk80 has been ELFized.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.38 1998/08/07 23:56:28 asami Exp $
d27 1
a27 1
MAINTAINER=	tg@@FreeBSD.org
d101 6
@


1.38
log
@Fix up dependencies for ports that moved into the x11-toolkits category.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.37 1998/07/28 06:59:45 tg Exp $
d49 1
a49 1
TK_DEPENDS=	tk80\\.1\\.:${PORTSDIR}/x11-toolkits/tk80
@


1.37
log
@Include latest official patches.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.36 1998/07/23 07:49:12 tg Exp $
d49 1
a49 1
TK_DEPENDS=	tk80\\.1\\.:${PORTSDIR}/x11/tk80
@


1.36
log
@Use ldconfig to check for libc_r, not an absolute path. Thread support
should now be compiled in on -current.

Suggested by:	Jacques Vidrine
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.35 1998/06/25 06:43:26 tg Exp $
d17 4
a20 2
PATCHFILES=	_tkinter.1.txt bltinmodule.1.txt bltinmodule.2.txt \
		ceval.1.txt configure.2.txt fileobject.1.txt freeze.1.txt \
d22 1
a22 1
		import.1.txt object.1.txt \
d24 1
a24 1
		string.1.txt stringobject.1.txt \
@


1.35
log
@Add virtual category "python".

pygist: add dependency on rng.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.34 1998/06/19 09:00:49 tg Exp $
d59 2
a60 1
.if exists(/usr/lib/libc_r.a) && defined(WITH_THREADS) && ${WITH_THREADS} == yes
@


1.34
log
@Pick up latest official patches.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.33 1998/06/05 07:09:01 tg Exp $
d11 1
a11 1
CATEGORIES=	lang tk80
@


1.33
log
@plat-freebsd3 doesn't have a regen script.

Noticed by:		Gianmarco Giovannelli <gmarco@@scotty.masternet.it>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.32 1998/06/03 07:06:32 tg Exp $
d21 2
a22 1
		parsermodule.1.txt pcre.1.txt sgmllib.1.txt string.1.txt \
@


1.32
log
@Add latest official patches.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.31 1998/05/20 08:37:12 tg Exp $
a92 1
.if ${OSVERSION} < 300000
a93 3
.else
	${INSTALL_SCRIPT} ${PREFIX}/lib/python1.5/plat-freebsd3/regen ${PREFIX}/lib/python1.5/plat-freebsd2
.endif
@


1.31
log
@Include latest official patches.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.30 1998/05/07 08:22:02 tg Exp $
d19 2
a20 2
		gzip.1.txt imaplib.1.txt imaplib.2.txt import.1.txt \
		object.1.txt \
@


1.30
log
@Don't throw away OS version number, some scripts need it. Pick up
latest official patches while I'm here.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.29 1998/05/05 08:53:27 tg Exp $
d17 4
a20 2
PATCHFILES=	_tkinter.1.txt bltinmodule.1.txt configure.2.txt \
		fileobject.1.txt freeze.1.txt imaplib.1.txt object.1.txt \
@


1.29
log
@Bring in latest official patches. Use `-pthread' to avoid linking with
libc in the threaded interpreter.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.28 1998/04/29 07:15:39 tg Exp $
d19 2
a20 2
		parsermodule.1.txt pcre.1.txt string.1.txt timemodule.1.txt \
		urllib.1.txt zlibmodule.1.txt
d69 4
d79 11
d91 5
@


1.28
log
@Add new official patches and activate the dl module.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.27 1998/04/24 08:18:23 tg Exp $
d17 4
a20 4
PATCHFILES=	_tkinter.1.txt bltinmodule.1.txt fileobject.1.txt \
		freeze.1.txt object.1.txt \
		parsermodule.1.txt string.1.txt	timemodule.1.txt urllib.1.txt \
		zlibmodule.1.txt
d59 1
@


1.27
log
@Include official patches.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.26 1998/04/15 07:35:47 tg Exp $
d17 4
a20 2
PATCHFILES=	_tkinter.1.txt bltinmodule.1.txt freeze.1.txt object.1.txt \
		parsermodule.1.txt string.1.txt	zlibmodule.1.txt
@


1.26
log
@Upgrade to 1.5.1.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
d16 4
d24 1
@


1.25
log
@Use the combined set of patches.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
d9 2
a10 2
DISTNAME=       python1.5
PKGNAME=        python-1.5
d14 1
a14 3

PATCH_SITES=	http://www.python.org/1.5/
PATCHFILES=	all.txt
d20 1
a20 2
DIST_SUBDIR=	python
WRKSRC=		${WRKDIR}/Python-1.5
@


1.24
log
@Include official patches.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.23 1998/03/03 08:05:04 tg Exp $
d15 2
a16 6
PATCH_SITES=	http://www.python.org/1.5/patches/
PATCHFILES=	abstract.1.txt code.1.txt fileobject.1.txt listobject.1.txt \
		ntpath.1.txt pcre.1.txt pypcre.1.txt pythonrun.1.txt \
		random.1.txt re.1.txt re.2.txt rfc822.1.txt shelve.1.txt \
		strop.1.txt tokenizer.1.txt tokenizer.2.txt urllib.1.txt \
		urllib.2.txt versioncheck.1.txt
@


1.23
log
@Use -D_THREAD_SAFE when compiling the threaded version.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.22 1998/02/27 10:21:32 tg Exp $
d15 7
d26 1
a26 1
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
@


1.22
log
@Use tk80, not an unsupported alpha version of tk81.

Include locale module.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.21 1998/02/24 21:43:19 jseger Exp $
d51 1
@


1.21
log
@Upgrade to use tcl8.1 and tk8.1.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.20 1998/01/07 08:32:53 tg Exp $
d11 1
a11 1
CATEGORIES=	lang tk81
d37 1
a37 1
TK_DEPENDS=	tk81\\.1\\.:${PORTSDIR}/x11/tk81
@


1.20
log
@Make python work with threads again. Looks like our libc_r implements
an older draft of the pthread standard.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.19 1998/01/06 08:02:48 tg Exp $
d11 1
a11 1
CATEGORIES=	lang tk80
d37 1
a37 1
TK_DEPENDS=	tk80\\.1\\.:${PORTSDIR}/x11/tk80
@


1.19
log
@Upgrade to 1.5.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.18 1997/11/24 15:12:43 tg Exp $
d46 1
a46 2
# This is now turned off by default because it doesn't work
# with our libc_r.
d48 1
a48 1
WITH_THREADS?=	no
@


1.18
log
@Use an option to disable the Tk extension (WITH_TK). Don't use
libc_r if we're not building the thread module. Respect options
given in the environment.

The defaults (build with Tk and thread support) don't change.
@
text
@d2 1
a2 1
# Version required:     1.4
d6 1
a6 1
# $Id: Makefile,v 1.17 1997/08/29 07:04:17 tg Exp $
d9 2
a10 2
DISTNAME=       python1.4
PKGNAME=        python-1.4
d13 1
a13 4
		ftp://ftp.cwi.nl/pub/python/src/ \
		ftp://www.python.org/pub/python/contrib/Graphics/Tkinter/ \
		ftp://ftp.cwi.nl/pub/python/contrib/Graphics/Tkinter/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${TKINTER}
d20 1
a20 1
WRKSRC=		${WRKDIR}/Python-1.4
d22 2
a23 2
CONFIGURE_ARGS+=	--with-readline
MAKE_FLAGS+=	'OPT=${CFLAGS}'
d38 1
a38 2
TKINTER=	_tkinter1.4.c
SETUP_LOCAL+=	Setup.tk
d46 4
a49 1
WITH_THREADS?=	yes
a51 1
SETUP_LOCAL+=	Setup.thread
d54 5
a58 3
post-extract:
.if defined(WITH_TK) && $(WITH_TK) == yes
	${CP} ${DISTDIR}/_tkinter1.4.c ${WRKSRC}/Modules/_tkinter.c
@


1.17
log
@Use tk-8.0. Minor makefile cleanups. Add some `@@dirrm's in PLIST.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.16 1997/08/06 06:40:27 tg Exp $
d16 1
a16 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} _tkinter1.4.c
d20 1
a20 1
LIB_DEPENDS=	tk80\\.1\\.:${PORTSDIR}/x11/tk80
d31 15
d50 1
a50 2
WITH_THREADS=	yes
SETUP_FILE=	Setup
d53 1
a53 1
SETUP_FILE=	Setup.thread
d57 1
d59 1
d63 3
@


1.16
log
@Fix tk-4.1 dependency. While I'm here, add libreadline support.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.15 1997/06/02 11:42:56 tg Exp $
d11 1
a11 1
CATEGORIES=	lang tk41
d16 1
d20 1
a20 1
LIB_DEPENDS=	tk41\\.1\\.:${PORTSDIR}/x11/tk41
d22 1
d36 1
a36 1
SETUP_FILE=	'Setup'
d39 1
a39 1
SETUP_FILE=	'Setup.thread'
d41 3
@


1.15
log
@Compile with thread support, if libc_r exists and WITH_THREADS is set.

Submitted by:	Peter Haight <peterh@@prognet.com>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.14 1997/05/14 07:35:11 tg Exp $
d22 2
a23 2
HAS_CONFIGURE=	yes

d30 2
a31 2
# to 'yes', and you must have the FreeBSD threading c library (libc_r) 
# installed. See 'man 3 pthread' for details on libc_r. 
d36 1
a36 1
CONFIGURE_ARGS=	--with-thread
@


1.14
log
@Some reorganization of this port:

- build some modules as shared objects, reducing the interpreter's
  size and removing the dependency on tix
- install shared objects in lib
- remove version number from OS-dependent script dir

A new port of PyTix will follow shortly.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1997/04/20 13:19:11 wosch Exp $
d28 12
d41 1
a41 1
	${CP} ${FILESDIR}/Setup ${WRKSRC}/Modules
@


1.13
log
@Add virtual category 'tk41'.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.12 1997/02/21 14:57:01 tg Exp $
a15 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} PyTix-1.12.tar.gz
d19 1
a19 2
LIB_DEPENDS=	tk41\\.1\\.:${PORTSDIR}/x11/tk41 \
		tix4175\\.1\\.:${PORTSDIR}/x11/tix
a26 8

PYTIXSRC=	${WRKDIR}/PyTix-1.12

post-extract:
	@@${ECHO_MSG} "===>   Add PyTix extensions to Python core"
	${CP} ${PYTIXSRC}/Tkinter.py ${WRKSRC}/Lib/tkinter
	${CP} ${PYTIXSRC}/Tix.py ${WRKSRC}/Lib/tkinter
	${CP} ${PYTIXSRC}/_tkinter.c ${WRKSRC}/Modules
@


1.12
log
@Use new libtix.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1997/01/02 10:02:48 tg Exp $
d11 1
a11 1
CATEGORIES=	lang
@


1.11
log
@Compile in the PyTix extensions, now that we have Tix.

Change MAINTAINER from jkh to tg. OK'd by: Jordan.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1996/11/17 06:12:49 obrien Exp $
d21 1
a21 1
		tix4141\\.1\\.:${PORTSDIR}/x11/tix
@


1.10
log
@Converted to MAN[1-9NL]
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1996/11/12 02:18:59 obrien Exp $
d13 4
a16 1
		ftp://ftp.cwi.nl/pub/python/src/
d18 1
a18 1
MAINTAINER=	jkh@@FreeBSD.org
d20 2
a21 1
LIB_DEPENDS=	tk41\\.1\\.:${PORTSDIR}/x11/tk41
d29 8
@


1.9
log
@CATAGORIES+= -> CATAGORIES=
Reordered vars where needed.  Added MAINTAINERS where needed, many
mkdir --> ${MKDIR}, install -> ${INSTALL_*}, etc.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1996/11/02 19:04:22 jkh Exp $
d24 1
a30 3
.if !defined(NOMANCOMPRESS)
	gzip -9nf ${PREFIX}/man/man1/python.1
.endif
@


1.8
log
@Update to version 1.4
Submitted-By: Thomas Gellekum <thomas@@ghpc8.ihf.rwth-aachen.de>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1996/10/14 23:14:37 asami Exp $
d11 1
a11 1
CATEGORIES+=	lang
d26 1
a26 1
	cp ${FILESDIR}/Setup ${WRKSRC}/Modules
@


1.7
log
@Remove LIB_DEPENDS on tcl75, it seems to compile and run fine using
the tcl library in /usr/lib.
@
text
@d2 1
a2 1
# Version required:     1.2
d6 1
a6 1
# $Id: Makefile,v 1.6 1996/08/17 15:39:33 chuckr Exp $
d9 2
a10 2
DISTNAME=       python1.3
PKGNAME=        python-1.3
d19 1
a19 1
WRKSRC=		${WRKDIR}/Python-1.3
d23 1
a23 1
INSTALL_TARGET=	install libinstall maninstall inclinstall
@


1.6
log
@Make python install include files.
Reviewed by:	jkh
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1996/05/11 23:34:13 jkh Exp $
d17 1
a17 2
LIB_DEPENDS=	tcl75\\.1\\.:${PORTSDIR}/lang/tcl75 \
		tk41\\.1\\.:${PORTSDIR}/x11/tk41
@


1.5
log
@Upgrade this port to use the latest tcl/tk.
Patches Submitted by:	Soren Dayton <soren@@ambiguity.i-2.com>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1996/01/18 10:18:36 jkh Exp $
d24 1
a24 1
INSTALL_TARGET=	install libinstall maninstall
@


1.4
log
@Update to Python 1.3
Submitted by:	tg
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1995/11/22 13:13:06 asami Exp $
d17 2
a18 2
LIB_DEPENDS=	tcl74\\.1\\.:${PORTSDIR}/lang/tcl74 \
		tk40\\.1\\.:${PORTSDIR}/x11/tk4
@


1.3
log
@Change category nome from "languages" to "lang".  Also remove "programming"
which appeared in some of them, everything here is a programming language! :)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1995/08/09 01:30:00 asami Exp $
d9 2
a10 2
DISTNAME=       python1.2
PKGNAME=        python-1.2
d12 2
a13 1
MASTER_SITES=	ftp://www.python.org/pub/python/src/
d17 8
a24 2
LIB_DEPENDS=	tcl\\.7\\.:${PORTSDIR}/lang/tcl \
		tk\\.3\\.:${PORTSDIR}/x11/tk
d29 5
a33 5
pre-install:
	cd ${WRKSRC}; ${MAKE} libinstall

WRKSRC=		${WRKDIR}/Python-1.2
HAS_CONFIGURE=	yes
@


1.2
log
@A little cleanup, move things around to correct order, put
MAINTAINER=jkh@@freebsd.org in a separate line so that people know
who to yell at, etc.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1995/08/08 22:09:06 jkh Exp $
d11 1
a11 1
CATEGORIES+=	languages
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d10 1
a14 2
WRKSRC=		${WRKDIR}/Python-1.2
HAS_CONFIGURE=	yes
d24 3
@


1.1.1.1
log
@The Python programming language.
@
text
@@
