# New ports collection makefile for: python # Version required: 1.5.2 # Date created: 08 August 1995 # Whom: jkh # # $Id: Makefile,v 1.50 1999/07/06 13:27:35 tg Exp $ # DISTNAME= py152 PKGNAME= python-1.5.2 CATEGORIES= lang python tk80 MASTER_SITES= ftp://www.python.org/pub/python/src/ \ ftp://ftp.cwi.nl/pub/python/src/ EXTRACT_SUFX= .tgz MAINTAINER= tg@FreeBSD.ORG LIB_DEPENDS= ${TK_DEPENDS} DIST_SUBDIR= python WRKSRC= ${WRKDIR}/Python-1.5.2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" INSTALL_TARGET= install PLIST= ${WRKDIR}/PLIST MAN1= python.1 # # The standard setup file # SETUP_FILE= Setup # # Support for Tk is compiled in by default. # WITH_TK?= yes .if defined(WITH_TK) && $(WITH_TK) == yes TK_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 SETUP_LOCAL= Setup.tk PLIST_TK= ${PKGDIR}/PLIST.tk .endif # # 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. # WITH_THREADS?= yes LIBC_R!= /sbin/ldconfig -r | grep c_r || true .if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes CONFIGURE_ARGS+= --with-thread CFLAGS+= -D_THREAD_SAFE CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}" .endif # # 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}/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. # WITH_TOOLS?= yes .if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes PLIST_TOOLS= ${PKGDIR}/PLIST.Tools .endif post-extract: cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh post-configure: ${CP} ${FILESDIR}/${SETUP_FILE} ${WRKSRC}/Modules/Setup .for file in ${SETUP_LOCAL} ${CAT} ${FILESDIR}/${file} >> ${WRKSRC}/Modules/Setup.local .endfor .include .if ${OSVERSION} >= 400000 PLATFORMS=plat-freebsd2 plat-freebsd3 .elif ${OSVERSION} >= 300000 PLATFORMS=plat-freebsd2 plat-freebsd4 .else PLATFORMS=plat-freebsd3 plat-freebsd4 .endif pre-install: .for platform in ${PLATFORMS} ${MKDIR} ${PREFIX}/lib/python1.5/${platform} ${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \ ${PREFIX}/lib/python1.5/${platform}/ .endfor @sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST post-install: strip ${PREFIX}/bin/python @${MKDIR} ${PREFIX}/share/doc/python ${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/python @${MKDIR} ${PREFIX}/lib/python1.5/site-packages .if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes @cd ${WRKSRC}; tar cf - Tools | \ (cd ${PREFIX}/lib/python1.5; tar xf -) .endif .include 'dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Now we use USE_FORTRAN=yes to use FORTRAN compiler.maho2007-07-151-4/+1
* Upgrade to PETSc 2.3.3.thierry2007-05-283-35/+61
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* build fix for petsc-mpichmaho2007-03-071-0/+1
* * Update to 2.3.2-p8.maho2007-02-202-7/+6
* * Migrate to gfortran.maho2007-01-131-3/+3
* * migrate to gfortran.maho2007-01-111-12/+11
* - Update to 2.3.2.p6miwi2006-11-242-12/+32
* Upgrade to PETSc 2.3.2.thierry2006-09-036-24/+45
* - Upgrade net/lam to 7.1.2 and remove net/lam7;thierry2006-08-221-1/+1
* Mark broken on 4.x: configure fails to use the Fortran compiler.thierry2006-08-081-0/+2
* - Force the detection of f77, and thus remove a superfluous patch; (1)thierry2006-07-242-30/+14
* - Upgrade to patchlevel 16;thierry2006-07-233-16/+45
* Mark as broken: fails to configure.linimon2006-07-141-0/+2
* - Update to patchlevel 14;thierry2006-06-223-13/+22
* Unbreak math/petsc-mpich on amd64 by disabling SuperLU.thierry2006-02-261-0/+4
* Upgrade to PETSc-2.3.1 patchlevel 7.thierry2006-02-183-90/+94
* Repocopy math/netcdf to science/netcdf, along with cdf, hdf and hdf5.thierry2006-01-311-1/+1
* - Add SHA256pav2005-11-251-0/+1
* Stabilizing: the PETSc Team builds a special tarball for the FreeBSDthierry2005-10-132-5/+6
* - Upgrade from PETSC_VERSION_PATCH 34 (October, 6, 2005) tothierry2005-10-112-3/+4
* - Upgrade from PETSC_VERSION_PATCH 32 (September, 26, 2005) tothierry2005-10-072-3/+3
* - Upgrade from PETSC_VERSION_PATCH 31 (September, 14, 2005) tothierry2005-09-282-2/+3
* Upgrade to v2.3.0.thierry2005-09-189-154/+76
* Teach bmake about FreeBSD-7.thierry2005-08-312-3/+4
* Teach bmake to support FreeBSD-6.thierry2004-12-062-3/+14
* Modify WWW.thierry2004-11-231-1/+1