mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
- Don't install empty documentation directory
- Add LICENSE_FILE
This commit is contained in:
parent
4b7de0e051
commit
675deb8559
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387436
@ -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 ]"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user