2002-02-09 09:30:35 +00:00
|
|
|
# New ports collection makefile for: jing
|
|
|
|
# Date created: 3 February 2002
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jing
|
2009-05-27 19:46:10 +00:00
|
|
|
PORTVERSION= 2008.10.28
|
2005-02-05 03:09:48 +00:00
|
|
|
CATEGORIES= textproc java
|
2009-05-27 19:46:10 +00:00
|
|
|
MASTER_SITES= http://jing-trang.googlecode.com/files/
|
2003-08-31 03:24:19 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
2002-02-09 09:30:35 +00:00
|
|
|
|
2009-05-27 19:46:10 +00:00
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= A RELAX NG validator in Java
|
2002-02-09 09:30:35 +00:00
|
|
|
|
2002-05-23 00:20:45 +00:00
|
|
|
USE_ZIP= yes
|
2005-02-05 03:09:48 +00:00
|
|
|
USE_JAVA= yes
|
2009-05-27 19:46:10 +00:00
|
|
|
JAVA_VERSION= 1.5+
|
2002-02-09 09:30:35 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-07-07 23:24:04 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2009-05-27 19:46:10 +00:00
|
|
|
SUB_FILES= jing.sh
|
|
|
|
|
2002-02-09 09:30:35 +00:00
|
|
|
do-install:
|
2009-05-27 19:46:10 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${PREFIX}/bin/jing
|
2003-08-31 03:24:19 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${JAVAJARDIR}
|
2004-07-07 23:24:04 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-02-09 09:30:35 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-08-31 03:24:19 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
2005-02-05 03:09:48 +00:00
|
|
|
cd ${WRKSRC}/doc \
|
|
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
|
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
|
|
cd ${WRKSRC}/sample \
|
|
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
|
|
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
|
2003-08-31 03:24:19 +00:00
|
|
|
.endif
|
2002-02-09 09:30:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|