aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dom4j/Makefile
blob: c5068135660a85b0e661ec6a644ce74901216854 (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
# Created by: <glewis@FreeBSD.org>
# $FreeBSD$

PORTNAME=   dom4j
PORTVERSION=    1.6.1
PORTREVISION=   2
CATEGORIES= textproc java
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Open Source XML framework for Java

USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes

OPTIONS_DEFINE= DOCS

PLIST_FILES=    %%JAVAJARDIR%%/${PORTNAME}.jar

PORTDOCS=   *

do-install:
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
            ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>