conflict in behaviour with the read-only COMPILER_FEATURES knob - Fix the deprecated USE_PYTHON_BUILD and USE_PYTHON_RUN behaviour, which usually should be mutually exclusive, but some ports include both knobs Phabric: D581 Recommended by: danfe@, makc@ Reviewed by: danfe, wg, antoine Approved by: portmgr With hat: python@
30 lines
745 B
Makefile
30 lines
745 B
Makefile
# Created by: Marcus von Appen
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= papi
|
|
PORTVERSION= 0.0.9
|
|
CATEGORIES= accessibility devel python
|
|
MASTER_SITES= SF/ocemp/${PORTNAME}/${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mva@FreeBSD.org
|
|
COMMENT= ATK accessibility wrapper for python
|
|
|
|
USES= pkgconfig python:2
|
|
USE_GNOME= atk
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
EXAMPLES= atkaction.py atkapplication.py atkcapi.c atktext.py atkvalue.py \
|
|
msaaapplication.py msaacapi.cpp
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/
|
|
@cd ${WRKSRC}/doc/examples && \
|
|
${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|