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

PORTNAME=   jakarta-oro
PORTVERSION=    2.0.8
PORTREVISION=   2
CATEGORIES= java
MASTER_SITES=   http://archive.apache.org/dist/jakarta/oro/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl/awk/sh regular expressions for Java

USE_JAVA=   yes
USE_ANT=    yes
JAVA_VERSION=   1.6+
ALL_TARGET= jar javadocs

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>