blob: e0043acff987cf12e088598910d5687f670dad02 (
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
34
35
36
37
|
# Created by: Sofian Brabez <sbrabez@gmail.com>
# $FreeBSD$
PORTNAME= aspects
PORTVERSION= 1.3
CATEGORIES= devel python
MASTER_SITES= http://www.cs.tut.fi/~ask/aspects/ \
LOCAL/sbz
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Lightweight aspect oriented programming library for Python
LICENSE= LGPL21
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
SUB_FILES= pkg-message
PORTEXAMPLES= httpget_example.py timeout_advice.py timeout_example.py \
tracer_advice.py tracer_example.py typecheck_advice.py \
typecheck_example.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
OPTIONS_DEFINE= EXAMPLES
#regression-test: extract
# @PYTHON="${PYTHON_CMD}" ${GMAKE} -C ${WRKSRC} check
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|