aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-ruledispatch/Makefile
blob: 3c78d6343626e54c887a5674f48b87ceee0b2f57 (plain) (blame)
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
# Created by: Dryice Liu    <dryice@dryice.name>
# $FreeBSD$

PORTNAME=   RuleDispatch
PORTVERSION=    0.5.a1.r2717
PORTREVISION=   0
CATEGORIES= devel python
MASTER_SITES=   http://nivit.altervista.org/FreeBSD/ports/distfiles/ \
        http://peak.telecommunity.com/snapshots/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-0.5a1.dev-r2717

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Rule-based Dispatching and Generic Functions

LICENSE=    PSFL ZPL21
LICENSE_COMB=   dual

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}Extremes>=1.1:${PORTSDIR}/devel/py-extremes \
        ${PYTHON_PKGNAMEPREFIX}PyProtocols>=1.0.a0.r2302:${PORTSDIR}/devel/py-protocols-devel

USES=       python
USE_PYTHON= distutils autoplist

# to have a platform/release indipendent directory (necessary for strip cmd)
pre-build:
    @(cd ${BUILD_WRKSRC}; \
    ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c build -o build-platlib -s FreeBSD.build)

pre-install:
    @${STRIP_CMD} ${WRKSRC}/FreeBSD.build/dispatch/_d_speedups.so

.include <bsd.port.mk>