aboutsummaryrefslogtreecommitdiff
path: root/java/jdk12-doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk12-doc/Makefile')
-rw-r--r--java/jdk12-doc/Makefile7
1 files changed, 3 insertions, 4 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>