aboutsummaryrefslogtreecommitdiffstats
path: root/databases/hsqldb/Makefile
blob: e9f995e4b77392575e647b480f66ea0c806461a8 (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: Michael Winking <mwfp@foldl.net>
# $FreeBSD$

PORTNAME=   hsqldb
PORTVERSION=    2.3.3
CATEGORIES= databases java
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_2_3

MAINTAINER= jim@ohlste.in
COMMENT=    Embeddable SQL database written in Java

LICENSE=    BSD3CLAUSE

USE_JAVA=   yes
JAVA_VERSION=   1.6+
USE_ANT=    yes
USES=       zip
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
BUILD_WRKSRC=   ${WRKSRC}/build
ALL_TARGET= hsqldb hsqljdbc

OPTIONS_DEFINE= DOCS

do-install:
    ${MKDIR}  ${STAGEDIR}${JAVAJARDIR}
    ${INSTALL_DATA} ${WRKSRC}/lib/hsqldb.jar \
        ${STAGEDIR}${JAVAJARDIR}/hsqldb.jar
    ${INSTALL_DATA} ${WRKSRC}/lib/hsqljdbc.jar \
        ${STAGEDIR}${JAVAJARDIR}/hsqljdbc.jar
    ${INSTALL_DATA} ${WRKSRC}/lib/sqltool.jar \
        ${STAGEDIR}${JAVAJARDIR}/sqltool.jar

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>