2003-05-10 22:59:51 +02:00
|
|
|
# New ports collection makefile for: wxGlade
|
|
|
|
# Date created: 1 May 2003
|
|
|
|
# Whom: Michal Pasternak <dotz@irc.pl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wxGlade
|
2004-02-28 21:54:52 +01:00
|
|
|
PORTVERSION= 0.3.1
|
2004-11-07 23:37:47 +01:00
|
|
|
PORTREVISION= 2
|
2003-05-10 22:59:51 +02:00
|
|
|
CATEGORIES= devel x11-toolkits python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= wxglade
|
2004-02-28 21:54:52 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2003-05-10 22:59:51 +02:00
|
|
|
|
2004-09-02 10:16:25 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-05-10 22:59:51 +02:00
|
|
|
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}
|
2004-01-22 13:18:43 +01:00
|
|
|
(cd ${WRKSRC} && ${FIND} [^d]* \! -name ".cvsignore" -type f | \
|
|
|
|
${CPIO} -R ${SHAREOWN}:${SHAREGRP} -pdum \
|
|
|
|
${PYTHON_SITELIBDIR}/${PORTNAME})
|
2003-05-11 18:57:56 +02:00
|
|
|
${CHMOD} -R 644 ${PYTHON_SITELIBDIR}/${PORTNAME}
|
2003-11-13 15:45:08 +01:00
|
|
|
${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d | ${XARGS} ${CHMOD} 755
|
2003-05-11 18:57:56 +02:00
|
|
|
${CHMOD} 755 ${PYTHON_SITELIBDIR}/${PORTNAME}/wxglade.py \
|
|
|
|
${PYTHON_SITELIBDIR}/${PORTNAME}/xrc2wxg.py
|
2003-05-10 22:59:51 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-01-22 13:18:43 +01:00
|
|
|
(cd ${WRKSRC}/docs && ${FIND} . -type f | \
|
|
|
|
${CPIO} -R ${SHAREOWN}:${SHAREGRP} -pdum ${DOCSDIR})
|
2003-05-11 18:57:56 +02:00
|
|
|
${CHMOD} -R 644 ${DOCSDIR}
|
2003-11-13 15:45:08 +01:00
|
|
|
${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} 755
|
2003-05-10 22:59:51 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|