diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-03-05 18:09:39 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-03-05 18:09:39 +0800 |
commit | 9cd621a6b13dd5289af34238202b65752178c82f (patch) | |
tree | 625406aa17fc456320ded6ed771e4a0583391357 /devel/wxGlade/Makefile | |
parent | 139a580d0cfc9da7d6a7a85370d803d2c5e149e9 (diff) | |
download | freebsd-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/Makefile | 22 |
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> |