diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-09-14 16:41:23 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-09-14 16:41:23 +0000 |
commit | 43b151ac9ec90bd2019f8e7880571e392affe70d (patch) | |
tree | 2c226797ed517759cb0587e017e5140b644333b7 /databases/mysql-connector-java50/Makefile | |
parent | b5cb030bacd12e58f018d13cc9f8678755679d36 (diff) | |
download | ports-43b151ac9ec90bd2019f8e7880571e392affe70d.tar.gz ports-43b151ac9ec90bd2019f8e7880571e392affe70d.zip |
Notes
Diffstat (limited to 'databases/mysql-connector-java50/Makefile')
-rw-r--r-- | databases/mysql-connector-java50/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql-connector-java50/Makefile b/databases/mysql-connector-java50/Makefile index b08afee342bf..77355236abe9 100644 --- a/databases/mysql-connector-java50/Makefile +++ b/databases/mysql-connector-java50/Makefile @@ -89,7 +89,14 @@ do-install-apidocs: .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${APIDOCSDIR} - @${CP} -r ${JAVADOCDIR}/* ${APIDOCSDIR} + @cd ${JAVADOCDIR} && for src in $$( ${FIND} . ) ; do \ + dst=${APIDOCSDIR}$${src#.} ; \ + if ${TEST} -d $$src ; then \ + ${MKDIR} $$dst ; \ + else \ + ${INSTALL_DATA} $$src $$dst ; \ + fi \ + done @for extradoc in ${EXTRADOCS} ; do \ ${INSTALL_DATA} ${INSTALL_WRKSRC}/$$extradoc ${DOCSDIR} ; \ done |