1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/java/jdk11-doc/Makefile
Akinori MUSHA c76a75669b Update to 1.1.8_003. (PORTVERSION untouched)
PR:		18034
Submitted by:	Palle Girgensohn <girgen@partitur.se>

Use just `${CP} -R' instead of tar|tar.

By the way, owner/group IDs of files should not be preserved on
copying in the installation process, because if one did `make' and
then `su' to `make install', the installed files would be owned by a
normal user.  Beware, porters!
2000-04-19 09:06:27 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: JDK documentation
# Date created: Mon Mar 8 10:10:42 EET 1999
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
#
# $FreeBSD$
#
PORTNAME= jdk-doc
PORTVERSION= 1.1.8
CATEGORIES= java
DISTNAME= jdk-1_1_8_003-doc
MAINTAINER= martti.kuparinen@ericsson.com
RESTRICTED= "This software is under license and export control."
IS_INTERACTIVE= "Requires manual fetch"
WRKSRC= ${WRKDIR}/jdk${PORTVERSION}
NO_BUILD= yes
PLIST_SUB+= VERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
do-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
@${ECHO_MSG} ''
@${ECHO_MSG} 'You have to fetch the documentation from'
@${ECHO_MSG} ' http://java.sun.com/products/jdk/1.1/docs.html'
@${ECHO_MSG} ''
@${ECHO_MSG} 'Put ${DISTNAME}${EXTRACT_SUFX} in in ${DISTDIR}/ and run make again.'
@${ECHO_MSG} ''
@${ECHO_MSG} 'All this hassle is because of the license and export restrictions'
@${ECHO_MSG} 'as described in'
@${ECHO_MSG} ' http://java.sun.com/feedback/faq/downloading.html'
@${ECHO_MSG} ''
@${FALSE}
.endif
do-install:
${MKDIR} ${PREFIX}/jdk${PORTVERSION}
${CP} -R ${WRKSRC}/docs ${PREFIX}/jdk${PORTVERSION}/
@${SED} 's+\$${PREFIX}+${PREFIX}+g' ${PKGMESSAGE}
.include <bsd.port.post.mk>