summaryrefslogtreecommitdiff
path: root/databases/mysql-connector-java
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-09-14 16:41:23 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-09-14 16:41:23 +0000
commit43b151ac9ec90bd2019f8e7880571e392affe70d (patch)
tree2c226797ed517759cb0587e017e5140b644333b7 /databases/mysql-connector-java
parent- Remove gauche-sxml port, it now comes with gauche itself (diff)
Install documentation using ${INSTALL_DATA} rather than ${CP} to ensure that
ownerships and permissions come out right when port is built as a mortal user then installed as root PR: 86088 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Notes
Notes: svn path=/head/; revision=142723
Diffstat (limited to 'databases/mysql-connector-java')
-rw-r--r--databases/mysql-connector-java/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile
index b08afee342bf..77355236abe9 100644
--- a/databases/mysql-connector-java/Makefile
+++ b/databases/mysql-connector-java/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