1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/devel/py-kqueue/Makefile
Doug White ec30bbb78c Conditionalize against $OSVERSION == 500000 too since it doesn't have
kqueue, just to be nice to our older-CURRENT-running friends.  kqueue is
in 400018 and 500001 and later.

Suggested by: kris
2000-06-05 03:57:36 +00:00

44 lines
1.0 KiB
Makefile

# Ports collection Makefile for: PyKQueue
# Date created: 05/23/2000
# Whom: dwhite@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= kqueue
PORTVERSION= 1.1
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
.include <bsd.port.pre.mk>
.if ( ${OSVERSION} < 400018 || ${OSVERSION} == 500000 )
FORBIDDEN= requires kqueue
.endif
# 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
.include <bsd.port.post.mk>