aboutsummaryrefslogtreecommitdiff
path: root/java/jdk12-doc
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-04-19 09:06:27 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-04-19 09:06:27 +0000
commitc76a75669bbe4801a07f51b6c6cea9f3019b9109 (patch)
tree3919884d2915cf873a2853b3e0ca56a975f643b0 /java/jdk12-doc
parenta016d776369f900ca9eb979a279b3b2f0f041773 (diff)
downloadports-c76a75669bbe4801a07f51b6c6cea9f3019b9109.tar.gz
ports-c76a75669bbe4801a07f51b6c6cea9f3019b9109.zip
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!
Notes
Notes: svn path=/head/; revision=27743
Diffstat (limited to 'java/jdk12-doc')
-rw-r--r--java/jdk12-doc/Makefile7
-rw-r--r--java/jdk12-doc/distinfo2
-rw-r--r--java/jdk12-doc/pkg-message8
-rw-r--r--java/jdk12-doc/pkg-plist4
4 files changed, 10 insertions, 11 deletions
diff --git a/java/jdk12-doc/Makefile b/java/jdk12-doc/Makefile
index ba40cf003dd5..08b0b9bf4424 100644
--- a/java/jdk12-doc/Makefile
+++ b/java/jdk12-doc/Makefile
@@ -8,7 +8,7 @@
PORTNAME= jdk-doc
PORTVERSION= 1.1.8
CATEGORIES= java
-DISTNAME= jdk118-doc
+DISTNAME= jdk-1_1_8_003-doc
MAINTAINER= martti.kuparinen@ericsson.com
@@ -37,8 +37,7 @@ do-fetch:
do-install:
${MKDIR} ${PREFIX}/jdk${PORTVERSION}
- (cd ${WRKSRC} && ${TAR} -cf - docs) \
- | (cd ${PREFIX}/jdk${PORTVERSION} && ${TAR} -xf -)
- @${CAT} ${PKGMESSAGE} | ${SED} s+!!PREFIX!!+${PREFIX}+g
+ ${CP} -R ${WRKSRC}/docs ${PREFIX}/jdk${PORTVERSION}/
+ @${SED} 's+\$${PREFIX}+${PREFIX}+g' ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/java/jdk12-doc/distinfo b/java/jdk12-doc/distinfo
index 67cc7c47d5e2..60de84e57979 100644
--- a/java/jdk12-doc/distinfo
+++ b/java/jdk12-doc/distinfo
@@ -1 +1 @@
-MD5 (jdk118-doc.tar.gz) = 59670d20bd5743d532149949d97e9524
+MD5 (jdk-1_1_8_003-doc.tar.gz) = 973c6b5d57eb327ea921b657c32e859a
diff --git a/java/jdk12-doc/pkg-message b/java/jdk12-doc/pkg-message
index b5c548d25912..84a79aeb3fc9 100644
--- a/java/jdk12-doc/pkg-message
+++ b/java/jdk12-doc/pkg-message
@@ -2,16 +2,16 @@ Here are some useful bookmark entries for your Web browser:
JDK 1.1.8 Documentation:
------------------------
-file:!!PREFIX!!/jdk1.1.8/docs/index.html
+file:${PREFIX}/jdk1.1.8/docs/index.html
JDK 1.1 Package Index:
----------------------
-file:!!PREFIX!!/jdk1.1.8/docs/api/packages.html
+file:${PREFIX}/jdk1.1.8/docs/api/packages.html
JDK 1.1 Class Hierarchy:
------------------------
-file:!!PREFIX!!/jdk1.1.8/docs/api/tree.html
+file:${PREFIX}/jdk1.1.8/docs/api/tree.html
JDK 1.1 Index:
--------------
-file:!!PREFIX!!/jdk1.1.8/docs/api/a-names.html
+file:${PREFIX}/jdk1.1.8/docs/api/a-names.html
diff --git a/java/jdk12-doc/pkg-plist b/java/jdk12-doc/pkg-plist
index 5ddb5b77034d..e51c259904e5 100644
--- a/java/jdk12-doc/pkg-plist
+++ b/java/jdk12-doc/pkg-plist
@@ -1089,5 +1089,5 @@ jdk%%VERSION%%/docs/tooldocs/win32/serialver.html
@dirrm jdk%%VERSION%%/docs/tooldocs/solaris
@dirrm jdk%%VERSION%%/docs/tooldocs/win32
@dirrm jdk%%VERSION%%/docs/tooldocs
-@dirrm jdk%%VERSION%%/docs
-@dirrm jdk%%VERSION%%
+@unexec rmdir %D/jdk%%VERSION%%/docs > /dev/null 2>&1 || true
+@unexec rmdir %D/jdk%%VERSION%% > /dev/null 2>&1 || true