1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/java/jdbcpool/Makefile
Herve Quiroz 8fe3431f51 - Update to bsd.java.mk 2.0
- Add 'databases' category
- Use ${JAVAJARDIR} and %%JAVAJARDIR%%
- CP -> INSTALL_DATA
- Honor hier(7): install docs in DOCSDIR and samples in EXAMPLESDIR
- Honor NOPORTDOCS
- Minor cosmetic improvements
- Bump PORTREVISION
2005-02-17 18:41:09 +00:00

39 lines
970 B
Makefile

# New ports collection makefile for: JDBC connection pool
# Date created: 1999/07/04
# Whom: Jose Marques
#
# $FreeBSD$
#
PORTNAME= jdbcpool
PORTVERSION= 0.99
PORTREVISION= 1
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>