aboutsummaryrefslogtreecommitdiffstats
path: root/databases/jdbm2/Makefile
blob: febe48b08ab6f229b4a32eacd738aa9d2ab80309 (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
38
39
40
41
# Ports collection makefile for:    jdbm2
# Date created:         25 Feb 2011
# Whom:             Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   jdbm
PORTVERSION=    2.4
CATEGORIES= databases java
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= ale@FreeBSD.org
COMMENT=    A fast, simple and transactional Java persistence engine

USE_ZIP=    yes
USE_JAVA=   yes
JAVA_VERSION=   1.5+
NO_BUILD=   yes

PROJECTHOST=    jdbm2
LATEST_LINK=    jdbm2

PORTDOCS=   *
PORTEXAMPLES=   *

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

do-install:
    @${INSTALL_DATA} ${WRKSRC}/lib/${DISTNAME}.jar \
        ${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>