1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/devel/py-freebsd/Makefile
Martin Wilke 96da623c00 - Fix build on HEAD
PR:		115610
Submitted by:	Barry Pederson <bp@barryp.org>
2007-08-27 11:09:27 +00:00

37 lines
880 B
Makefile

# Ports collection makefile for: py-freebsd
# Date created: 14 June 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= freebsd
PORTVERSION= 0.9.3
PORTREVISION= 2
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.3+
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>
.if ${OSVERSION} >= 700000
EXTRA_PATCHES+= ${FILESDIR}/freebsd7_patch-src-netstat.c
.endif
.include <bsd.port.post.mk>