diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-26 05:24:22 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-26 05:24:22 +0800 |
commit | b4f997ab39bcc05de00dfc9babe6b34e625bcd7d (patch) | |
tree | 6d279b8ecbb12ce7dd37cbb15407e437b1557fa9 | |
parent | 4fcb5cfaacb796db6ce9442768b58f6d72ca64ae (diff) | |
download | freebsd-ports-gnome-b4f997ab39bcc05de00dfc9babe6b34e625bcd7d.tar.gz freebsd-ports-gnome-b4f997ab39bcc05de00dfc9babe6b34e625bcd7d.tar.zst freebsd-ports-gnome-b4f997ab39bcc05de00dfc9babe6b34e625bcd7d.zip |
- 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 a289b07a05d3..d4724124eb20 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 ]" |