diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-25 21:24:22 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-25 21:24:22 +0000 |
commit | b4f997ab39bcc05de00dfc9babe6b34e625bcd7d (patch) | |
tree | 6d279b8ecbb12ce7dd37cbb15407e437b1557fa9 | |
parent | 4fcb5cfaacb796db6ce9442768b58f6d72ca64ae (diff) | |
download | FreeBSD-ports-b4f997ab39bcc05de00dfc9babe6b34e625bcd7d.zip FreeBSD-ports-b4f997ab39bcc05de00dfc9babe6b34e625bcd7d.tar.gz |
- Don't install empty documentation directory
- Add LICENSE_FILE
-rw-r--r-- | textproc/apache-poi/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/apache-poi/Makefile b/textproc/apache-poi/Makefile index a289b07..d472412 100644 --- a/textproc/apache-poi/Makefile +++ b/textproc/apache-poi/Makefile @@ -12,6 +12,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Java API To Access Microsoft Format Files LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE PORTDOCS= * USE_JAVA= yes @@ -39,7 +40,7 @@ do-install: @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}/..." @cd ${WRKSRC}/docs \ - && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ + && ${FIND} . -type d -not -empty -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" |