aboutsummaryrefslogtreecommitdiff
path: root/java/jdbcpool/Makefile
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-05-21 18:59:57 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-05-21 18:59:57 +0000
commit0e76979236aaabfa57b5174cdbb5225f5f0fe8c2 (patch)
tree429780f99aeb84daaee778222b3720269710860a /java/jdbcpool/Makefile
parent985b690b0ad4d5f04d4ff52a01cc0b8c4b9ea58f (diff)
downloadports-0e76979236aaabfa57b5174cdbb5225f5f0fe8c2.tar.gz
ports-0e76979236aaabfa57b5174cdbb5225f5f0fe8c2.zip
Notes
Diffstat (limited to 'java/jdbcpool/Makefile')
-rw-r--r--java/jdbcpool/Makefile25
1 files changed, 10 insertions, 15 deletions
diff --git a/java/jdbcpool/Makefile b/java/jdbcpool/Makefile
index 4e93fa18243f..0cefc6ee02bf 100644
--- a/java/jdbcpool/Makefile
+++ b/java/jdbcpool/Makefile
@@ -6,28 +6,23 @@
#
PORTNAME= jdbcpool
-PORTVERSION= 0.94
+PORTVERSION= 0.99
CATEGORIES= java
MASTER_SITES= http://www.bitmechanic.com/projects/jdbcpool/dist/
MAINTAINER= noway@nohow.demon.co.uk
-RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
-
-JDK_VERSION= 1.1.8
+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} ${PREFIX}/share/java/classes ${PREFIX}/share/java/jdbcpool
- @${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${PREFIX}/share/java/classes/jdbcpool.jar
- @cd ${WRKSRC}; \
- ${RM} -rf CVS; \
- ${RM} -rf examples/CVS; \
- ${RM} -rf examples/gsp/CVS; \
- ${CP} CHANGES ${PREFIX}/share/java/jdbcpool; \
- ${CP} LICENSE ${PREFIX}/share/java/jdbcpool; \
- ${CP} README ${PREFIX}/share/java/jdbcpool; \
- ${CP} -R examples ${PREFIX}/share/java/jdbcpool; \
- ${CP} -R javadoc ${PREFIX}/share/java/jdbcpool
+ ${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>