freebsd-ports/databases/c3p0/Makefile
Jimmy Olgeni 4391611f29 Add c3p0, a Java library for augmenting traditional (DriverManager-based)
JDBC drivers with JNDI-bindable DataSources, including DataSources
that implement Connection and Statement Pooling.
2010-09-23 15:59:11 +00:00

31 lines
769 B
Makefile

# Ports collection makefile for: c3p0
# Date created: Sep 23 2010
# Whom: olgeni
#
# $FreeBSD$
#
PORTNAME= c3p0
PORTVERSION= 0.9.1.2
CATEGORIES= databases java
MASTER_SITES= SF/c3p0/c3p0-bin/c3p0-${PORTVERSION}/
DISTNAME= c3p0-${PORTVERSION}.bin
EXTRACT_SUFX= .tgz
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A library for augmenting JDBC drivers with JNDI-bindable DataSources
USE_JAVA= yes
NO_BUILD= yes
JAVA_VERSION= 1.5+
WRKSRC= ${WRKDIR}/c3p0-${PORTVERSION}
do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/c3p0-0.9.1.2.jar ${JAVAJARDIR}/c3p0.jar
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} apidocs ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/arrow_sm.png ${WRKSRC}/doc/index.html ${DOCSDIR}
.endif
.include <bsd.port.mk>