aboutsummaryrefslogtreecommitdiffstats
path: root/devel/wxGlade
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-12 00:57:56 +0800
committerpetef <petef@FreeBSD.org>2003-05-12 00:57:56 +0800
commitac881c314a6a191613234d203a688f16b319325d (patch)
treec04c52443128849b1237ae0e5d29a9a84c9d282e /devel/wxGlade
parentca998540ecb1e0e9a368f11aa9b8f03215637e95 (diff)
downloadfreebsd-ports-gnome-ac881c314a6a191613234d203a688f16b319325d.tar.gz
freebsd-ports-gnome-ac881c314a6a191613234d203a688f16b319325d.tar.zst
freebsd-ports-gnome-ac881c314a6a191613234d203a688f16b319325d.zip
- fix permissions on installed files
- don't exclude .txt files from ${PYTHON_SITELIBDIR}; that broke the port. - bump PORTREVISION Noticed by: maintainer Pointy hat to: petef
Diffstat (limited to 'devel/wxGlade')
-rw-r--r--devel/wxGlade/Makefile14
-rw-r--r--devel/wxGlade/pkg-plist14
2 files changed, 18 insertions, 10 deletions
diff --git a/devel/wxGlade/Makefile b/devel/wxGlade/Makefile
index 21f34af94f8e..c957b51612e6 100644
--- a/devel/wxGlade/Makefile
+++ b/devel/wxGlade/Makefile
@@ -6,6 +6,7 @@
PORTNAME= wxGlade
PORTVERSION= 0.2.1
+PORTREVISION= 1
CATEGORIES= devel x11-toolkits python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wxglade
@@ -20,13 +21,16 @@ NO_BUILD= yes
do-install:
@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
- (cd ${WRKSRC} && ${FIND} [^d]* \! -name "*.txt" \! -name ".cvsignore" -type f | cpio -pdum ${PYTHON_SITELIBDIR}/${PORTNAME})
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${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 -pdum ${DOCSDIR})
- (cd ${WRKSRC} && ${FIND} . -maxdepth 1 -name "*.txt" | cpio -pdum ${DOCSDIR})
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${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>
diff --git a/devel/wxGlade/pkg-plist b/devel/wxGlade/pkg-plist
index 8195b6cea267..0bd188981f39 100644
--- a/devel/wxGlade/pkg-plist
+++ b/devel/wxGlade/pkg-plist
@@ -1,3 +1,6 @@
+%%PYTHON_SITELIBDIR%%/wxGlade/CHANGES.txt
+%%PYTHON_SITELIBDIR%%/wxGlade/README.txt
+%%PYTHON_SITELIBDIR%%/wxGlade/TODO.txt
%%PYTHON_SITELIBDIR%%/wxGlade/about.py
%%PYTHON_SITELIBDIR%%/wxGlade/application.py
%%PYTHON_SITELIBDIR%%/wxGlade/clipboard.py
@@ -7,6 +10,7 @@
%%PYTHON_SITELIBDIR%%/wxGlade/color_dialog.py
%%PYTHON_SITELIBDIR%%/wxGlade/common.py
%%PYTHON_SITELIBDIR%%/wxGlade/config.py
+%%PYTHON_SITELIBDIR%%/wxGlade/credits.txt
%%PYTHON_SITELIBDIR%%/wxGlade/edit_sizers/__init__.py
%%PYTHON_SITELIBDIR%%/wxGlade/edit_sizers/edit_sizers.py
%%PYTHON_SITELIBDIR%%/wxGlade/edit_sizers/sizers_codegen.py
@@ -68,6 +72,7 @@
%%PYTHON_SITELIBDIR%%/wxGlade/icons/text_ctrl.xpm
%%PYTHON_SITELIBDIR%%/wxGlade/icons/toggle_button.xpm
%%PYTHON_SITELIBDIR%%/wxGlade/icons/wxglade_small.png
+%%PYTHON_SITELIBDIR%%/wxGlade/license.txt
%%PYTHON_SITELIBDIR%%/wxGlade/main.py
%%PYTHON_SITELIBDIR%%/wxGlade/misc.py
%%PYTHON_SITELIBDIR%%/wxGlade/samples/color_dialog.wxg
@@ -156,9 +161,12 @@
%%PYTHON_SITELIBDIR%%/wxGlade/widgets/toggle_button/__init__.py
%%PYTHON_SITELIBDIR%%/wxGlade/widgets/toggle_button/codegen.py
%%PYTHON_SITELIBDIR%%/wxGlade/widgets/toggle_button/toggle_button.py
+%%PYTHON_SITELIBDIR%%/wxGlade/widgets/widgets.txt
%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/__init__.py
%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/canvas.py
%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/intl.py
+%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/license/lgpl.txt
+%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/license/wxwindowslib.txt
%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/pycolourbox.py
%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/pycolourchooser.py
%%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/pycolourslider.py
@@ -166,10 +174,6 @@
%%PYTHON_SITELIBDIR%%/wxGlade/wxglade.py
%%PYTHON_SITELIBDIR%%/wxGlade/xml_parse.py
%%PYTHON_SITELIBDIR%%/wxGlade/xrc2wxg.py
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
-%%PORTDOCS%%%%DOCSDIR%%/credits.txt
%%PORTDOCS%%%%DOCSDIR%%/img/box_sizer_button.gif
%%PORTDOCS%%%%DOCSDIR%%/img/button_button.gif
%%PORTDOCS%%%%DOCSDIR%%/img/custom_widget.gif
@@ -178,10 +182,10 @@
%%PORTDOCS%%%%DOCSDIR%%/img/sizer_slot.gif
%%PORTDOCS%%%%DOCSDIR%%/img/spacer_button.gif
%%PORTDOCS%%%%DOCSDIR%%/img/text_ctrl_button.gif
-%%PORTDOCS%%%%DOCSDIR%%/license.txt
%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/img
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser/license
@dirrm %%PYTHON_SITELIBDIR%%/wxGlade/wxPyColourChooser
@dirrm %%PYTHON_SITELIBDIR%%/wxGlade/widgets/toggle_button
@dirrm %%PYTHON_SITELIBDIR%%/wxGlade/widgets/text_ctrl