diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-12-16 17:26:37 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-12-16 17:26:37 +0000 |
commit | 27d75511b89853a2b360c6bbe6656bb616a86f9f (patch) | |
tree | e436247ddba81e9554d03eb57503ec25c53df480 /java | |
parent | dd2d358e67af267cd9ea4ae88079a4f69350c08e (diff) | |
download | ports-27d75511b89853a2b360c6bbe6656bb616a86f9f.tar.gz ports-27d75511b89853a2b360c6bbe6656bb616a86f9f.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/collections/Makefile | 19 | ||||
-rw-r--r-- | java/collections/pkg-descr | 2 |
2 files changed, 10 insertions, 11 deletions
diff --git a/java/collections/Makefile b/java/collections/Makefile index 19e26b43e75f..88c2d9d7eec6 100644 --- a/java/collections/Makefile +++ b/java/collections/Makefile @@ -7,16 +7,15 @@ PORTNAME= collections PORTVERSION= 1.1 -CATEGORIES= java +CATEGORIES= java devel DISTNAME= collections1_1 EXTRACT_SUFX= .zip MAINTAINER= java@freebsd.org -COMMENT= JDK1.2 Collections' API for JDK1.1 environments +COMMENT= JDK1.2 Collections\' API for JDK1.1 environments USE_JAVA= yes JAVA_VERSION= 1.1 -JAVA_RUN= jre USE_ZIP= YES @@ -28,24 +27,24 @@ NO_CDROM= "See the license" PORTDOCS= LICENSE.TXT README.TXT javadoc .endif JARFILE= collections.jar -PLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${JARFILE} +PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE} .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) -IGNORE= "You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from http://java.sun.com/products/archive/javabeans/infobus/downloads.html and place it in ${DISTDIR} then run make again" +DOWNLOAD_URL= "http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7264-collections-1.1-oth-JPR&SiteId=JSC&TransactionId=noreg" +IGNORE= "You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL} and place it in ${DISTDIR} then run make again" .endif do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." @${MKDIR} ${JAVAJARDIR} - @${CP} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/ + @${INSTALL_DATA} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/ @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @${MKDIR} ${DOCSDIR} -.for DOCFILE in ${PORTDOCS} - @${CP} -R ${WRKSRC}/doc/${DOCFILE} ${DOCSDIR}/ -.endfor + @cd ${WRKSRC}/doc \ + && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ + && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" .endif diff --git a/java/collections/pkg-descr b/java/collections/pkg-descr index d6d20617199f..03fbad8ec1a3 100644 --- a/java/collections/pkg-descr +++ b/java/collections/pkg-descr @@ -1,3 +1,3 @@ JDK1.2 Collections' API for JDK1.1 environments. -WWW: http://java.sun.com/products/javabeans/infobus/collectionsreadme.html +WWW: http://java.sun.com/products/archive/javabeans/infobus/collectionsreadme.html |