aboutsummaryrefslogblamecommitdiff
path: root/devel/wxGlade/Makefile
blob: 1ea7542da654b80ae54a676f808e91636a29fd07 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                      
                     
                 


                                          
                    










                                                                                        


                                                                        
                                                        
                                                                                

                                                                  

                            

                                                                    
                                  
                                                          


                      
# New ports collection makefile for:	wxGlade
# Date created:				1 May 2003
# Whom:					Michal Pasternak <dotz@irc.pl>
#
# $FreeBSD$

PORTNAME=	wxGlade
PORTVERSION=	0.3.1
PORTREVISION=	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>