aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-04-11 01:08:39 +0800
committermnag <mnag@FreeBSD.org>2006-04-11 01:08:39 +0800
commit7dd847e92f83420a13a1b5cc65dca76780ded09c (patch)
treeff8bb6af20a78330abbfe248587cf04bd5137a2c
parentf3ef456377388a544865984372ae417d23b32112 (diff)
downloadfreebsd-ports-gnome-7dd847e92f83420a13a1b5cc65dca76780ded09c.tar.gz
freebsd-ports-gnome-7dd847e92f83420a13a1b5cc65dca76780ded09c.tar.zst
freebsd-ports-gnome-7dd847e92f83420a13a1b5cc65dca76780ded09c.zip
- Fix install in 4.x
Notified by: kris
-rw-r--r--net/py-zsi-devel/Makefile11
-rw-r--r--net/py-zsi-devel/pkg-plist1
2 files changed, 8 insertions, 4 deletions
diff --git a/net/py-zsi-devel/Makefile b/net/py-zsi-devel/Makefile
index 73e062fde27a..1b42546a3a6b 100644
--- a/net/py-zsi-devel/Makefile
+++ b/net/py-zsi-devel/Makefile
@@ -31,15 +31,20 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}${PKGNAMESUFFIX}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}${PKGNAMESUFFIX}
PORTDOCS= *
+post-extract:
+ @${FIND} -P ${WRKSRC} -name .cvsignore -delete
+
post-install:
.if !defined(NOPORTDOCS)
-.for f in CHANGES README doc/zsi.* doc/*.tex
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+.for f in CHANGES README doc/*.xsd doc/*.tex
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.for subdir in interop samples test
@${MKDIR} ${EXAMPLESDIR}/${subdir}
- @${CP} -rp ${WRKSRC}/${subdir}/* ${EXAMPLESDIR}/${subdir}
+ cd ${WRKSRC}/${subdir} && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}/${subdir}
.endfor
.include <bsd.port.mk>
diff --git a/net/py-zsi-devel/pkg-plist b/net/py-zsi-devel/pkg-plist
index c782874c9467..5d701ced0815 100644
--- a/net/py-zsi-devel/pkg-plist
+++ b/net/py-zsi-devel/pkg-plist
@@ -32,7 +32,6 @@ bin/wsdl2py.py
%%EXAMPLESDIR%%/test/test_zsi_net.py
%%EXAMPLESDIR%%/test/tests_bad.py
%%EXAMPLESDIR%%/test/tests_good.py
-%%EXAMPLESDIR%%/test/wsdl2py/.cvsignore
%%EXAMPLESDIR%%/test/wsdl2py/README
%%EXAMPLESDIR%%/test/wsdl2py/ServiceTest.py
%%EXAMPLESDIR%%/test/wsdl2py/config.txt