aboutsummaryrefslogtreecommitdiffstats
path: root/devel/wxGlade/Makefile
blob: 0f053a75b806cfdd7c3aa41e02e338f6e3b18bba (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
# New ports collection makefile for:    wxGlade
# Date created:             1 May 2003
# Whom:                 Michal Pasternak <dotz@irc.pl>
#
# $FreeBSD$

PORTNAME=   wxGlade
PORTVERSION=    0.2.1
PORTREVISION=   2
CATEGORIES= devel x11-toolkits python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wxglade

MAINTAINER= dotz@irc.pl
COMMENT=    GUI builder for wxPython/wxWindows written in Python

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/wxPython/wx.py:${PORTSDIR}/x11-toolkits/py-wxPython

USE_PYTHON= yes
NO_BUILD=   yes

do-install:
    @${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
    (cd ${WRKSRC} && ${FIND} [^d]* \! -name ".cvsignore" -type f | \
        ${CPIO} -R ${SHAREOWN}:${SHAREGRP} -pdum \
        ${PYTHON_SITELIBDIR}/${PORTNAME})
    ${CHMOD} -R 644 ${PYTHON_SITELIBDIR}/${PORTNAME}
    ${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d | ${XARGS} ${CHMOD} 755
    ${CHMOD} 755 ${PYTHON_SITELIBDIR}/${PORTNAME}/wxglade.py \
        ${PYTHON_SITELIBDIR}/${PORTNAME}/xrc2wxg.py
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC}/docs && ${FIND} . -type f | \
        ${CPIO} -R ${SHAREOWN}:${SHAREGRP} -pdum ${DOCSDIR})
    ${CHMOD} -R 644 ${DOCSDIR}
    ${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} 755
.endif

.include <bsd.port.mk>