aboutsummaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2007-09-16 02:44:49 +0800
committerlwhsu <lwhsu@FreeBSD.org>2007-09-16 02:44:49 +0800
commite49b764837674e6be40002177904a04822d38099 (patch)
treecc67ede327f8f5101782b8d5f2c3a72d5aca4ba3 /accessibility
parent3cae4a918ed212cccba17957aea054bb359dfdba (diff)
downloadfreebsd-ports-e49b764837674e6be40002177904a04822d38099.tar.gz
freebsd-ports-e49b764837674e6be40002177904a04822d38099.tar.zst
freebsd-ports-e49b764837674e6be40002177904a04822d38099.zip
- Update to 0.0.5
- DOCSDIR safety - respecting EXAMPLESDIR PR: ports/115006 Submitted by: Marcus von Appen <mva@sysfault.org> (maintainer)
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/py-papi/Makefile18
-rw-r--r--accessibility/py-papi/distinfo6
-rw-r--r--accessibility/py-papi/pkg-plist6
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%%