blob: c3ec375738cbc2c5650820b762e88b4fc3563eb7 (
plain)
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
|
# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= wax
PORTVERSION= 0.3.33
PORTREVISION= 9
CATEGORIES= x11-toolkits devel python
MASTER_SITES= SF/${PORTNAME}gui/${PORTNAME}gui/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= User-friendly layer on top of wxPython
NO_BUILD= yes
USES= python:2.7
USE_WX= 2.8
WX_COMPS= python:run
DATADIR= ${PYTHON_SITELIBDIR}
FIND_DIRS= -type d \! -empty
FIND_DATA= -type f
FIND_DELETE= \( -name "*.txt" -and -maxdepth 2 \)
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
do-install:
@cd ${WRKSRC} && ${FIND} . ${FIND_DIRS} -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
@cd ${WRKSRC} && ${FIND} . ${FIND_DELETE} -delete
@cd ${WRKSRC} && ${FIND} . ${FIND_DATA} -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
.if ${PORT_OPTIONS:MEXAMPLES}
${MV} ${STAGEDIR}${DATADIR}/${PORTNAME}/examples ${STAGEDIR}${EXAMPLESDIR}
.else
${RM} -r ${STAGEDIR}${DATADIR}/${PORTNAME}/examples
.endif
.include <bsd.port.mk>
|