diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-05-21 18:59:57 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-05-21 18:59:57 +0000 |
commit | 0e76979236aaabfa57b5174cdbb5225f5f0fe8c2 (patch) | |
tree | 429780f99aeb84daaee778222b3720269710860a /java/jdbcpool/Makefile | |
parent | 985b690b0ad4d5f04d4ff52a01cc0b8c4b9ea58f (diff) | |
download | ports-0e76979236aaabfa57b5174cdbb5225f5f0fe8c2.tar.gz ports-0e76979236aaabfa57b5174cdbb5225f5f0fe8c2.zip |
Notes
Diffstat (limited to 'java/jdbcpool/Makefile')
-rw-r--r-- | java/jdbcpool/Makefile | 25 |
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> |