1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Add license information.

PR:		189122
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
This commit is contained in:
Martin Wilke 2014-05-22 09:43:03 +00:00
parent 40a4576dab
commit 4850bdc1e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354817

View File

@ -10,6 +10,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= gabor@FreeBSD.org
COMMENT= Multi-format schema converter based on RELAX NG
LICENSE= BSD3CLAUSE
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
@ -22,15 +24,12 @@ PORTDOCS= copying.txt trang-manual.html
SUB_FILES= trang.sh
PLIST_FILES= %%JAVAJARDIR%%/trang.jar bin/trang
NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
${INSTALL_DATA} ${WRKSRC}/trang.jar ${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${PREFIX}/bin/trang
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
${INSTALL_DATA} ${WRKSRC}/trang.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${STAGEDIR}${PREFIX}/bin/trang
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>