head	1.192;
access;
symbols
	RELEASE_8_3_0:1.180
	RELEASE_9_0_0:1.179
	RELEASE_7_4_0:1.168
	RELEASE_8_2_0:1.168
	RELEASE_6_EOL:1.168
	RELEASE_8_1_0:1.166
	RELEASE_7_3_0:1.165
	RELEASE_8_0_0:1.164
	RELEASE_7_2_0:1.157
	old_RELEASE_7_1_0:1.152
	old_RELEASE_6_4_0:1.152
	old_RELEASE_5_EOL:1.150
	old_RELEASE_7_0_0:1.146
	old_RELEASE_6_3_0:1.146
	old_PRE_XORG_7:1.143
	old_RELEASE_4_EOL:1.143
	old_RELEASE_6_2_0:1.143
	old_old_RELEASE_6_1_0:1.130
	old_old_RELEASE_5_5_0:1.130
	old_old_RELEASE_6_0_0:1.130
	old_old_RELEASE_5_4_0:1.127
	old_old_RELEASE_4_11_0:1.125
	old_old_RELEASE_5_3_0:1.121
	old_old_RELEASE_4_10_0:1.113
	old_old_RELEASE_5_2_1:1.107
	old_old_RELEASE_5_2_0:1.107
	old_old_RELEASE_4_9_0:1.104
	old_old_old_RELEASE_5_1_0:1.95
	old_old_old_RELEASE_4_8_0:1.95
	old_old_old_RELEASE_5_0_0:1.94
	old_old_old_RELEASE_4_7_0:1.89
	old_old_old_RELEASE_4_6_2:1.88
	old_old_old_RELEASE_4_6_1:1.88
	old_old_old_RELEASE_4_6_0:1.88
	old_old_old_RELEASE_5_0_DP1:1.83
	old_old_old_RELEASE_4_5_0:1.83
	old_old_old_RELEASE_4_4_0:1.78
	old_old_old_RELEASE_4_3_0:1.76
	old_old_old_RELEASE_4_2_0:1.72
	old_old_old_RELEASE_4_1_1:1.68
	old_old_old_RELEASE_4_1_0:1.65
	old_old_old_RELEASE_3_5_0:1.65
	old_old_old_RELEASE_4_0_0:1.61
	old_old_old_RELEASE_3_4_0:1.55
	old_old_old_RELEASE_3_3_0:1.53
	old_old_old_RELEASE_3_2_0:1.48
	old_old_old_RELEASE_3_1_0:1.42
	old_old_old_RELEASE_2_2_8:1.41
	old_old_old_RELEASE_3_0_0:1.40
	old_old_old_RELEASE_2_2_7:1.35
	old_old_old_RELEASE_2_2_6:1.23
	old_old_old_RELEASE_2_2_5:1.17
	old_old_old_RELEASE_2_2_1:1.12
	old_old_old_RELEASE_2_2_2:1.14
	old_old_old_python1_2:1.1.1.1
	old_old_old_python:1.1.1;
locks; strict;
comment	@# @;


1.192
date	2012.12.23.21.23.33;	author svnexp;	state Exp;
branches;
next	1.191;

1.191
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.190;

1.190
date	2012.10.03.04.06.37;	author rm;	state Exp;
branches;
next	1.189;

1.189
date	2012.09.08.11.48.59;	author ohauer;	state Exp;
branches;
next	1.188;

1.188
date	2012.07.22.09.45.24;	author mva;	state Exp;
branches;
next	1.187;

1.187
date	2012.06.20.22.35.15;	author mva;	state Exp;
branches;
next	1.186;

1.186
date	2012.06.19.17.48.41;	author mva;	state Exp;
branches;
next	1.185;

1.185
date	2012.05.31.15.17.32;	author miwi;	state Exp;
branches;
next	1.184;

1.184
date	2012.05.31.10.13.54;	author miwi;	state Exp;
branches;
next	1.183;

1.183
date	2012.05.29.16.42.24;	author miwi;	state Exp;
branches;
next	1.182;

1.182
date	2012.05.28.05.16.37;	author miwi;	state Exp;
branches;
next	1.181;

1.181
date	2012.04.11.12.52.16;	author miwi;	state Exp;
branches;
next	1.180;

1.180
date	2012.02.18.17.53.52;	author miwi;	state Exp;
branches;
next	1.179;

1.179
date	2011.11.09.15.25.37;	author miwi;	state Exp;
branches;
next	1.178;

1.178
date	2011.11.05.13.18.26;	author sunpoet;	state Exp;
branches;
next	1.177;

1.177
date	2011.10.28.10.42.23;	author beat;	state Exp;
branches;
next	1.176;

1.176
date	2011.09.25.15.05.18;	author lwhsu;	state Exp;
branches;
next	1.175;

1.175
date	2011.09.23.22.23.45;	author amdmi3;	state Exp;
branches;
next	1.174;

1.174
date	2011.09.18.08.33.14;	author crees;	state Exp;
branches;
next	1.173;

1.173
date	2011.08.19.13.09.30;	author lwhsu;	state Exp;
branches;
next	1.172;

1.172
date	2011.06.08.08.17.06;	author wen;	state Exp;
branches;
next	1.171;

1.171
date	2011.03.07.06.57.38;	author wen;	state Exp;
branches;
next	1.170;

1.170
date	2011.02.24.23.50.26;	author linimon;	state Exp;
branches;
next	1.169;

1.169
date	2011.02.24.23.50.26;	author linimon;	state Exp;
branches;
next	1.168;

1.168
date	2010.09.12.09.07.43;	author wen;	state Exp;
branches;
next	1.167;

1.167
date	2010.07.19.21.59.27;	author jkim;	state Exp;
branches;
next	1.166;

1.166
date	2010.05.12.12.13.06;	author wen;	state Exp;
branches;
next	1.165;

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

1.164
date	2009.09.15.21.41.21;	author miwi;	state Exp;
branches;
next	1.163;

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

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

1.161
date	2009.08.02.10.58.58;	author lwhsu;	state Exp;
branches;
next	1.160;

1.160
date	2009.07.14.09.29.02;	author lwhsu;	state Exp;
branches;
next	1.159;

1.159
date	2009.07.12.17.17.52;	author lwhsu;	state Exp;
branches;
next	1.158;

1.158
date	2009.06.08.22.30.49;	author miwi;	state Exp;
branches;
next	1.157;

1.157
date	2009.03.14.09.33.40;	author bms;	state Exp;
branches;
next	1.156;

1.156
date	2009.02.27.01.25.31;	author sobomax;	state Exp;
branches;
next	1.155;

1.155
date	2009.02.22.19.56.00;	author tmclaugh;	state Exp;
branches;
next	1.154;

1.154
date	2009.02.16.23.32.01;	author miwi;	state Exp;
branches;
next	1.153;

1.153
date	2008.10.13.08.22.58;	author perky;	state Exp;
branches;
next	1.152;

1.152
date	2008.09.08.00.14.06;	author miwi;	state Exp;
branches;
next	1.151;

1.151
date	2008.08.21.06.17.31;	author rafan;	state Exp;
branches;
next	1.150;

1.150
date	2008.04.25.08.16.04;	author miwi;	state Exp;
branches;
next	1.149;

1.149
date	2008.04.19.17.51.33;	author miwi;	state Exp;
branches;
next	1.148;

1.148
date	2008.02.25.16.39.19;	author pav;	state Exp;
branches;
next	1.147;

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

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

1.145
date	2007.10.03.23.22.04;	author edwin;	state Exp;
branches;
next	1.144;

1.144
date	2007.07.30.09.41.36;	author alexbl;	state Exp;
branches;
next	1.143;

1.143
date	2006.10.13.07.16.45;	author perky;	state Exp;
branches;
next	1.142;

1.142
date	2006.10.10.05.31.20;	author perky;	state Exp;
branches;
next	1.141;

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

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

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

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

1.137
date	2006.08.10.10.05.12;	author perky;	state Exp;
branches;
next	1.136;

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

1.135
date	2006.07.15.19.37.32;	author linimon;	state Exp;
branches;
next	1.134;

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

1.133
date	2006.05.09.20.52.19;	author edwin;	state Exp;
branches;
next	1.132;

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

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

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

1.129
date	2005.04.12.03.25.52;	author obrien;	state Exp;
branches;
next	1.128;

1.128
date	2005.04.11.08.02.59;	author obrien;	state Exp;
branches;
next	1.127;

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

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

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

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

1.123
date	2004.11.15.05.19.29;	author sf;	state Exp;
branches;
next	1.122;

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

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

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

1.119
date	2004.08.07.06.36.57;	author perky;	state Exp;
branches;
next	1.118;

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

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

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

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

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

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

1.112
date	2004.03.18.07.00.07;	author perky;	state Exp;
branches;
next	1.111;

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

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

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

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

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

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

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

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

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

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

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

1.100
date	2003.07.03.14.41.08;	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.192
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309444
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309444 | lwhsu | 2012-12-23 17:52:46 +0000 (Sun, 23 Dec 2012) | 16 lines
## SVN ##
## SVN ## - Remove "first-installed-win" logic for automatically setting
## SVN ##   ${PYTHON_DEFAULT_VERSION}, this generates conflicting packages.
## SVN ##
## SVN ## - Create symbolic links as PEP 394 [1] suggests. ${PYTHON_DEFAULT_VERSION}
## SVN ##   will create python and python${MAJOR_VERSION} links.  In current default,
## SVN ##   lang/python27 will create: python -> python2 -> python2.7
## SVN ##
## SVN ## - Introduce ${PYTHON3_DEFAULT_VERSION}, which will handle bin/python3 link.
## SVN ##   At this point, lang/python33 will create python3 -> python3.3
## SVN ##
## SVN ## - Minor cleanups
## SVN ##   * Trim Makefile headers
## SVN ##   * Remove ${OSVERSION} detection for xz, whihc is done by USE_XZ
## SVN ##
## SVN ## [1] http://www.python.org/dev/peps/pep-0394/
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Hye-Shik Chang <perky@@FreeBSD.org>
# $FreeBSD: head/lang/python26/Makefile 309444 2012-12-23 17:52:46Z lwhsu $

PORTNAME=	python26
PORTVERSION=	2.6.8
PORTREVISION=	4
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}/portbld.static
PATCH_WRKSRC=	${PYTHON_WRKSRC}
GNU_CONFIGURE=	yes
CONFIGURE_SCRIPT=	../configure # must be relative
CONFIGURE_ENV=	SVNVERSION="echo freebsd"
MAKE_ENV=	VPATH="${PYTHON_WRKSRC}"
USE_LDCONFIG=	yes
MAKE_JOBS_SAFE=	yes
INSTALL_TARGET=	altinstall
MAN1=		${PYTHON_VERSION}.1

USE_PYTHON=	yes
USE_XZ=		yes
PYTHON_VERSION=	python2.6
PYTHON_NO_DEPENDS=	yes

SHARED_WRKSRC=	${PYTHON_WRKSRC}/portbld.shared
PLIST=		${WRKDIR}/PLIST
PLIST_TEMPLATE?=${PKGDIR}/pkg-plist
PLIST_SUB=	PYVER=${PYTHON_VERSION:S/python//} \
		PYMAJOR=${PYTHON_MAJOR_VER} \
		PYVER_WITHPAT=${PORTVERSION:S/.c/c/}
EXAMPLESDIR=	${PREFIX}/share/examples/${PYTHON_VERSION}
DATADIR=	${PREFIX}/share/${PYTHON_VERSION}

PLATFORMS=	plat-freebsd6 plat-freebsd7 plat-freebsd8 plat-freebsd9 \
		plat-freebsd10

BIN_SCRIPTS=	2to3 idle pydoc smtpd.py
BIN_FILES=	python python-shared python-config python-shared-config \
		${BIN_SCRIPTS}
BINLINKS_SUB_TMPL=	-e 's,smtpd,smtpd%%VERSION%%,' \
			-e 's,2to3,2to3-%%VERSION%%,' \
			-e 's,(idle|pydoc|python-shared|python),\1%%VERSION%%,'
BINLINKS_SUB_PYTHON_VER=	${BINLINKS_SUB_TMPL:S/%%VERSION%%/${PYTHON_VER}/g}
BINLINKS_SUB_PYTHON_MAJOR_VER=	${BINLINKS_SUB_TMPL:S/%%VERSION%%/${PYTHON_MAJOR_VER}/g}

OPTIONS_DEFINE=		THREADS SEM PTH PYMALLOC IPV6 FPECTL EXAMPLES NLS
OPTIONS_DEFAULT=	THREADS UCS4 PYMALLOC IPV6

OPTIONS_SINGLE=	UCS
OPTIONS_SINGLE_UCS=	UCS2 UCS4

NLS_DESC=	Enable Gettext support for the locale module

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MSEM}
.if ${OSVERSION} >= 701106
SEM_MSG=	""
.else
IGNORE=		POSIX semaphore support only works in FreeBSD 7-STABLE and later
.endif # ${OSVERSION} >= 701106
.else
SEM_MSG=	"@@comment "
.endif

SUB_FILES=	pkg-message
SUB_LIST=	SEM=${SEM_MSG}

.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
MLINKS=		${PYTHON_VERSION}.1 python.1
PLIST_SUB+=	IF_DEFAULT=""
.else
PLIST_SUB+=	IF_DEFAULT="@@comment "
.endif

.if ${PORT_OPTIONS:MNLS}
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 ${PORT_OPTIONS:MTHREADS}
PLIST_SUB+=	THREADS=""
.if ${PORT_OPTIONS:MPTH}
CONFIGURE_ARGS+=	--with-pth
EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-configure-pth
LIB_DEPENDS+=		pth:${PORTSDIR}/devel/pth
_PTH_CPPFLAGS=		"-I${LOCALBASE}/include/pth"
_PTH_LDFLAGS=		"-L${LOCALBASE}/lib/pth"
CPPFLAGS+=		${_PTH_CPPFLAGS}
LDFLAGS+=		${_PTH_LDFLAGS}
.else
CONFIGURE_ARGS+=	--with-threads
CFLAGS+=		${PTHREAD_CFLAGS}
LDFLAGS+=		${PTHREAD_LIBS}
.endif
.else
PLIST_SUB+=	THREADS="@@comment "
CONFIGURE_ARGS+=	--without-threads
.endif

.if ${PORT_OPTIONS:MUCS4}
CONFIGURE_ARGS+=	--enable-unicode=ucs4
.endif

.if ${PORT_OPTIONS:MUCS2}
CONFIGURE_ARGS+=	--enable-unicode=ucs2
.endif

.if empty(PORT_OPTIONS:MPYMALLOC)
CONFIGURE_ARGS+=	--without-pymalloc
.endif

.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64
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 ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif

.if ${PORT_OPTIONS:MFPECTL}
CONFIGURE_ARGS+=	--with-fpectl
.endif

CONFIGURE_ENV+=	OPT="${CFLAGS} ${_PTH_CPPFLAGS}"

pre-patch:
	${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \
		${PATCH_WRKSRC}/Lib/plat-freebsd9
	${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \
		${PATCH_WRKSRC}/Lib/plat-freebsd10
	${MKDIR} ${WRKSRC} ${SHARED_WRKSRC}/Modules
	${LN} ${PATCH_WRKSRC}/Lib/smtpd.py ${PATCH_WRKSRC}/Tools/scripts/
.for script in ${BIN_SCRIPTS}
	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
		${PATCH_WRKSRC}/Tools/scripts/${script} \
		> ${WRKDIR}/`${ECHO_CMD} ${script} | ${SED} -E ${BINLINKS_SUB_PYTHON_VER}`
.endfor
	${REINPLACE_CMD} -e \
		's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \
		${PATCH_WRKSRC}/Lib/pydoc.py
	${REINPLACE_CMD} -e \
		's|^\( *prefixes = .*\)\]$$|\1, "${LOCALBASE}"]|g' \
		${PATCH_WRKSRC}/Lib/site.py
	${REINPLACE_CMD} -e \
		's|^	\(..ASDLGEN.*\)$$|	${TRUE}|g; \
		s|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
		${PATCH_WRKSRC}/Makefile.pre.in

	${REINPLACE_CMD} -e \
		's|*\(..INSTALL_SCRIPT.*\)python-config$$|#port \1|' \
		${PATCH_WRKSRC}/Makefile.pre.in

	${SED} -e 's|^#!.*|#!${PREFIX}/bin/${PYTHON_VERSION}|' \
		-e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|' \
		${PATCH_WRKSRC}/Misc/python-config.in > ${WRKDIR}/${PYTHON_VERSION}-config
	${SED} -e 's|^#!.*|#!${PREFIX}/bin/${PYTHON_VERSION:S/thon/thon-shared/}|' \
		-e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|' \
		${PATCH_WRKSRC}/Misc/python-config.in > ${WRKDIR}/${PYTHON_VERSION:S/thon/thon-shared/}-config

.if ${PORT_OPTIONS:MFPECTL} && ${ARCH} == i386
	${MKDIR} ${WRKSRC}/Modules
	${ECHO} "fpectl fpectlmodule.c" >> ${WRKSRC}/Modules/Setup.dist
.endif

post-patch:
.if ${PORT_OPTIONS:MSEM}
.if ${OSVERSION} >= 701106
	@@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-setup.py
.endif
.endif
.if defined(WITHOUT_NIS)
	${REINPLACE_CMD} -e \
	    's/disabled_module_list =[^]]*/&, "nis"/' \
		${PATCH_WRKSRC}/setup.py
.endif

post-configure:
	${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${SHARED_WRKSRC} -xf -
	${LN} -sf ${PYTHON_WRKSRC}/Lib ${WRKSRC}/Lib
	${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,' \
		-e 's,^\(.(BUILDPYTHON):.*\).(LIBRARY),\1,' \
		${WRKSRC}/Makefile > ${SHARED_WRKSRC}/Makefile

pre-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:
.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:
	${CAT} ${PLIST_TEMPLATE} | ${AWK} '{ print $$0; } \
	/LIBDIR.*\.py$$/ && \
	!/\/bad|tests\/data/ \
	{ print $$0 "o"; print $$0 "c"; }'      > ${PLIST}

	@@# if openssl 0.9.8 is detected, _sha{256,512} module won't be installed
	([ -f ${WRKSRC}/.without_own_sha ] && \
		${GREP} -v 'lib-dynload/_sha' ${PLIST} > ${PLIST}.tmp && \
		${CAT} ${PLIST}.tmp > ${PLIST}) || ${TRUE}

post-install:
	@@# install config providers
	${INSTALL_SCRIPT} ${WRKDIR}/${PYTHON_VERSION}-config ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKDIR}/${PYTHON_VERSION:S/thon/thon-shared/}-config ${PREFIX}/bin

	@@# 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
.for script in ${BIN_SCRIPTS}
	${INSTALL_SCRIPT} \
		${WRKDIR}/`${ECHO_CMD} ${script} | ${SED} -E ${BINLINKS_SUB_PYTHON_VER}` \
		${PREFIX}/bin
.endfor
	@@${MKDIR} ${MANPREFIX}/man/man1
	${INSTALL_MAN} ${PYTHON_WRKSRC}/Misc/python.man \
		${MANPREFIX}/man/man1/${PYTHON_VERSION}.1

.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
	for f in ${BIN_FILES}; do \
		TARGET=`${ECHO_CMD} $$f | ${SED} -E ${BINLINKS_SUB_PYTHON_VER}`; \
		TARGET_MAJOR=`${ECHO_CMD} $$f | ${SED} -E ${BINLINKS_SUB_PYTHON_MAJOR_VER}`; \
		cd ${PREFIX}/bin && ${LN} -sf $$TARGET $$TARGET_MAJOR; \
		cd ${PREFIX}/bin && ${LN} -sf $$TARGET_MAJOR $$f; \
	done
.endif

.if !defined(NOPORTDATA)
	@@${MKDIR} ${DATADIR}
	@@cd ${PYTHON_WRKSRC}; ${TAR} -cf - Tools | \
		(cd ${DATADIR}; ${TAR} -xf -)
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	@@${MKDIR} ${EXAMPLESDIR}
	@@cd ${PYTHON_WRKSRC}/Demo; ${TAR} -cf - * | \
		(cd ${EXAMPLESDIR}; ${TAR} -xf -)
.endif

	@@${CAT} ${PKGMESSAGE}

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


1.191
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:    python26
# Date created:         3 July 2003
# Whom:                 Hye-Shik Chang <perky@@FreeBSD.org>
#
# $FreeBSD: head/lang/python26/Makefile 305181 2012-10-03 04:06:37Z rm $
#
d6 1
a6 1
PORTREVISION=	3
d36 1
d47 5
a51 3
BINLINKS_SUB=	-e 's,smtpd,smtpd${PYTHON_VER},' \
		-e 's,2to3,2to3-${PYTHON_VER},' \
		-e 's,(idle|pydoc|python-shared|python),\1${PYTHON_VER},'
d69 1
a69 1
.else 
d76 1
a76 1
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} || !exists(${LOCALBASE}/bin/python)
d163 1
a163 1
		> ${WRKDIR}/`${ECHO_CMD} ${script} | ${SED} -E ${BINLINKS_SUB}`
d259 1
a259 1
		${WRKDIR}/`${ECHO_CMD} ${script} | ${SED} -E ${BINLINKS_SUB}` \
d266 1
a266 1
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} || !exists(${LOCALBASE}/bin/python)
d268 4
a271 2
		TARGET=`${ECHO_CMD} $$f | ${SED} -E ${BINLINKS_SUB}`; \
		cd ${PREFIX}/bin && ${LN} -f $$TARGET $$f; \
@


1.190
log
@SVN rev 305181 on 2012-10-03 04:06:37Z by rm

- do not hardcode distfile extension for lang/python ports in bsd.python.mk
  (PYTHON_DISTFILE variable)
- switch lang/python ports (and it's slaves) to tar.xz

I compared all the four pairs .tgz/.tar.xz and they have no content differences.

Discussed on:	python@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.189
log
@SVN rev 303895 on 2012-09-08 11:48:59Z by ohauer

- fix PORT_OPTIONS s/)/}/
@
text
@d32 1
@


1.188
log
@SVN rev 301311 on 2012-07-22 09:45:24Z by mva

- Fix Python OPT flags for WITH_PTH knob

PR:		ports/168767
Submitted by:	Marcus von Appen <mva@@freebsd.org>
@
text
@d187 1
a187 1
.if ${PORT_OPTIONS:MFPECTL) && ${ARCH} == i386
@


1.187
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
@d10 1
a10 1
PORTREVISION=	2
d24 1
a24 1
CONFIGURE_ENV=	OPT="${CFLAGS}" SVNVERSION="echo freebsd"
d151 2
d181 1
d184 1
@


1.186
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
@d85 3
a87 2
LDFLAGS+=	"-L${LOCALBASE}/lib"
CFLAGS+=	"-I${LOCALBASE}/include"
@


1.185
log
@- Revert back UCS changes
@
text
@d53 1
a53 1
OPTIONS_DEFINE=		THREADS SEM PTH PYMALLOC IPV6 FPECTL EXAMPLES
d59 2
d83 8
@


1.184
log
@- Correct PYMALLOC logic (that fix the build of devel/gobject-introspection)
- Remove old OPTION layout from py32
- Bump PORTREVISON
@
text
@d10 1
a10 1
PORTREVISION=	1
d54 1
a54 1
OPTIONS_DEFAULT=	THREADS UCS2 PYMALLOC IPV6
@


1.183
log
@- Convert to new options framework

Reviewed by:	bapt
@
text
@d10 1
d54 1
a54 1
OPTIONS_DEFAULT=	THREADS UCS4 PYMALLOC IPV6
d57 1
a57 1
OPTIONS_SINGLE_UCS=	UCS4 UCS2
d109 1
a109 1
.if ${PORT_OPTIONS:MPYMALLOC}
@


1.182
log
@- Unbreak build on powerpc

PR:		168361
Submitted by:	linimon
@
text
@d52 5
a56 7
OPTIONS=	THREADS "Enable thread support" on \
		SEM "Use POSIX semaphores (experimental)" off \
		PTH "Use GNU Pth for threading/multiprocessing" off \
		UCS4 "Use UCS4 for unicode support" on \
		PYMALLOC "Use python's internal malloc" on \
		IPV6 "Enable IPv6 support" on \
		FPECTL "Enable floating point exception handling" off
d60 1
a60 1
.if defined(WITH_SEM)
d66 1
a66 1
.else # !defined(WITH_SEM)
d68 1
a68 1
.endif # defined(WITH_SEM)
d80 1
a80 1
.if !defined(WITHOUT_THREADS)
d82 1
a82 1
.if defined(WITH_PTH)
d90 1
a90 1
.else # !defined(WITH_PTH)
d94 2
a95 2
.endif # defined(WITH_PTH)
.else # defined(WITHOUT_THREADS)
d98 1
a98 1
.endif # !defined(WITHOUT_THREADS)
d100 1
a100 1
.if !defined(WITHOUT_UCS4) && !defined(WITH_UCS2)
d104 5
a108 1
.if defined(WITHOUT_PYMALLOC)
d129 1
a129 1
.if !defined(WITHOUT_IPV6)
d135 1
a135 1
.if defined(WITH_FPECTL)
d171 1
a171 1
.if defined(WITH_FPECTL) && ${ARCH} == i386
d177 1
a177 1
.if defined(WITH_SEM)
d262 1
a262 1
.if !defined(NOPORTEXAMPLES)
@


1.181
log
@- Update:
  * python26 -> 2.6.8
  * python27 -> 2.7.3
  * python31 -> 3.1.5
  * python32 -> 3.2.1

Security:	http://www.vuxml.org/freebsd/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html
		CVE-2012-0845 CVE-2012-0876 CVE-2012-1150 CVE-2012-0845 CVE-2011-3389
@
text
@d110 1
a110 6
.if ${ARCH} == powerpc
PLIST_SUB+=	NOT_FOR_POWERPC="@@comment "
.else
PLIST_SUB+=	NOT_FOR_POWERPC=""
.endif
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha
@


1.180
log
@- Mark Python as Secure
- Fix DoS via malformed XML-RPC / HTTP POST

Submitted by:	rm@@
Reported by:	many
Obtained from:	python hg
Security:	http://www.vuxml.org/freebsd/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html
@
text
@d9 1
a9 2
PORTVERSION=	2.6.7
PORTREVISION=	3
@


1.179
log
@- Remove WITH_FBSD10_FIX, is no longer needed
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.178
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
@a26 1
WITH_FBSD10_FIX=	yes
@


1.177
log
@- Fix build on FreeBSD 10

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

@


1.176
log
@- Remove the HUGE_STACK_SIZE option, now Python will use default
  thread stack size of the system.
@
text
@d26 1
d43 2
a44 1
PLATFORMS=	plat-freebsd6 plat-freebsd7 plat-freebsd8 plat-freebsd9
d149 2
@


1.175
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
@d9 1
a51 1
		HUGE_STACK_SIZE "Use a larger thread stack" off \
a98 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.174
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
@d92 2
a93 2
CONFIGURE_ENV+=		CPPFLAGS="${_PTH_CPPFLAGS} ${CPPFLAGS}"
CONFIGURE_ENV+=		LDFLAGS="${_PTH_LDFLAGS} ${LDFLAGS}"
d97 1
a97 1
CONFIGURE_ENV+=		LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
a106 3
.if defined(LDFLAGS)
CONFIGURE_ENV+=		LDFLAGS="${LDFLAGS}"
.endif # defined(LDFLAGS)
@


1.173
log
@- Fix pkg-plist when building with WITHOUT_THREADS

PR:		ports/159842
Submitted by:	Ruslan Mahmatkhanov <cvs-src@@yandex.ru>
@
text
@d134 2
a135 1
.if !exists(/usr/bin/ypcat) # the world with NO_NIS
d137 1
d193 5
@


1.172
log
@- Update to 2.6.7
@
text
@d85 1
d105 1
@


1.171
log
@- Apply two patch from svn.python.org to fix CVE-2010-3493 and SA43463

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-3493
http://secunia.com/advisories/43463
@
text
@d8 1
a8 2
PORTVERSION=	2.6.6
PORTREVISION=	1
@


1.170
log
@Changes to make python ports work on powerpc (32-bit mode; 64-bit not
yet tested).

Tested on:	powerpc, i386
Hat:		portmgr
PR:		ports/153657 (partial)
Submitted by:	andreast
@
text
@d9 1
@


1.169
log
@Changes to make python ports work on powerpc (32-bit mode; 64-bit not
yet tested).

Tested on:	powerpc, i386
Hat:		portmgr
PR:		ports/153657 (partial)
Submitted by:	andreast
@
text
@d118 5
@


1.168
log
@- Update to 2.6.6
@
text
@a117 5
.if ${ARCH} == i386
PLIST_SUB+=	X86_ONLY=""
.else
PLIST_SUB+=	X86_ONLY="@@comment "
.endif
@


1.167
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
@d8 1
a8 2
PORTVERSION=	2.6.5
PORTREVISION=	1
d41 1
a41 2
PLATFORMS=	plat-freebsd4 plat-freebsd5 plat-freebsd6 \
		plat-freebsd7 plat-freebsd8 plat-freebsd9
d165 2
a166 1
		's|^	\(..ASDLGEN.*\)$$|	${TRUE}|g' \
d218 3
a220 1
	/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }'	> ${PLIST}
@


1.166
log
@- Update lang/python26 to 2.6.5
- Update lang/python31 to 3.1.2

Reviewed by:	miwi@@, lwhsu@@
@
text
@d9 1
@


1.165
log
@- Update to 2.6.4

Changelog:
	http://python.org/download/releases/2.6.4/NEWS.txt
@
text
@d8 1
a8 1
PORTVERSION=	2.6.4
@


1.164
log
@Fix build if POSIX semaphore enabled is

Reported by:	many on ports@@/python@@
Patched by:	beat@@

Feature safe: yes
@
text
@d8 1
a8 2
PORTVERSION=	2.6.2
PORTREVISION=	3
@


1.163
log
@- Add support for FreeBSD 9.0

PR:		based on 138600
@
text
@a64 1
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-setup.py
d184 7
@


1.162
log
@- Use dirrmtry in lib-old dir to fix some plist leftlovers
@
text
@d9 1
a9 1
PORTREVISION=	2
d43 1
a43 1
		plat-freebsd7 plat-freebsd8
d152 2
@


1.161
log
@- Fix build with WITH_SEM but ${OSVERSION} < 701106 (mark IGNORE correctly)

PR:		ports/136992
Submitted by:	Andrey Zonov <andrey.zonov AT gmail.com>
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.160
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
@a68 1
.
@


1.159
log
@- Honor EXAMPLESDIR, DATADIR, NOPORTEXAMPLES, NOPORTDATA
- portlint(1)
@
text
@d9 1
d78 1
a78 1
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
d244 1
a244 1
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
@


1.158
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
@d15 1
a15 1
COMMENT?=	An interpreted object-oriented programming language
d38 2
a39 2
DEMODIR=	${PREFIX}/share/examples/${PYTHON_VERSION}
TOOLSDIR=	${PREFIX}/share/${PYTHON_VERSION}
d74 2
a75 2
SUB_FILES=      pkg-message
SUB_LIST=       SEM=${SEM_MSG}
d250 2
a251 2
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${TOOLSDIR}
d253 4
a256 2
		(cd ${TOOLSDIR}; ${TAR} -xf -)
	@@${MKDIR} ${DEMODIR}
d258 1
a258 1
		(cd ${DEMODIR}; ${TAR} -xf -)
@


1.157
log
@Add support for building Python against GNU Portable Threads (Pth),
and also add experimental support for POSIX semaphores in FreeBSD
7-STABLE and up. The option knobs PTH and SEM respectively are
added to enable this behaviour.

Python is able to use POSIX semaphores for thread synchronization
in threading, and prefers them.
The multiprocessing module in Python 2.6 requires POSIX semaphores,
however, the FreeBSD rtld and malloc need further work to allow
a process to call pthread_create() immediately after fork() as it is
not something allowed by a strict interpretation of the POSIX specs;
therefore allow GNU Pth to be used until the situation is resolved.

Approved by:	miwi
@
text
@d8 1
a8 2
PORTVERSION=	2.6.1
PORTREVISION=	2
d25 1
@


1.156
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
@d53 2
d62 15
d88 9
d99 2
d106 1
a106 2
CONFIGURE_ENV+=		LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
.else
@


1.155
log
@Fix typo in UCS4 knob handling.

Noted by:	Dominic Fandrey <kamikaze@@bsdforen.de> via freebsd-python@@
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.154
log
@- Update to python 2.5.4 and python 2.6.1

Reviewed by:	perky | lwhsu
Tested with:	exp-run via pav
@
text
@d9 1
d87 1
a87 1
CONFIGURE_ARGS-=	--enable-unicode=ucs4
@


1.153
log
@Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)
Python 2.6 will be the next default python version when enough
testings of consumer ports are done.  The new "2to3" program is
renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively.

Repo-copied by:	marcus
@
text
@d8 1
a8 1
PORTVERSION=	2.6
d86 1
a86 1
CONFIGURE_ARGS+=	--enable-unicode=ucs4
d90 1
a90 1
CONFIGURE_ARGS+=        --without-pymalloc
d99 1
a99 1
PLIST_SUB+=     32BIT_ONLY="@@comment "
d101 1
a101 1
PLIST_SUB+=     32BIT_ONLY=""
d104 1
a104 1
CFLAGS+=        -DPYTHON_DEFAULT_RECURSION_LIMIT=900
d114 1
a114 1
CONFIGURE_ARGS+= --enable-ipv6
d116 1
a116 1
CONFIGURE_ARGS+= --disable-ipv6
d120 1
a120 1
CONFIGURE_ARGS+= --with-fpectl
@


1.152
log
@- Security fixes

Multiple vulnerabilities:

	1) Various integer overflow errors exist in core modules e.g. stringobject,
	   unicodeobject, bufferobject, longobject, tupleobject, stropmodule, gcmodule, mmapmodule.
	2) An integer overflow in the hashlib module can lead to an unreliable cryptographic digest results.
	3) Integer overflow errors in the processing of unicode strings can be exploited to cause
	   buffer overflows on 32-bit systems.
	4) An integer overflow exists in the PyOS_vsnprintf() function on architectures that do not
	   have a "vsnprintf()" function.
	5) An integer underflow error in the PyOS_vsnprintf() function when passing zero-length strings
	   can lead to memory corruption.

PR:		127172 (based on)
Submitted by:	bf <bf2006a@@yahoo.com>
Obtained from:	python svn
Security:	CVE-2008-2315, CVE-2008-2316, CVE-2008-3142, CVE-2008-3144, CVE-2008-3143. (vuxml come later)
@
text
@d1 1
a1 1
# New ports collection makefile for:    python25
d7 2
a8 3
PORTNAME=	python25
PORTVERSION=	2.5.2
PORTREVISION=	3
d29 1
a29 1
PYTHON_VERSION=	python2.5
d43 3
a45 2
BIN_SCRIPTS=	idle pydoc python python-shared smtpd.py python-config \
		python-shared-config
d47 1
d125 2
d128 3
a130 5
		${PATCH_WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.5
	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
		${PATCH_WRKSRC}/Tools/scripts/idle > ${WRKDIR}/idle2.5
	${SED} -e '1s,^.*$$,#!${PREFIX}/bin/${PYTHON_VERSION},' \
		${PATCH_WRKSRC}/Lib/smtpd.py > ${WRKDIR}/smtpd2.5.py
d206 5
a210 2
	${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.5 ${WRKDIR}/idle2.5 \
		${WRKDIR}/smtpd2.5.py ${PREFIX}/bin
d216 1
a216 1
	for f in ${BIN_SCRIPTS}; do \
@


1.151
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
@d9 1
a9 1
PORTREVISION=	2
@


1.150
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

Reviewed by:	alexbl
Obtained from:	python svn
Security:	http://www.vuxml.org/freebsd/ec41c3e2-129c-11dd-bab7-0016179b2dd5.html
@
text
@a21 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.149
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
@d9 1
a9 1
PORTREVISION=	1
@


1.148
log
@- Fix plist

Reported by:	pointyhat
@
text
@d26 1
a26 1
INSTALLS_SHLIB=	yes
d135 1
a135 1
		's|^\( *prefixes = .*\)\]$$|\1, "${X11BASE}"]|g' \
@


1.147
log
@Update to Python 2.5.2.
@
text
@d9 1
@


1.146
log
@Add support for FreeBSD 8.

Obtained from:	Python SVN (r58697, r58698)
@
text
@d8 1
a8 2
PORTVERSION=	2.5.1
PORTREVISION=	1
@


1.145
log
@Remove support for OSVERSION < 5
@
text
@d9 1
d42 3
a122 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.144
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
@d109 1
a109 7
.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

.if !defined(WITHOUT_IPV6) && ${OSVERSION} >= 400014
d123 1
a123 1
.elif ${OSVERSION} >= 500000
a124 2
.else
PLATFORMS=plat-freebsd5 plat-freebsd6 plat-freebsd7
@


1.143
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
@d8 1
a8 2
PORTVERSION=	2.5
PORTREVISION=	1
d41 4
a44 5
.if !exists(/usr/bin/ypcat) # the world with NO_NIS
PLIST_EXCLUDE=	'nis.so$$'
.else
PLIST_EXCLUDE=	'^$$' # nothing
.endif
d55 7
d103 6
d194 1
a194 2
	${EGREP} -v ${PLIST_EXCLUDE} ${PLIST_TEMPLATE} | \
	${AWK} '{ print $$0; } \
d224 7
@


1.142
log
@Fix build with WITH_FPECTL=yes on i386.

PR:		104243
Submitted by:	S Roberts <stacey@@vickiandstacey.com>
@
text
@d9 1
d27 2
a28 2
INSTALL_TARGET=	install
MAN1=		python.1 ${PYTHON_VERSION}.1
a32 1
LATEST_LINK=	${PYTHON_VERSION:S/.//}
a205 4
	cd ${PREFIX}/bin; \
		${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared; \
		${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/}-config \
			python-shared-config; \
@


1.141
log
@- Restrict a dependency to the real interpreter to _RUN only.  This
  allows portupgrade to upgrade lang/python from 2.4 flawlessly.
- So remove obsolete instruction.
@
text
@d152 1
@


1.140
log
@Simple portupgrade doesn't upgrade python correctly, so add a check
and an instruction.
@
text
@a181 7
	@@if [ -f ${PREFIX}/bin/python ]; then \
		${ECHO_CMD} "=============================="; \
		${ECHO_CMD} "If you're upgrading it using portupgrade, try portupgrade -o lang/python25 python-2.4.x"; \
		${ECHO_CMD} "=============================="; \
		${FALSE}; \
	fi

@


1.139
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
@d182 7
@


1.138
log
@- Update lang/python-devel to Python 2.5c2
- Sync some recent workarounds from lang/python.
@
text
@d1 1
a1 1
# New ports collection makefile for:    python-devel
d7 2
a8 2
PORTNAME=	python
PORTVERSION=	2.5.c2
d14 1
a14 1
MAINTAINER=	perky@@FreeBSD.org
d26 2
a27 2
INSTALL_TARGET=	altinstall
MAN1=		${PYTHON_VERSION}.1
d36 1
a36 1
PLIST_TEMPLATE=	${PKGDIR}/pkg-plist
d205 4
d226 2
@


1.137
log
@Fix plist for FreeBSD 7 or systems with OpenSSL 0.9.8.

Spotted by:	pointyhat via kris
@
text
@d8 1
a8 1
PORTVERSION=	2.5.b3
d35 2
d38 1
a38 1
		PYVER_WITHPAT=${PORTVERSION:S/.b/b/}
d42 5
a46 2
PLIST=		${WRKDIR}/PLIST
PLIST_TEMPLATE=	${PKGDIR}/pkg-plist
d151 4
d182 3
a184 3
	${AWK} '{ print $$0; }						\
	/LIBDIR.*\.py$$/ && !/\/bad/ { print $$0 "o"; print $$0 "c"; }'	\
	${PLIST_TEMPLATE} > ${PLIST}
@


1.136
log
@Update python-devel to 2.5b3.
@
text
@d177 5
@


1.135
log
@Mark broken: fails to install cleanly.
@
text
@d8 1
a8 1
PORTVERSION=	2.5.b1
a16 2
BROKEN=		fails to deinstall cleanly

@


1.134
log
@Update python-devel to 2.5b1.
@
text
@d17 2
@


1.133
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d8 1
a8 1
PORTVERSION=	2.5.a0.20060326
d35 2
a36 1
PLIST_SUB=	PYVER=${PYTHON_VERSION:S/python//}
d137 9
d178 4
@


1.132
log
@Fix build on environments without python.
@
text
@a29 1
USE_REINPLACE=	yes
@


1.131
log
@Update to Python trunk snapshot as of 2006-03-26.
@
text
@d133 3
@


1.130
log
@Update python-devel to 2.5.a0.20050728 snapshot.
@
text
@d8 1
a8 1
PORTVERSION=	2.5.a0.20050728
d18 2
a19 1
WRKSRC=		${PYTHON_WRKSRC}
d22 3
a24 2
CONFIGURE_ENV=	OPT="${CFLAGS}"
MAKE_ENV=	VPATH="${WRKSRC}"
d35 1
a35 1
SHARED_WRKSRC=	${WRKSRC}/build.shared
d40 3
d52 3
d119 2
a120 1
post-extract:
d122 1
a122 1
		${WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.5
d124 1
a124 1
		${WRKSRC}/Tools/scripts/idle > ${WRKDIR}/idle2.5
d126 1
a126 3
		${WRKSRC}/Lib/smtpd.py > ${WRKDIR}/smtpd2.5.py

pre-patch:
d129 1
a129 1
		${WRKSRC}/Lib/pydoc.py
d132 1
a132 1
		${WRKSRC}/Lib/site.py
d135 2
a136 4
	@@# prepare a subdir for shared build
.for subdir in Modules Parser Python Objects
	${MKDIR} ${SHARED_WRKSRC}/${subdir}
.endfor
a143 8
	${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/
d145 1
a145 1
post-build:
d160 5
d180 1
a180 1
	${INSTALL_MAN} ${WRKSRC}/Misc/python.man \
d185 2
a186 2
	@@cd ${WRKSRC}; tar -c --exclude='*CVS*' -f - Tools | \
		(cd ${TOOLSDIR}; tar xf -)
d188 2
a189 2
	@@cd ${WRKSRC}/Demo; tar -c --exclude='*CVS*' -f - * | \
		(cd ${DEMODIR}; tar xf -)
@


1.129
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d8 1
a8 2
PORTVERSION=	2.5.a0.20050129
PORTREVISION=	1
a13 3
PATCH_SITES=	http://www.python.org/security/PSF-2005-001/
PATCHFILES=	patch.txt

a20 1
CONFIGURE_ARGS=	--with-fpectl
d42 2
a43 1
		IPV6 "Enable IPv6 support" on
d97 8
a104 2
.if ${OSVERSION} >= 600000
PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
d106 1
a106 3
PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd6
.elif ${OSVERSION} >= 400000
PLATFORMS=plat-freebsd3 plat-freebsd5 plat-freebsd6
d108 1
a108 1
PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd6
a125 2
	${MKDIR} ${WRKSRC}/Lib/plat-freebsd6
	${CP} ${WRKSRC}/Lib/plat-freebsd5/regen ${WRKSRC}/Lib/plat-freebsd6/
@


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


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

Security:	CAN-2005-0089
Security:	http://www.vuxml.org/freebsd/6afa87d3-764b-11d9-b0e7-0000e249a0a2.html
Security:	SimpleXMLRPCServer.py allows unrestricted traversal
@
text
@d24 1
a24 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.126
log
@Resurrect lang/python-devel port with Python 2.5 development snapshot
as of today.
@
text
@d9 1
d15 3
@


1.125
log
@IGNORE this port for a while.  Some 2.5.a0 snapshot will be available
in this port soon.
@
text
@d8 1
a8 1
PORTVERSION=	2.5.a0.000000
a16 2
IGNORE=		is not available yet

d30 1
a30 1
PYTHON_VERSION=	python2.4
d109 1
a109 1
		${WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.4
d111 1
a111 1
		${WRKSRC}/Tools/scripts/idle > ${WRKDIR}/idle2.4
d113 1
a113 1
		${WRKSRC}/Lib/smtpd.py > ${WRKDIR}/smtpd2.4.py
d173 2
a174 2
	${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.4 ${WRKDIR}/idle2.4 \
		${WRKDIR}/smtpd2.4.py ${PREFIX}/bin
@


1.124
log
@- Update python-devel to 2.4c1
@
text
@d8 1
a8 1
PORTVERSION=	2.4.c1
d17 2
@


1.123
log
@farewell to libxpg4.
@
text
@d8 1
a8 1
PORTVERSION=	2.4.b2
@


1.122
log
@Update -devel to Python-2.4b2.
@
text
@a90 7
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005
CONFIGURE_ARGS+=	--with-libs='-lxpg4'
.endif
.if ${OSVERSION} < 400020
CONFIGURE_ARGS+=	--with-libs='-lxpg4'
.endif

@


1.121
log
@Update to 2.4a3

PR:		71340
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br>
@
text
@d8 1
a8 1
PORTVERSION=	2.4.a3
@


1.120
log
@- Add support for FreeBSD 6.
- Drop FreeBSD 2 support.
- Fix build on -stable.

Spotted by:	marcus, kris
Obtained from:	Python CVS
@
text
@d8 1
a8 2
PORTVERSION=	2.4.a2
PORTREVISION=	1
@


1.119
log
@- Update to 2.4a2
- Add IPV6 option [1]

PR:		69950 [1]
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br> [1]
@
text
@d9 1
d105 4
a108 2
.if ${OSVERSION} >= 500000
PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd4
d110 1
a110 3
PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd5
.elif ${OSVERSION} >= 300000
PLATFORMS=plat-freebsd2 plat-freebsd4 plat-freebsd5
d112 1
a112 1
PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
d130 2
@


1.118
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
@d8 1
a8 2
PORTVERSION=	2.4.a1
PORTREVISION=	1
d42 2
a43 1
		PYMALLOC "Uses python's internal malloc" on
d98 1
a98 1
.if ${OSVERSION} >= 400014
@


1.117
log
@- Update to 2.4a1, the first alpha release of Python 2.4.
- Provide USE_PYTHON_BUILD and USE_PYTHON_RUN to allow explicit
  dependencies. [1]
- Provide PYDISTUTILS_CONFIGUREARGS and run ${PYSETUP} config on
  'do-configure' targets. [2]

Reviewed by:	eik [1]
Submitted by:	Mike Brown <mike@@skew.org>
@
text
@d9 1
d122 7
a128 4
post-patch:
	${REINPLACE_CMD} -e 's,\(PY_VERSION.*\)2\.4a0,\1${PORTVERSION},g' \
		${WRKSRC}/Include/patchlevel.h
	${REINPLACE_CMD} -e 's,^.*freenet.*$$,,' ${WRKSRC}/Lib/base64.py
@


1.116
log
@More OPTIONS change of UCS2->UCS4 which is missed in previous commit.
@
text
@d8 1
a8 1
PORTVERSION=	2.4.a0.20040311
d118 2
d175 1
a175 1
		${PREFIX}/bin
@


1.115
log
@Test lack of non-default options for CONFIG-unaware environments
as done in lang/python either.

Submitted by:	fjoe
@
text
@d41 1
a41 1
		UCS2 "Use UCS2 instead of UCS4 for unicode support" off \
@


1.114
log
@Use OPTIONS.

Submitted by:	Stephane E. Potvin <sepotvin@@videotron.ca>
@
text
@d46 1
a46 1
.if defined(WITH_THREADS)
d60 1
a60 1
.endif # defined(WITH_THREADS)
d62 1
a62 1
.if defined(WITHOUT_UCS2)
@


1.113
log
@Reduce configure warning.

PR:		55180 [1], 65680 [2]
Submitted by:	Rui Lopes <rui@@ruilopes.com> [1],
		Roman Neuhauser <neuhauser@@chello.cz> [2]
@
text
@d39 8
a46 5
#
# If you don't want to use Python's thread module, you need to set
# WITHOUT_THREADS.
#
.if !defined(WITHOUT_THREADS)
d49 1
a49 1
.if !defined(WANT_HUGE_STACK_SIZE)
d53 1
a53 1
.endif # !defined(WANT_HUGE_STACK_SIZE)
d60 1
a60 1
.endif # !defined(WITHOUT_THREADS)
d62 1
a62 1
.if !defined(WITH_UCS2)
a69 2
.include <bsd.port.pre.mk>

d170 1
a170 1
 
@


1.112
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
@d20 1
@


1.111
log
@Update to Python development snapshot as of 040311.
I must say that it's faster by 10%~ than previous snapshot or 2.3.
And it incorporated CJKCodecs from this! :)
@
text
@d149 1
a149 1
pre-install:
@


1.110
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
@d8 1
a8 2
PORTVERSION=	2.4.a0.20040106
PORTREVISION=	2
d164 1
a164 1
	${LN} -sf ${PREFIX}/lib/lib${PYTHON_VERSION}.so ${PYTHON_LIBDIR}/config
@


1.109
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
@d9 1
a9 1
PORTREVISION=	1
d165 1
@


1.108
log
@Update python-devel to 2.4 20040106 snapshot.
@
text
@d9 1
d23 2
d34 5
a66 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}

a73 3
.if ${ARCH} == amd64
CFLAGS+=        -fPIC
.endif
d123 27
d160 10
@


1.107
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
@d8 1
a8 2
PORTVERSION=	2.4.a0.20031022
PORTREVISION=	1
d85 3
d127 1
@


1.106
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
@d9 1
@


1.105
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
@d8 1
a8 2
PORTVERSION=	2.4.a0.20030801
PORTREVISION=	1
d10 3
a12 4
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	perky
DISTNAME=	Python-${PORTVERSION}
EXTRACT_SUFX=	.tgz
d18 1
d26 1
d38 5
d55 4
a68 1
CFLAGS+=	-D__BSD_VISIBLE # see python/configure.in rev 1.409
d77 8
d120 4
@


1.104
log
@BUILD_STATIC by default as lang/python does.
@
text
@d13 2
a14 1
DISTFILES=	${PYTHON_DISTFILE}
a19 1
WRKSRC=		${PYTHON_WRKSRC}
@


1.103
log
@Update to 2.4a0 snapshot of 1 Aug 2003
@
text
@d9 1
d50 1
a50 1
.if !defined(BUILD_STATIC)
@


1.102
log
@Update to 2.3c1
@
text
@d8 1
a8 1
PORTVERSION=	2.3.c1
d10 2
a11 2
MASTER_SITES=	${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR=	ftp/python/${PORTVERSION:S/.c1//}
d26 1
a26 1
PYTHON_VERSION=	python2.3
d100 1
a100 1
		${WRKSRC}/Tools/scripts/pydoc > ${WRKDIR}/pydoc2.3
d102 1
a102 1
		${WRKSRC}/Tools/scripts/idle > ${WRKDIR}/idle2.3
d114 1
a114 1
	${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.3 ${WRKDIR}/idle2.3 \
@


1.101
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
@d8 1
a8 2
PORTVERSION=	2.3.b2
PORTREVISION=	1
d11 1
a11 1
MASTER_SITE_SUBDIR=	ftp/python/${PORTVERSION:S/.b2//}
@


1.100
log
@Update new python-devel port to 2.3.b2.

This update introduces two new knobs to _disable_ somewhat
experimental options:
 BUILD_STATIC=yes	Unless this option is specified,
			the port will build python as shared
			binary.
 WITH_UCS2=yes		Unless this option is specified,
			Py_UNICODE type will charge 4 bytes
			per character (as we do for wchar_t)

Repo-copied by:	joe (thanks!)
@
text
@d9 1
d11 1
a11 5
MASTER_SITES=	http://www.python.org/%SUBDIR%/ \
		http://python.mirrors.pair.com/%SUBDIR%/ \
		http://mirrors.ccs.neu.edu/Python/pub/www.python.org/%SUBDIR%/ \
		http://python.planetmirror.com/%SUBDIR%/ \
		http://SunSITE.Informatik.RWTH-Aachen.DE/python/%SUBDIR%/
d23 2
a24 2
INSTALL_TARGET=	install
MAN1=		python.1
d99 6
d115 6
a120 2
	${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el \
		${PREFIX}/share/emacs/site-lisp
@


1.99
log
@Take maintainerships from alane's python ports.
Rest in Peace, Alan.
@
text
@d1 3
a3 3
# New ports collection makefile for:    python
# Date created:         08 August 1995
# Whom:                 jkh
a5 1
#
d8 1
a8 1
PORTVERSION=	2.2.3
d10 6
a15 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
d30 1
a30 1
PYTHON_VERSION=	python2.2
d32 1
d49 12
d62 2
d67 6
a113 1
	@@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
d115 1
d117 1
a117 1
		(cd ${PYTHONPREFIX_LIBDIR}; tar xf -)
a120 6
.endif

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


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
@@
