a33191366c
Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr
37 lines
948 B
Makefile
37 lines
948 B
Makefile
# 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}" ${MAKE_CMD} -C ${WRKSRC} check
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|