diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-09-15 18:44:49 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2007-09-15 18:44:49 +0000 |
commit | e89de43ae0339d2b07b4fa192de503424121afc3 (patch) | |
tree | ed758de8cb3369bb1339f5189d2faed616f2c213 /accessibility | |
parent | f04bd485c3eea5cb00ef2863a36c1d5707e2cc8b (diff) | |
download | ports-e89de43ae0339d2b07b4fa192de503424121afc3.tar.gz ports-e89de43ae0339d2b07b4fa192de503424121afc3.zip |
Notes
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/py-papi/Makefile | 18 | ||||
-rw-r--r-- | accessibility/py-papi/distinfo | 6 | ||||
-rw-r--r-- | accessibility/py-papi/pkg-plist | 6 |
3 files changed, 18 insertions, 12 deletions
diff --git a/accessibility/py-papi/Makefile b/accessibility/py-papi/Makefile index f049c2370257..18b0135ef2b6 100644 --- a/accessibility/py-papi/Makefile +++ b/accessibility/py-papi/Makefile @@ -6,12 +6,11 @@ # PORTNAME= papi -PORTVERSION= 0.0.4 +PORTVERSION= 0.0.5 CATEGORIES= accessibility devel python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ocemp PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= papi-${PORTVERSION} MAINTAINER= mva@sysfault.org COMMENT= ATK accessibility wrapper for python @@ -21,9 +20,22 @@ USE_GCC= 3.4+ USE_PYTHON= yes USE_PYDISTUTILS=yes +PORTDOCS= manual.html +PORTEXAMPLES= atkaction.py atkapplication.py +PLIST_FILES= %%PYTHON_SITELIBDIR%%/papi.so + post-patch: -.if defined(NOPORTDOCS) ${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py + +post-install: +.if !defined(NOPORTDOCS) + @${INSTALL} -d ${DOCSDIR}/ + @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +.endif +.if !defined(NOPORTEXAMPLES) + @${INSTALL} -d ${EXAMPLESDIR}/ + @cd ${WRKSRC}/doc/examples && \ + ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ .endif .include <bsd.port.mk> diff --git a/accessibility/py-papi/distinfo b/accessibility/py-papi/distinfo index 6cfd3ba5f6e0..9ee833f97a73 100644 --- a/accessibility/py-papi/distinfo +++ b/accessibility/py-papi/distinfo @@ -1,3 +1,3 @@ -MD5 (papi-0.0.4.tar.gz) = 8a31b0d41e1530dd4e24549d7365cd79 -SHA256 (papi-0.0.4.tar.gz) = 65a3dbdd85be2f142a66c091efdfacf97ea76af351f4ad72081a4eaac6c1f7d6 -SIZE (papi-0.0.4.tar.gz) = 53684 +MD5 (papi-0.0.5.tar.gz) = c5f234546a677910b51e3ebbfee7d4fb +SHA256 (papi-0.0.5.tar.gz) = 119326158a558194dd4ce2de0f23ca10eecfdf9c21c0dc6b382dc621c1c90089 +SIZE (papi-0.0.5.tar.gz) = 54689 diff --git a/accessibility/py-papi/pkg-plist b/accessibility/py-papi/pkg-plist deleted file mode 100644 index 8150d1c405ff..000000000000 --- a/accessibility/py-papi/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -%%PYTHON_SITELIBDIR%%/papi.so -%%PORTDOCS%%%%DOCSDIR%%/examples/atkaction.py -%%PORTDOCS%%%%DOCSDIR%%/examples/atkapplication.py -%%PORTDOCS%%%%DOCSDIR%%/manual.html -%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples -%%PORTDOCS%%@dirrm %%DOCSDIR%% |