2013-05-10 16:34:42 +02:00
|
|
|
# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
|
2002-02-07 02:46:52 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dtdinst
|
2013-05-10 16:34:42 +02:00
|
|
|
PORTVERSION= 2009.11.11
|
2005-02-05 04:03:24 +01:00
|
|
|
CATEGORIES= textproc java
|
2013-05-10 16:34:42 +02:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
PROJECTHOST= jing-trang
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
2002-02-07 02:46:52 +01:00
|
|
|
|
2003-01-27 17:21:48 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Converts DTDs to XML instance, in a specific or RELAX NG format
|
2002-02-07 02:46:52 +01:00
|
|
|
|
2013-05-10 16:34:42 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/copying.txt
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2002-02-07 02:46:52 +01:00
|
|
|
NO_BUILD= yes
|
2013-05-10 16:34:42 +02:00
|
|
|
|
2014-03-10 18:25:25 +01:00
|
|
|
USES= zip
|
2013-05-10 16:34:42 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/dtdinst.jar share/xsl/dtdinst/dtdinst2rng.xsl
|
|
|
|
PLIST_DIRS= share/xsl/dtdinst
|
|
|
|
PLIST_DIRSTRY= share/xsl
|
|
|
|
|
2002-02-07 02:46:52 +01:00
|
|
|
do-install:
|
2014-02-24 17:25:30 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} *.jar ${STAGEDIR}${JAVAJARDIR})
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/xsl/dtdinst
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} *.xsl ${STAGEDIR}${PREFIX}/share/xsl/dtdinst)
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2013-05-10 16:34:42 +02:00
|
|
|
.for i in dtdinst.rnc.txt dtdinst.rng index.html teixml.dtd.txt
|
2014-02-24 17:25:30 +01:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
2013-05-10 16:34:42 +02:00
|
|
|
.endfor
|
2014-02-24 17:25:30 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/example && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
|
2002-02-07 02:46:52 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|