aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/trang/Makefile
blob: a1ea7b43a34a6537853635c1590a61c21efe7977 (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:   Trang
# Date created:                22 January 2004
# Whom:                        Kimura Fuyuki <fuyuki@nigredo.org>
#
# $FreeBSD$
#

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Multi-format schema converter based on RELAX NG

USE_ZIP=    yes
USE_JAVA=   yes
JAVA_VERSION=   1.4+
NO_BUILD=   yes

.if !defined(NOPORTDOCS)
PORTDOCS=   copying.txt trang-manual.html
.endif

SUB_FILES=  trang.sh
PLIST_FILES=    %%JAVAJARDIR%%/trang.jar bin/trang

do-install:
    ${INSTALL_DATA} ${WRKSRC}/trang.jar ${JAVAJARDIR}
    ${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${PREFIX}/bin/trang
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>