aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/jing/Makefile
blob: a3caa9fb2f1ee44a280f0624a0e48e7047079201 (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
# New ports collection makefile for:   jing
# Date created:                3 February 2002
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=   jing
PORTVERSION=    2003.06.19
CATEGORIES= textproc
MASTER_SITES=   http://www.thaiopensource.com/download/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.//g}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A RELAX NG validator in Java

USE_ZIP=    yes
USE_JAVA=   1.4+
NO_BUILD=   yes

NO_BUILD_DEPENDS_JAVA=  yes

do-install:
    ${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${JAVAJARDIR}

post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.if !defined(NOPORTDOCS)
    ${CP} -R ${WRKSRC}/doc ${DOCSDIR}
    ${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/sample/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>