diff options
Diffstat (limited to 'databases/hsqldb/Makefile')
-rw-r--r-- | databases/hsqldb/Makefile | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/databases/hsqldb/Makefile b/databases/hsqldb/Makefile index 7cefe59..0450bad 100644 --- a/databases/hsqldb/Makefile +++ b/databases/hsqldb/Makefile @@ -2,47 +2,37 @@ # $FreeBSD$ PORTNAME= hsqldb -PORTVERSION= 2.3.0 +PORTVERSION= 2.3.2 CATEGORIES= databases java MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_2_3 -MAINTAINER= ports@FreeBSD.org -COMMENT= An embeddable SQL database written in Java +MAINTAINER= jim@ohlste.in +COMMENT= Embeddable SQL database written in Java -LICENSE= BSD +LICENSE= BSD3CLAUSE -USES= zip 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 -NO_STAGE= yes - OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - 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 - @${INSTALL_DATA} ${WRKSRC}/lib/sqltool.jar \ - ${JAVAJARDIR}/sqltool.jar - @${ECHO_MSG} " [DONE]" - -.if ${PORT_OPTIONS:MDOCS} - @${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 + ${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> |