summaryrefslogtreecommitdiffstats
path: root/textproc/dtd2relax/Makefile
blob: 7db6a389880e4b894d8a8742d9028201a2a12b4b (plain)
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
# New ports collection makefile for:   dtd2relax
# Date created:                2 February 2002
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=	dtd2relax
PORTVERSION=	1.1.1
CATEGORIES=	textproc
MASTER_SITES=	http://www.horobi.com/Projects/RELAX/Archive/
DISTNAME=	${PORTNAME:U}_${PORTVERSION:S/./_/g}
DISTFILES=	${JARFILE} ${DISTNAME}-src${EXTRACT_SUFX}
EXTRACT_ONLY=	${DISTNAME}-src${EXTRACT_SUFX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	DTD to RELAX converter for Java

USE_ZIP=	yes
USE_JAVA=	1.1+
NO_BUILD=	yes

NO_BUILD_DEPENDS_JAVA=	yes

JARFILE=	${DISTNAME}-bin-XML4J.jar

do-install:
	${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${JAVAJARDIR}/${PORTNAME}.jar

post-install:
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud