aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk12-doc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-04-19 17:06:27 +0800
committerknu <knu@FreeBSD.org>2000-04-19 17:06:27 +0800
commit4d57c71652daaff7b00a72b7ea53780c572cb09c (patch)
tree1963277a6e554c3632567872d9ac1bfd78eda7b8 /java/jdk12-doc
parent92e8b7cac61b082961469eda746fda2cfcbc16c4 (diff)
downloadfreebsd-ports-gnome-4d57c71652daaff7b00a72b7ea53780c572cb09c.tar.gz
freebsd-ports-gnome-4d57c71652daaff7b00a72b7ea53780c572cb09c.tar.zst
freebsd-ports-gnome-4d57c71652daaff7b00a72b7ea53780c572cb09c.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!
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