blob: d680120e1aae229abe9158af8dbf2ef7dfa79d9e (
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
42
43
44
45
46
|
# New ports collection makefile for: hsqldb
# Date created: 14 Feb 2006
# Whom: Michael Winking <mwfp@foldl.net>
#
# $FreeBSD$
#
PORTNAME= hsqldb
PORTVERSION= 1.8.1.3
CATEGORIES= databases java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_1_8_1
DISTNAME= hsqldb_${PORTVERSION:S/./_/g}
#EXTRACT_SUFX= .zip
MAINTAINER= wenheping@gmail.com
COMMENT= An embeddable SQL database written in Java
LICENSE= BSD
USE_JAVA= yes
JAVA_VERSION= 1.5+
USE_ANT= yes
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/build
ALL_TARGET= hsqldb hsqljdbc
do-install:
@${ECHO_MSG} -n ">> Installing JAR files to ${JAVAJARDIR}..."
@${INSTALL_DATA} ${WRKSRC}/lib/hsqldb.jar \
${JAVAJARDIR}/hsqldb.jar
@${INSTALL_DATA} ${WRKSRC}/lib/hsqljdbc.jar \
${JAVAJARDIR}/hsqljdbc.jar
@${ECHO_MSG} " [DONE]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing DOC files to ${DOCSDIR}..."
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
cd ${WRKSRC}/doc \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
@${ECHO_MSG} " [DONE]"
.endif
.include <bsd.port.mk>
|