mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 12:01:19 +02:00
create bsd12 branch
This commit is contained in:
51
lang/python34/Makefile
Normal file
51
lang/python34/Makefile
Normal file
@@ -0,0 +1,51 @@
|
||||
#
|
||||
# $Id: Makefile 2493 2009-09-19 15:10:11Z root $
|
||||
# $URL: file:///usr2/svn/ports5/lang/python25/Makefile $
|
||||
#
|
||||
|
||||
PORTNAME= python
|
||||
PORTVERSION= 3.4.10
|
||||
CATEGORIES= lang python
|
||||
MASTER_SITES= PYTHON
|
||||
MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
|
||||
DISTNAME= Python-${PORTVERSION}
|
||||
DIST_SUBDIR= python
|
||||
PKGNAMESUFFIX= 34
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= An interpreted object-oriented programming language
|
||||
|
||||
#LIB_DEPENDS+= libsqlite3.so:data/sqlite3
|
||||
LIB_DEPENDS+= libexpat.so:text/libexpat
|
||||
|
||||
|
||||
USES+= tar:xz
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USES+= gmake
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
|
||||
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
|
||||
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
CONFIGURE_ARGS+= --with-system-expat
|
||||
|
||||
CONFIGURE_ARGS+= --with-threads
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
CONFIGURE_ARGS+= --mandir=${PREFIX}/man
|
||||
CPPFLAGS= -pthread
|
||||
LDFLAGS+= -pthread
|
||||
|
||||
DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm nis
|
||||
CONFIGURE_ARGS+= --without-ensurepip
|
||||
CONFIGURE_ENV+= OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}"
|
||||
INSTALL_TARGET= altinstall
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION:R}
|
||||
VERSION_SHORT= ${PORTVERSION:R}
|
||||
|
||||
PLIST_SUB+= OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
|
||||
Reference in New Issue
Block a user