freebsd-ports/devel/py-freebsd/Makefile
Dmitry Marakasov c942359f35 - Add LICENSE
- Always check OPSYS along with OSVERSION

Approved by:	portmgr blanket
2017-01-12 14:02:46 +00:00

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>