Changeset View
Changeset View
Standalone View
Standalone View
head/lang/python27/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= python27 | PORTNAME= python27 | ||||
PORTVERSION= ${PYTHON_PORTVERSION} | PORTVERSION= ${PYTHON_PORTVERSION} | ||||
PORTREVISION= 3 | PORTREVISION= 4 | ||||
CATEGORIES= lang python ipv6 | CATEGORIES= lang python ipv6 | ||||
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} | MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} | ||||
DISTNAME= Python-${PORTVERSION} | DISTNAME= Python-${PORTVERSION} | ||||
DIST_SUBDIR= python | DIST_SUBDIR= python | ||||
MAINTAINER= python@FreeBSD.org | MAINTAINER= python@FreeBSD.org | ||||
COMMENT= Interpreted object-oriented programming language | COMMENT= Interpreted object-oriented programming language | ||||
▲ Show 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | |||||
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) | .if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) | ||||
@${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \ | @${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \ | ||||
${WRKSRC}/setup.py | ${WRKSRC}/setup.py | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \ | for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \ | ||||
${STRIP_CMD} $$i; done # Strip shared extensions | ${STRIP_CMD} $$i; done # Strip shared extensions | ||||
${INSTALL_DATA} ${WRKSRC}/Tools/gdb/libpython.py \ | |||||
${STAGEDIR}${PREFIX}/lib/libpython2.7.so.1-gdb.py | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |