aboutsummaryrefslogtreecommitdiff
path: root/java/jdk11-doc
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2004-04-15 23:00:48 +0000
committerErnst de Haan <znerd@FreeBSD.org>2004-04-15 23:00:48 +0000
commit6cbcc623e3226bf3106f1fb24c33270f77d9d11a (patch)
tree1020595752ca2337e1add5c687cc362b87c1a1a6 /java/jdk11-doc
parentfd6758b954943ce9989a8b6da24b44431e2b2de2 (diff)
downloadports-6cbcc623e3226bf3106f1fb24c33270f77d9d11a.tar.gz
ports-6cbcc623e3226bf3106f1fb24c33270f77d9d11a.zip
Notes
Diffstat (limited to 'java/jdk11-doc')
-rw-r--r--java/jdk11-doc/Makefile31
1 files changed, 7 insertions, 24 deletions
diff --git a/java/jdk11-doc/Makefile b/java/jdk11-doc/Makefile
index ffe6ff78e053..51771f24a7d7 100644
--- a/java/jdk11-doc/Makefile
+++ b/java/jdk11-doc/Makefile
@@ -8,8 +8,7 @@
PORTNAME= jdk-doc
PORTVERSION= ${JDK_VERSION:S/_/./g}
CATEGORIES= java
-MASTER_SITES= http://www.metaverse.nl/~ernst/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= znerd
DISTNAME= jdk-${JDK_VERSION:S/./_/g}-doc
@@ -17,7 +16,7 @@ MAINTAINER= znerd@FreeBSD.org
COMMENT= Java Development Kit 1.1 Documentation
LATEST_LINK= jdk11-doc
-TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
+DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
WRKSRC= ${WRKDIR}/jdk${JDK_VERSION:C/_.*\$//g}/docs
JDK_VERSION= 1.1.8_003
@@ -25,30 +24,14 @@ JDK_MAJOR_VER= ${JDK_VERSION:R}
DOWNLOAD_URL= http://java.sun.com/jdk/${JDK_MAJOR_VER}/docs.html
NO_BUILD= yes
-PLIST= ${WRKDIR}/PLIST
+PORTDOCS= api guide images index.html relnotes tooldocs
.include <bsd.port.pre.mk>
-pre-install:
- @${ECHO_CMD} -n ">> Removing ${PLIST}..."
- @${RM} -f ${PLIST}
- @${TOUCH} ${PLIST}
- @${ECHO_CMD} " [ DONE ]"
-
do-install:
- @${ECHO_CMD} -n ">> Creating directory ${TARGET_DIR}..."
- @${MKDIR} ${TARGET_DIR}
- @${ECHO_CMD} " [ DONE ]"
-
- @${ECHO_CMD} -n ">> Copying files..."
- @${CP} -r ${WRKSRC}/* ${TARGET_DIR}
- @${ECHO_CMD} " [ DONE ]"
-
- @${ECHO_CMD} -n ">> Creating packing list..."
- @${FIND} ${TARGET_DIR} -type f -print | \
- ${SED} "s,${PREFIX}/*,," >> ${PLIST}
- @${FIND} ${TARGET_DIR} -type d -print | ${SORT} -r | \
- ${SED} -e "s,${PREFIX}/*,," -e "s,^,@dirrm ,g" >> ${PLIST}
- @${ECHO_CMD} " [ DONE ]"
+ @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/* ${DOCSDIR}
+ @${ECHO} " [ DONE ]"
.include <bsd.port.post.mk>