mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
61a39dbf2f
PR: 194488 Submitted by: amdmi3 Approved by: maitainer timeout
36 lines
914 B
Makefile
36 lines
914 B
Makefile
# Created by: 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
|
|
|
|
USES= python:2
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.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
|
|
.if ${OSVERSION} >= 1100002
|
|
EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \
|
|
${FILESDIR}/freebsd11_patch-src__netstat.c
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|