mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
- Move LICENSE downward - Sort USE_PYTHON - Strip shared library - Regenerate patch files with makepatch: - Bump PORTREVISION for package change
32 lines
763 B
Makefile
32 lines
763 B
Makefile
# Created by: Hye-Shik Chang
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= freebsd
|
|
PORTVERSION= 0.9.3
|
|
PORTREVISION= 7
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= LOCAL/perky \
|
|
http://people.freebsd.org/~perky/distfiles/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py-freebsd-${PORTVERSION}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Python interface to FreeBSD-specific system libraries
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
USES= python:2
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
.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
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/freebsd.so
|
|
|
|
.include <bsd.port.post.mk>
|