1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/databases/hsqldb/Makefile
Pawel Pekala 2e4ec989a5 - Update to version 2.3.2, take maintainership [1]
- Correct LICENSE [1]
- Add staging support [1]
- Use USES=zip
- Remove leading article from COMMENT
- Docs files don't need optional installation with stage, convert
  installation procedure to COPYTREE_SHARE

PR:		ports/187336
Submitted by:	Jim Ohlstein <jim@ohlste.in>
2014-03-08 12:49:02 +00:00

39 lines
971 B
Makefile

# Created by: Michael Winking <mwfp@foldl.net>
# $FreeBSD$
PORTNAME= hsqldb
PORTVERSION= 2.3.2
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>