aboutsummaryrefslogtreecommitdiffstats
path: root/databases/jakarta-commons-dbutils/Makefile
blob: f8d3d5e049baeb619117f83aa0119866bcf747b4 (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
37
# Created by: Michael Winking <mwfp@foldl.net>
# $FreeBSD$

PORTNAME=   commons-dbutils
PORTVERSION=    1.7
CATEGORIES= databases java
MASTER_SITES=   APACHE_COMMONS_BINARIES
PKGNAMEPREFIX=  jakarta-
DISTNAME=   ${PORTNAME}-${PORTVERSION}-bin

MAINTAINER= ports@FreeBSD.org
COMMENT=    JDBC helper library

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes
NO_ARCH=    yes

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES=    %%JAVAJARDIR%%/${PORTNAME}.jar

PORTDOCS=   *

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_DATA} ${WRKSRC}/commons-dbutils-1.7.jar \
        ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar

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

.include <bsd.port.mk>