View | Details | Raw Unified | Return to bug 189122
Collapse All | Expand All

(-)Makefile (-7 / +6 lines)
Lines 10-15 Link Here
10
MAINTAINER=	gabor@FreeBSD.org
10
MAINTAINER=	gabor@FreeBSD.org
11
COMMENT=	Multi-format schema converter based on RELAX NG
11
COMMENT=	Multi-format schema converter based on RELAX NG
12
12
13
LICENSE=	BSD3CLAUSE
14
13
USES=		zip
15
USES=		zip
14
USE_JAVA=	yes
16
USE_JAVA=	yes
15
JAVA_VERSION=	1.6+
17
JAVA_VERSION=	1.6+
Lines 22-36 Link Here
22
SUB_FILES=	trang.sh
24
SUB_FILES=	trang.sh
23
PLIST_FILES=	%%JAVAJARDIR%%/trang.jar bin/trang
25
PLIST_FILES=	%%JAVAJARDIR%%/trang.jar bin/trang
24
26
25
NO_STAGE=	yes
26
.include <bsd.port.options.mk>
27
.include <bsd.port.options.mk>
27
28
28
do-install:
29
do-install:
29
	${INSTALL_DATA} ${WRKSRC}/trang.jar ${JAVAJARDIR}
30
	${INSTALL_DATA} ${WRKSRC}/trang.jar ${STAGEDIR}${JAVAJARDIR}
30
	${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${PREFIX}/bin/trang
31
	${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${STAGEDIR}${PREFIX}/bin/trang
31
.if ${PORT_OPTIONS:MDOCS}
32
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
32
	@${MKDIR} ${DOCSDIR}
33
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
33
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
34
.endif
35
34
36
.include <bsd.port.mk>
35
.include <bsd.port.mk>

Return to bug 189122