28 lines
820 B
Makefile
28 lines
820 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= c3p0
|
|
PORTVERSION= 0.9.2
|
|
CATEGORIES= databases java
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-bin/${PORTNAME}-${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}-${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.6+
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
NO_STAGE= yes
|
|
do-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} apidocs ${DOCSDIR}
|
|
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} apidocs-oracle-thin ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/arrow_sm.png ${WRKSRC}/doc/index.html ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|