mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
35 lines
935 B
Makefile
35 lines
935 B
Makefile
# Created by: Jose Marques
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jdbcpool
|
|
PORTVERSION= 0.99
|
|
PORTREVISION= 3
|
|
CATEGORIES= java databases
|
|
MASTER_SITES= http://www.bitmechanic.com/projects/jdbcpool/dist/
|
|
|
|
MAINTAINER= java@FreeBSD.org
|
|
COMMENT= JDBC connection pool
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= CHANGES LICENSE README
|
|
PORTDOCS+= javadoc
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name CVS -type dir | ${XARGS} ${RM} -rf
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
cd ${WRKSRC}/examples \
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} \; \
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \;
|
|
cd ${WRKSRC} \
|
|
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
|
|
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
|
|
|
|
.include <bsd.port.mk>
|