aboutsummaryrefslogtreecommitdiffstats
path: root/devel/wxGlade/Makefile
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-03-05 18:09:39 +0800
committeralepulver <alepulver@FreeBSD.org>2007-03-05 18:09:39 +0800
commit9cd621a6b13dd5289af34238202b65752178c82f (patch)
tree625406aa17fc456320ded6ed771e4a0583391357 /devel/wxGlade/Makefile
parent139a580d0cfc9da7d6a7a85370d803d2c5e149e9 (diff)
downloadfreebsd-ports-gnome-9cd621a6b13dd5289af34238202b65752178c82f.tar.gz
freebsd-ports-gnome-9cd621a6b13dd5289af34238202b65752178c82f.tar.zst
freebsd-ports-gnome-9cd621a6b13dd5289af34238202b65752178c82f.zip
- Update to version 0.4.1.
- Use SF macro in MASTER_SITES.
Diffstat (limited to 'devel/wxGlade/Makefile')
-rw-r--r--devel/wxGlade/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/devel/wxGlade/Makefile b/devel/wxGlade/Makefile
index 05ced61deee9..f5e8ba99cb60 100644
--- a/devel/wxGlade/Makefile
+++ b/devel/wxGlade/Makefile
@@ -5,11 +5,10 @@
# $FreeBSD$
PORTNAME= wxglade
-PORTVERSION= 0.4
-PORTREVISION= 2
+PORTVERSION= 0.4.1
CATEGORIES= devel x11-toolkits python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
+DISTNAME= wxGlade-${PORTVERSION}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= GUI builder for wxPython/wxWindows written in Python
@@ -22,17 +21,24 @@ USE_PYTHON= yes
USE_WX= 2.6
WX_COMPS= python
+MAN1= wxglade.1
+
do-build:
@(${ECHO_CMD} "#!${SH}"; ${ECHO_CMD} 'exec ${PYTHON_CMD} \
${PYTHON_SITELIBDIR}/${PORTNAME}/${PORTNAME}.py \
"$$@"') > ${WRKDIR}/${PORTNAME}
do-install:
- @${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
- @${CP} -R ${WRKSRC}/[^d]* ${PYTHON_SITELIBDIR}/${PORTNAME}
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+ ${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
.if !defined(NOPORTDOCS)
- @${CP} -R ${WRKSRC}/docs ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.include <bsd.port.mk>