aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-09-29 10:25:56 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-09-29 10:25:56 +0000
commit3a7b16e2b42c10a76d5d8a0df5f460e982f01edb (patch)
treec6e7fbe5d1a0509490c55c0f0e0ed5b6dd831d93 /accessibility
parente62f62f6eba45c777d61e2448f5e40b0d32b658f (diff)
downloadports-3a7b16e2b42c10a76d5d8a0df5f460e982f01edb.tar.gz
ports-3a7b16e2b42c10a76d5d8a0df5f460e982f01edb.zip
Notes
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/py-papi/Makefile14
-rw-r--r--accessibility/py-papi/pkg-plist15
2 files changed, 9 insertions, 20 deletions
diff --git a/accessibility/py-papi/Makefile b/accessibility/py-papi/Makefile
index fba8755bfa79..4be8f27eab8d 100644
--- a/accessibility/py-papi/Makefile
+++ b/accessibility/py-papi/Makefile
@@ -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>
diff --git a/accessibility/py-papi/pkg-plist b/accessibility/py-papi/pkg-plist
index 7dc4f80ba5ce..c7066202793c 100644
--- a/accessibility/py-papi/pkg-plist
+++ b/accessibility/py-papi/pkg-plist
@@ -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