aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xerces-j/Makefile
blob: 444fdcc038d97a539d6a8e867f07dcca11ff6fe1 (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
# New ports collection makefile for:    Xerces
# Date created:     2000/08/12
# Whom:         Marcin Cieslak
#
# $FreeBSD$
#

PORTNAME=   xerces-j
PORTVERSION=    2.0.1
CATEGORIES= textproc java
MASTER_SITES=   http://xml.apache.org/dist/xerces-j/
DISTNAME=   xerces-${PORTVERSION:S/./_/g}
DISTFILES=  Xerces-J-bin.${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER= kevlo@FreeBSD.org

USE_JAVA=   1.2+

WRKSRC=     ${WRKDIR}/xerces-${PORTVERSION:S/./_/g}
NO_BUILD=   yes

do-install:
    (cd ${WRKSRC} && ${INSTALL_DATA} xercesImpl.jar xmlParserAPIs.jar \
        ${PREFIX}/share/java/classes)
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC}/docs && ${TAR} -cf - . | ${TAR} -xf - -C ${DOCSDIR})
.endif

.include <bsd.port.mk>