2000-05-24 04:34:16 +00:00
|
|
|
# Ports collection Makefile for: PyKQueue
|
|
|
|
# Date created: 05/23/2000
|
|
|
|
# Whom: dwhite@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kqueue
|
2000-06-01 06:06:30 +00:00
|
|
|
PORTVERSION= 1.1
|
2000-05-24 04:34:16 +00:00
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= http://people.freebsd.org/~dwhite/PyKQueue/
|
|
|
|
PKGNAMEPREFIX= py-
|
|
|
|
DISTNAME= PyKQueue-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= dwhite@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
|
|
|
|
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
|
|
|
|
2000-06-05 03:31:25 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-06-05 03:57:36 +00:00
|
|
|
.if ( ${OSVERSION} < 400018 || ${OSVERSION} == 500000 )
|
|
|
|
FORBIDDEN= requires kqueue
|
2000-06-05 03:31:25 +00:00
|
|
|
.endif
|
|
|
|
|
2000-05-24 04:34:16 +00:00
|
|
|
# NO_WRKSUBDIR= yes
|
|
|
|
# MAKEFILE= makefile
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC} && \
|
|
|
|
make -f Makefile.pre.in boot)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/lib/python1.5/site-packages
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/kqsyscallmodule.so \
|
|
|
|
${PREFIX}/lib/python1.5/site-packages/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/KQueue.py \
|
|
|
|
${PREFIX}/lib/python1.5/site-packages/
|
|
|
|
# .if !defined(NOPORTDOCS)
|
|
|
|
# ${INSTALL_DATA} ${WRKSRC}/kjbuckets.html ${PREFIX}/share/doc/
|
|
|
|
# .endif
|
|
|
|
|
2000-06-05 03:31:25 +00:00
|
|
|
.include <bsd.port.post.mk>
|