mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 09:56:43 -04:00
should. The tutorial is not specific to JDK 1.1.8, it pertains to Java versions up to 1.4. That's why I've changed the PORTVERSION from 1.1.8 to 2002.03.04, the date the tutorial was last updated. See: http://java.sun.com/docs/books/tutorial/information/download.html Since this is not really a JDK tutorial but rather a Java tutorial, the port installation directory is now called java-tutorial. Not displaying the message anymore. It is evident where the files go. Changed the pkg-plist to use %%T%% instead of jdk%%VERSION%%/docs/books/tutorial as the prefix.
34 lines
839 B
Makefile
34 lines
839 B
Makefile
# New ports collection makefile for: JDK tutorial
|
|
# Date created: Tue Mar 23 10:18:20 EET 1999
|
|
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jdk-tutorial
|
|
PORTVERSION= 2002.03.04
|
|
CATEGORIES= java
|
|
MASTER_SITES= ftp://ftp.javasoft.com/docs/ \
|
|
http://java.sun.com/docs/books/tutorial/download/
|
|
DISTNAME= tutorial
|
|
|
|
MAINTAINER= znerd@FreeBSD.org
|
|
|
|
NO_WRKSUBDIR= yes
|
|
RESTRICTED= "This software is under license and export control."
|
|
NO_BUILD= yes
|
|
TARGET_DIR= ${PREFIX}/share/doc/java-tutorial/
|
|
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${ECHO} -n ">> Creating directory ${TARGET_DIR}..."
|
|
@${MKDIR} ${TARGET_DIR}
|
|
@${ECHO} " [ DONE ]"
|
|
|
|
@${ECHO} -n ">> Copying files..."
|
|
@${CP} -R ${WRKSRC}/* ${TARGET_DIR}
|
|
@${ECHO} " [ DONE ]"
|
|
|
|
.include <bsd.port.post.mk>
|