# Ports collection makefile for: py-freebsd # Date created: 14 June 2002 # Whom: Hye-Shik Chang # # $FreeBSD$ # PORTNAME= freebsd PORTVERSION= 0.9.3 PORTREVISION= 6 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.5-2.7 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 # Multi-IPv4/v6/no-IP jails. .if ${OSVERSION} >= 800056 || \ (${OSVERSION} < 800000 && ${OSVERSION} >= 701103) EXTRA_PATCHES+= ${FILESDIR}/freebsd8_patch-src-jail.c .endif .if ${OSVERSION} >= 900030 EXTRA_PATCHES+= ${FILESDIR}/freebsd9_patch-src-sysctl.c .endif .include