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$
|
|
|
|
|
2005-10-10 15:07:13 +02:00
|
|
|
PORTNAME= wxglade
|
2007-05-04 02:29:32 +02:00
|
|
|
PORTVERSION= 0.5
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2003-05-10 22:59:51 +02:00
|
|
|
CATEGORIES= devel x11-toolkits python
|
2007-03-05 11:09:39 +01:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= wxGlade-${PORTVERSION}
|
2003-05-10 22:59:51 +02:00
|
|
|
|
2006-04-09 15:08:16 +02:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2003-05-10 22:59:51 +02:00
|
|
|
COMMENT= GUI builder for wxPython/wxWindows written in Python
|
|
|
|
|
2007-02-09 20:21:13 +01:00
|
|
|
CONFLICTS= wxglade-devel-[0-9]*
|
|
|
|
|
2005-10-10 15:07:13 +02:00
|
|
|
WRKSRC= ${WRKDIR}/wxGlade-${PORTVERSION}
|
2003-05-10 22:59:51 +02:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2007-05-04 02:29:32 +02:00
|
|
|
USE_WX= 2.6+
|
2006-12-01 08:39:02 +01:00
|
|
|
WX_COMPS= python
|
2005-10-10 15:07:13 +02:00
|
|
|
|
2007-03-05 11:09:39 +01:00
|
|
|
MAN1= wxglade.1
|
|
|
|
|
2005-10-10 15:07:13 +02:00
|
|
|
do-build:
|
|
|
|
@(${ECHO_CMD} "#!${SH}"; ${ECHO_CMD} 'exec ${PYTHON_CMD} \
|
|
|
|
${PYTHON_SITELIBDIR}/${PORTNAME}/${PORTNAME}.py \
|
|
|
|
"$$@"') > ${WRKDIR}/${PORTNAME}
|
2003-05-10 22:59:51 +02:00
|
|
|
|
|
|
|
do-install:
|
2007-03-05 11:09:39 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}/${PORTNAME}
|
|
|
|
.for f in codegen edit_sizers res widgets
|
|
|
|
${CP} -R ${WRKSRC}/${f} ${PYTHON_SITELIBDIR}/${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/debian/wxglade.1 ${MAN1PREFIX}/man/man1
|
2003-05-10 22:59:51 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-03-05 11:09:39 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
|
2003-05-10 22:59:51 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|