- Update URL in pkg-descr [1]
- Use %%JAVAJARDIR%% - Use INSTALL_DATA to install JAR and documentation files - Add 'devel' category - Manual download URL is now a bit more specific - Removed unneeded JAVA_RUN statement (implied when nothing is set) Submitted by: Manfred N. Riem <mnriem@earthlink.net> [1]
This commit is contained in:
parent
dd2d358e67
commit
27d75511b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124221
2 changed files with 10 additions and 11 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue