mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
1b1b29c5e6
Note: Python 2.3 is't longer supported and have a lot of security issues. Convert 2.3+ to yes/or 2.4/5+ With hat: portmgr
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# Ports collection makefile for: py-freebsd
|
|
# Date created: 14 June 2002
|
|
# Whom: Hye-Shik Chang
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freebsd
|
|
PORTVERSION= 0.9.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
http://people.freebsd.org/~perky/distfiles/
|
|
MASTER_SITE_SUBDIR= perky
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py-freebsd-${PORTVERSION}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Python interface to FreeBSD-specific system libraries
|
|
|
|
USE_PYTHON= 2.4+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= py-freebsd
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/freebsd.so \
|
|
%%PYTHON_SITELIBDIR%%/freebsd_compat02.py \
|
|
%%PYTHON_SITELIBDIR%%/freebsd_compat02.pyc \
|
|
%%PYTHON_SITELIBDIR%%/freebsd_compat02.pyo
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 700000
|
|
EXTRA_PATCHES+= ${FILESDIR}/freebsd7_patch-src-netstat.c
|
|
.endif
|
|
# Multi-IPv4/v6/no-IP jails.
|
|
.if ${OSVERSION} >= 800056 || \
|
|
(${OSVERSION} < 800000 && ${OSVERSION} >= 701103)
|
|
EXTRA_PATCHES+= ${FILESDIR}/freebsd8_patch-src-jail.c
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|