c942359f35
- Always check OPSYS along with OSVERSION Approved by: portmgr blanket
29 lines
691 B
Makefile
29 lines
691 B
Makefile
# Created by: Hye-Shik Chang
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= freebsd
|
|
PORTVERSION= 0.9.3
|
|
PORTREVISION= 6
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= LOCAL/perky \
|
|
http://people.freebsd.org/~perky/distfiles/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py-freebsd-${PORTVERSION}
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
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 ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100002
|
|
EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \
|
|
${FILESDIR}/freebsd11_patch-src__netstat.c
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|