summaryrefslogtreecommitdiffstats
path: root/java/jdk14-doc
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-05-06 00:14:04 +0000
committertaoka <taoka@FreeBSD.org>1999-05-06 00:14:04 +0000
commit317c998823aa71a62368d1944871735907aea713 (patch)
tree075f70f7b40697807846ae18eacc8eaa433fec87 /java/jdk14-doc
parent8f1737c0e97b961e0ae295ccb327fc9b4b2c7e24 (diff)
downloadFreeBSD-ports-317c998823aa71a62368d1944871735907aea713.zip
FreeBSD-ports-317c998823aa71a62368d1944871735907aea713.tar.gz
Change bsd.port.mk -> bsd.port.post.mk
Modify the method to make MESSAGE when we "make install" Noticed by: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)
Diffstat (limited to 'java/jdk14-doc')
-rw-r--r--java/jdk14-doc/Makefile14
-rw-r--r--java/jdk14-doc/pkg-message17
2 files changed, 22 insertions, 9 deletions
diff --git a/java/jdk14-doc/Makefile b/java/jdk14-doc/Makefile
index b7d4c69..8e244ef 100644
--- a/java/jdk14-doc/Makefile
+++ b/java/jdk14-doc/Makefile
@@ -3,7 +3,7 @@
# Date created: Mon Mar 8 10:10:42 EET 1999
# Whom: Martti Kuparinen <martti.kuparinen@ericsson.com>
#
-# $Id: Makefile,v 1.2 1999/03/22 02:21:27 steve Exp $
+# $Id: Makefile,v 1.3 1999/05/05 15:07:34 taoka Exp $
#
DISTNAME= jdk117B-doc
@@ -16,6 +16,7 @@ RESTRICTED= "This software is under license and export control."
IS_INTERACTIVE= "Requires manual fetch"
WRKSRC= ${WRKDIR}/jdk1.1.7B
NO_BUILD= yes
+PKGMESSAGE= ${WRKDIR}/MESSAGE
.include <bsd.port.pre.mk>
@@ -38,12 +39,7 @@ do-install:
${MKDIR} ${PREFIX}/jdk1.1.7
(cd ${WRKSRC} && ${TAR} -cf - docs) \
| (cd ${PREFIX}/jdk1.1.7 && ${TAR} -xf -)
+ @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
-post-install:
- @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE.tmpl > ${PKGDIR}/MESSAGE
- @${CAT} ${PKGDIR}/MESSAGE
-
-pre-clean:
- @${RM} -f ${PKGDIR}/MESSAGE
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/java/jdk14-doc/pkg-message b/java/jdk14-doc/pkg-message
new file mode 100644
index 0000000..4fc7fc7
--- /dev/null
+++ b/java/jdk14-doc/pkg-message
@@ -0,0 +1,17 @@
+Here are some useful bookmark entries for your Web browser:
+
+JDK 1.1.7 Documentation:
+------------------------
+file:!!PREFIX!!/jdk1.1.7/docs/index.html
+
+JDK 1.1 Package Index:
+----------------------
+file:!!PREFIX!!/jdk1.1.7/docs/api/packages.html
+
+JDK 1.1 Class Hierarchy:
+------------------------
+file:!!PREFIX!!/jdk1.1.7/docs/api/tree.html
+
+JDK 1.1 Index:
+--------------
+file:!!PREFIX!!/jdk1.1.7/docs/api/a-names.html
OpenPOWER on IntegriCloud