aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-regexp/Makefile
blob: 742eb46f4b9f06dd55b96d4bdfc6d996f873252c (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
# Created by: Dave Glowacki <dglo@ssec.wisc.edu> #
# $FreeBSD$

PORTNAME=   jakarta-regexp
PORTVERSION=    1.5
PORTREVISION=   3
CATEGORIES= java devel
MASTER_SITES=   APACHE_JAKARTA/regexp/binaries

MAINTAINER= ports@FreeBSD.org
COMMENT=    Regular expressions for Java

USE_JAVA=   yes
JAVA_VERSION=   1.6+
USE_ANT=    yes
ALL_TARGET= test package
MAKE_ARGS=  -Djakarta-site.dir=${WRKSRC}

JAVALIBNAME=    ${PORTNAME}-${PORTVERSION}

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

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>