blob: 18b0135ef2b6a1770e484b39727458ec652bbe8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: py-papi
# Date created: 2006-12-19
# Whom: Marcus von Appen
#
# $FreeBSD$
#
PORTNAME= papi
PORTVERSION= 0.0.5
CATEGORIES= accessibility devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ocemp
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mva@sysfault.org
COMMENT= ATK accessibility wrapper for python
USE_GNOME= atk
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:
${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>
|