aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdbcpool/Makefile
blob: c41a0195d2e349ad4123f870e1ff52db284a57b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    JDBC connection pool
# Date created:     1999/07/04
# Whom:         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.2+
NO_BUILD=   yes

PORTDOCS=   CHANGES LICENSE README
.if !defined(NOPORTDOCS)
PORTDOCS+=  javadoc
.endif

post-extract:
    @${FIND} ${WRKSRC} -name CVS -type dir | ${XARGS} ${RM} -rf

do-install:
    ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
    cd ${WRKSRC}/examples \
      && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
      && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
    cd ${WRKSRC} \
      && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
      && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;

.include <bsd.port.mk>