aboutsummaryrefslogtreecommitdiffstats
path: root/devel/wxGlade/Makefile
blob: 487a63c8cf9c317989fb0c332dc89949530261ad (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.3.1
CATEGORIES= devel x11-toolkits python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wxglade
EXTRACT_SUFX=   .tgz

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>