aboutsummaryrefslogtreecommitdiff
path: root/java/jlex
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-01-19 16:26:22 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-01-19 16:26:22 +0000
commitda9d8db27eb9e71ac23cb44abb58216df81b7576 (patch)
tree9a363c4d20a1183571fa167c256fd03fbb30f345 /java/jlex
parentf17c5e79dd45e378d662ff6fe1da826a90f08080 (diff)
downloadports-da9d8db27eb9e71ac23cb44abb58216df81b7576.tar.gz
ports-da9d8db27eb9e71ac23cb44abb58216df81b7576.zip
Notes
Diffstat (limited to 'java/jlex')
-rw-r--r--java/jlex/Makefile7
-rw-r--r--java/jlex/pkg-message2
2 files changed, 7 insertions, 2 deletions
diff --git a/java/jlex/Makefile b/java/jlex/Makefile
index bb58bf40a154..f668e5d72b77 100644
--- a/java/jlex/Makefile
+++ b/java/jlex/Makefile
@@ -21,6 +21,7 @@ NEED_JAVAC= yes
NO_WRKSUBDIR= yes
PLIST_SUB= JAVAJARDIR=${JAVAJARDIR:S|^${PREFIX}/||}
+PKGMESSAGE= ${WRKDIR}/pkg-message
do-extract:
@${RM} -rf ${WRKDIR}
@@ -34,8 +35,12 @@ do-build:
do-install:
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${JAVAJARDIR}
+ @${SED} s:%%JAVAJARDIR%%:${JAVAJARDIR}: < ${PKGDIR}/pkg-message \
+ > ${PKGMESSAGE}
post-install:
- @${SED} s:JAVAJARDIR:${JAVAJARDIR}: < ${PKGMESSAGE}
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
.include <bsd.port.mk>
diff --git a/java/jlex/pkg-message b/java/jlex/pkg-message
index 81856d141897..02a60b2089f5 100644
--- a/java/jlex/pkg-message
+++ b/java/jlex/pkg-message
@@ -1,2 +1,2 @@
-JLex is installed into JAVAJARDIR.
+JLex is installed into %%JAVAJARDIR%%.
See http://www.cs.princeton.edu/~appel/modern/java/JLex.