- Fix install in 4.x

Notified by:	kris
This commit is contained in:
Marcus Alves Grando 2006-04-10 17:08:39 +00:00
parent c683c26920
commit e8e7661ecc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159284
2 changed files with 8 additions and 4 deletions

View file

@ -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>

View file

@ -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