# Created by: Thierry Thomas # $FreeBSD$ PORTNAME= jcmdline PORTVERSION= 2.0.0 CATEGORIES= devel java 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 NO_ARCH= yes JARFILE= ${PORTNAME}.jar PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} 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} cd ${WRKSRC} && ${INSTALL_DATA} CHANGES CREDITS README ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include