diff options
Diffstat (limited to 'java/jdk-doc')
-rw-r--r-- | java/jdk-doc/Makefile | 7 | ||||
-rw-r--r-- | java/jdk-doc/distinfo | 2 | ||||
-rw-r--r-- | java/jdk-doc/pkg-message | 8 | ||||
-rw-r--r-- | java/jdk-doc/pkg-plist | 4 |
4 files changed, 10 insertions, 11 deletions
diff --git a/java/jdk-doc/Makefile b/java/jdk-doc/Makefile index ba40cf003dd5..08b0b9bf4424 100644 --- a/java/jdk-doc/Makefile +++ b/java/jdk-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/jdk-doc/distinfo b/java/jdk-doc/distinfo index 67cc7c47d5e2..60de84e57979 100644 --- a/java/jdk-doc/distinfo +++ b/java/jdk-doc/distinfo @@ -1 +1 @@ -MD5 (jdk118-doc.tar.gz) = 59670d20bd5743d532149949d97e9524 +MD5 (jdk-1_1_8_003-doc.tar.gz) = 973c6b5d57eb327ea921b657c32e859a diff --git a/java/jdk-doc/pkg-message b/java/jdk-doc/pkg-message index b5c548d25912..84a79aeb3fc9 100644 --- a/java/jdk-doc/pkg-message +++ b/java/jdk-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/jdk-doc/pkg-plist b/java/jdk-doc/pkg-plist index 5ddb5b77034d..e51c259904e5 100644 --- a/java/jdk-doc/pkg-plist +++ b/java/jdk-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 |