aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk12-doc/Makefile
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-05-05 23:07:37 +0800
committertaoka <taoka@FreeBSD.org>1999-05-05 23:07:37 +0800
commit1a2f2770434e4d7c7cbd54fa28bcd9cb0db036ef (patch)
tree5d20f54df2ab4927d68fcfc07772f928f3663b52 /java/jdk12-doc/Makefile
parent2caf8c2fe8d4b026901f06a988828c1d972e05de (diff)
downloadfreebsd-ports-gnome-1a2f2770434e4d7c7cbd54fa28bcd9cb0db036ef.tar.gz
freebsd-ports-gnome-1a2f2770434e4d7c7cbd54fa28bcd9cb0db036ef.tar.zst
freebsd-ports-gnome-1a2f2770434e4d7c7cbd54fa28bcd9cb0db036ef.zip
Fix pkg/MESSAGE
(When we "make install", pkg/MESSAGE is made from pkg/MESSAGE.tmpl.) Noticed by: maintainer
Diffstat (limited to 'java/jdk12-doc/Makefile')
-rw-r--r--java/jdk12-doc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/java/jdk12-doc/Makefile b/java/jdk12-doc/Makefile
index ba8945afc695..b7d4c69fc5e1 100644
--- a/java/jdk12-doc/Makefile
+++ b/java/jdk12-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.1.1.1 1999/03/18 05:16:45 taoka Exp $
+# $Id: Makefile,v 1.2 1999/03/22 02:21:27 steve Exp $
#
DISTNAME= jdk117B-doc
@@ -40,6 +40,10 @@ do-install:
| (cd ${PREFIX}/jdk1.1.7 && ${TAR} -xf -)
post-install:
- @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE
+ @${SED} s+!!PREFIX!!+${PREFIX}+g < ${PKGDIR}/MESSAGE.tmpl > ${PKGDIR}/MESSAGE
+ @${CAT} ${PKGDIR}/MESSAGE
+
+pre-clean:
+ @${RM} -f ${PKGDIR}/MESSAGE
.include <bsd.port.mk>