summaryrefslogtreecommitdiff
path: root/textproc/dtdinst/Makefile
blob: 54182346bd02583bb41caee1ff212b706044a416 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:   dtdinst
# Date created:                3 February 2002
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=	dtdinst
PORTVERSION=	2003.06.19
CATEGORIES=	textproc
MASTER_SITES=	http://www.thaiopensource.com/download/
DISTNAME=	${PORTNAME}-20030619
EXTRACT_SUFX=	.zip

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Converts DTDs to XML instance, in a specific or RELAX NG format

USE_ZIP=	YES
USE_JAVA=	1.1+
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}

NO_BUILD_DEPENDS_JAVA=	yes

do-install:
	${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVAJARDIR}
	${MKDIR} ${PREFIX}/share/xsl/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/*.xsl ${PREFIX}/share/xsl/${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/dtdinst.rng ${DOCSDIR}
.endif

.include <bsd.port.mk>