blob: 84ebead9c1887054a8b677a185a34ec79bacb789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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>
.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>
|