2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Michael Winking <mwfp@foldl.net>
|
2006-02-16 17:06:00 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hsqldb
|
2013-07-18 07:22:02 +02:00
|
|
|
PORTVERSION= 2.3.0
|
2006-02-16 17:06:00 +01:00
|
|
|
CATEGORIES= databases java
|
2013-07-18 07:22:02 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_2_3
|
2006-02-16 17:06:00 +01:00
|
|
|
|
2013-02-17 01:59:16 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-02-16 17:06:00 +01:00
|
|
|
COMMENT= An embeddable SQL database written in Java
|
|
|
|
|
2011-07-03 10:20:44 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2006-02-16 17:06:00 +01:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2006-02-16 17:06:00 +01:00
|
|
|
USE_ANT= yes
|
|
|
|
USE_ZIP= yes
|
2013-02-17 01:59:16 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
|
2006-02-16 17:06:00 +01:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/build
|
|
|
|
ALL_TARGET= hsqldb hsqljdbc
|
|
|
|
|
2013-02-17 01:59:16 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2006-02-16 17:06:00 +01:00
|
|
|
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
|
2013-02-17 01:59:16 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/sqltool.jar \
|
|
|
|
${JAVAJARDIR}/sqltool.jar
|
2006-02-16 17:06:00 +01:00
|
|
|
@${ECHO_MSG} " [DONE]"
|
2008-07-28 11:06:04 +02:00
|
|
|
|
2013-02-17 01:59:16 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2008-07-28 11:06:04 +02:00
|
|
|
@${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}/\{} \;
|
2006-02-16 17:06:00 +01:00
|
|
|
@${ECHO_MSG} " [DONE]"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|