- Add LICENSE_FILE
- Add NO_ARCH - Switch to options helpers
This commit is contained in:
parent
e0a3c70b3e
commit
8dc70e991c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406502
1 changed files with 10 additions and 5 deletions
|
@ -9,23 +9,28 @@ MASTER_SITES= SF
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Java command line processor
|
||||
|
||||
LICENSE= MPL
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
NO_BUILD= yes
|
||||
|
||||
LICENSE= MPL
|
||||
NO_ARCH= yes
|
||||
|
||||
JARFILE= ${PORTNAME}.jar
|
||||
|
||||
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
|
||||
DOCFILES= CHANGES CREDITS README
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${JARFILE:S|.jar|-${PORTVERSION}.jar|:S|^|${WRKSRC}/|} \
|
||||
${STAGEDIR}${JAVAJARDIR}/${JARFILE}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} CHANGES CREDITS README ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue