aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdbcpool/Makefile
blob: 46a9d8832b11d9af45c1dd02d47c1f81b634501e (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
# New ports collection makefile for:    JDBC connection pool
# Date created:     1999/07/04
# Whom:         Jose Marques
#
# $FreeBSD$
#

PORTNAME=   jdbcpool
PORTVERSION=    0.99
CATEGORIES= java
MASTER_SITES=   http://www.bitmechanic.com/projects/jdbcpool/dist/

MAINTAINER= java@freebsd.org
COMMENT=    JDBC connection pool

USE_JAVA=   1.2+
NO_BUILD=   yes
TARGET_DIR= ${PREFIX}/share/java/${PORTNAME}
JAR_DEST=   ${PREFIX}/share/java/classes
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}

do-install:
    ${MKDIR} ${TARGET_DIR} ${JAR_DEST}
    ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAR_DEST}/${PORTNAME}.jar
    cd ${WRKSRC}; \
        ${RM} -rf `${FIND} examples javadoc -name CVS -type dir`; \
        ${CP} -R examples javadoc CHANGES LICENSE README ${TARGET_DIR}

.include <bsd.port.mk>