From 4850bdc1e69f0ad5e1e4fcb235cf295f92231bb4 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 22 May 2014 09:43:03 +0000 Subject: [PATCH] - Support staging - Add license information. PR: 189122 Submitted by: Yasuhiro KIMURA --- textproc/trang/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/textproc/trang/Makefile b/textproc/trang/Makefile index 29b90b581614..b0332574a992 100644 --- a/textproc/trang/Makefile +++ b/textproc/trang/Makefile @@ -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 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