aboutsummaryrefslogtreecommitdiff
path: root/java/apache-commons-lang3/Makefile
blob: 25c1191f97854fed620633e1516b15f5861ae685 (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
PORTNAME=	commons-lang3
PORTVERSION=	3.13.0
CATEGORIES=	java devel
MASTER_SITES=	APACHE_COMMONS_BINARIES/lang
PKGNAMEPREFIX=	apache-
DISTNAME=	${PORTNAME}-${PORTVERSION}-bin

MAINTAINER=	truckman@FreeBSD.org
COMMENT=	Apache library with helper utilities for the java.lang API
WWW=		https://commons.apache.org/proper/commons-lang/

LICENSE=	APACHE20

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_JAVA=	yes
NO_BUILD=	yes
NO_ARCH=	yes

JARFILE=	${PORTNAME}-${PORTVERSION}.jar
DESTJARFILE=	${PORTNAME}.jar
PLIST_FILES=	${JAVAJARDIR}/${JARFILE} \
		${JAVAJARDIR}/${DESTJARFILE}
PORTDOCS=	*

OPTIONS_DEFINE=	DOCS
DOCS_ALL_TARGET=	javadoc

do-install:
	${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
	${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}

do-install-DOCS-on:
	(cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>