aboutsummaryrefslogtreecommitdiffstats
path: root/databases/jdbm2/Makefile
blob: d6bbf478842156b38ba4b56e488e4ad0fd4fd221 (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
# Created by: 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

USES=       zip
USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes

PROJECTHOST=    jdbm2
LATEST_LINK=    jdbm2

PORTDOCS=   *
PORTEXAMPLES=   *

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

NO_STAGE=   yes
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>