234fd04ab5
PR: ports/162417 Submitted by: olgeni Feature safe: yes
41 lines
1 KiB
Makefile
41 lines
1 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= 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 <bsd.port.pre.mk>
|
|
|
|
# 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 <bsd.port.post.mk>
|