mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
49be89bdea
Pointy hat to: mat Sponsored by: Absolight
39 lines
945 B
Makefile
39 lines
945 B
Makefile
# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jing
|
|
PORTVERSION= 2008.10.28
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= http://jing-trang.googlecode.com/files/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
|
COMMENT= A RELAX NG validator in Java
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/doc/copying.html
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
SUB_FILES= jing.sh
|
|
|
|
PLIST_FILES= bin/jing %%JAVAJARDIR%%/jing.jar
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${STAGEDIR}${PREFIX}/bin/jing
|
|
${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${STAGEDIR}${JAVAJARDIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
(cd ${WRKSRC}/sample && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|