aboutsummaryrefslogtreecommitdiff
path: root/lang/python22/Makefile
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-01-18 10:18:54 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-01-18 10:18:54 +0000
commit6534821fdbcdc970244fffab1d3be8547ac58439 (patch)
treeb19121bbb864df5c4c32a54e9e098c1ce51bbab2 /lang/python22/Makefile
parentdc15e8883b9615c15fc6c0401c1f84d296908ada (diff)
downloadports-6534821fdbcdc970244fffab1d3be8547ac58439.tar.gz
ports-6534821fdbcdc970244fffab1d3be8547ac58439.zip
Notes
Diffstat (limited to 'lang/python22/Makefile')
-rw-r--r--lang/python22/Makefile29
1 files changed, 18 insertions, 11 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 502235016a44..2fe0727106d7 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -3,26 +3,33 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.2 1995/08/09 01:30:00 asami Exp $
+# $Id: Makefile,v 1.3 1995/11/22 13:13:06 asami Exp $
#
-DISTNAME= python1.2
-PKGNAME= python-1.2
+DISTNAME= python1.3
+PKGNAME= python-1.3
CATEGORIES+= lang
-MASTER_SITES= ftp://www.python.org/pub/python/src/
+MASTER_SITES= ftp://www.python.org/pub/python/src/ \
+ ftp://ftp.cwi.nl/pub/python/src/
MAINTAINER= jkh@FreeBSD.org
-LIB_DEPENDS= tcl\\.7\\.:${PORTSDIR}/lang/tcl \
- tk\\.3\\.:${PORTSDIR}/x11/tk
+LIB_DEPENDS= tcl74\\.1\\.:${PORTSDIR}/lang/tcl74 \
+ tk40\\.1\\.:${PORTSDIR}/x11/tk4
+
+WRKSRC= ${WRKDIR}/Python-1.3
+HAS_CONFIGURE= yes
+
+MAKE_FLAGS+= 'OPT=${CFLAGS}'
+INSTALL_TARGET= install libinstall maninstall
post-configure:
cp ${FILESDIR}/Setup ${WRKSRC}/Modules
-pre-install:
- cd ${WRKSRC}; ${MAKE} libinstall
-
-WRKSRC= ${WRKDIR}/Python-1.2
-HAS_CONFIGURE= yes
+post-install:
+ strip ${PREFIX}/bin/python
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/python.1
+.endif
.include <bsd.port.mk>