mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Convert to PYDISTUTILS_AUTOPLIST
- Enable stage support - Convert to new OPTIONS framework
This commit is contained in:
parent
e62f62f6eb
commit
3a7b16e2b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328664
@ -10,23 +10,27 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
MAINTAINER= mva@FreeBSD.org
|
||||
COMMENT= ATK accessibility wrapper for python
|
||||
|
||||
NO_STAGE= yes
|
||||
USES= pkgconfig
|
||||
USE_GNOME= atk
|
||||
USE_PYTHON= yes
|
||||
USE_PYTHON= -2.7
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
EXAMPLES= atkaction.py atkapplication.py atkcapi.c atktext.py atkvalue.py \
|
||||
msaaapplication.py msaacapi.cpp
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${INSTALL} -d ${EXAMPLESDIR}/
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/
|
||||
@cd ${WRKSRC}/doc/examples && \
|
||||
${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}/
|
||||
${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,16 +1,3 @@
|
||||
%%PYTHON_INCLUDEDIR%%/papi/papi_atk.h
|
||||
%%PYTHON_INCLUDEDIR%%/papi/papi_iaccproxy.h
|
||||
%%PYTHON_INCLUDEDIR%%/papi/papi_msaa.h
|
||||
%%PYTHON_SITELIBDIR%%/papi/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/papi/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/papi/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/papi/ATKAccessible.py
|
||||
%%PYTHON_SITELIBDIR%%/papi/ATKAccessible.pyc
|
||||
%%PYTHON_SITELIBDIR%%/papi/ATKAccessible.pyo
|
||||
%%PYTHON_SITELIBDIR%%/papi/MSAAAccessible.py
|
||||
%%PYTHON_SITELIBDIR%%/papi/MSAAAccessible.pyc
|
||||
%%PYTHON_SITELIBDIR%%/papi/MSAAAccessible.pyo
|
||||
%%PYTHON_SITELIBDIR%%/papi/atk.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/atkaction.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/atkapplication.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/atkcapi.c
|
||||
@ -19,5 +6,3 @@
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msaaapplication.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/msaacapi.cpp
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/papi
|
||||
@dirrm %%PYTHON_INCLUDEDIR%%/papi
|
||||
|
Loading…
Reference in New Issue
Block a user