blob: 9ece8f1639b0e6f5b29a0e87430f3f7bac92401f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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
FORBIDDEN= requires kqueue (added post-4.0-RELEASE)
.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>
|