diff options
author | glewis <glewis@FreeBSD.org> | 2004-01-20 00:26:22 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-01-20 00:26:22 +0800 |
commit | 6f846283dce8327d8ac4568044e4be6b8e0e6c8a (patch) | |
tree | b663dd0c3e6020f8dc4363d90d1b21abe2fd0f41 /java | |
parent | f9b4c60ac60c5ae5ea51269dade3fa83a5f17948 (diff) | |
download | freebsd-ports-gnome-6f846283dce8327d8ac4568044e4be6b8e0e6c8a.tar.gz freebsd-ports-gnome-6f846283dce8327d8ac4568044e4be6b8e0e6c8a.tar.zst freebsd-ports-gnome-6f846283dce8327d8ac4568044e4be6b8e0e6c8a.zip |
. More standard format for substitution in pkg-message.
. Generate a substituted pkg-message in ${WRKDIR} for packaging rather
than just echoing it during the port install and leaving the package
with an unsubstituted version.
Diffstat (limited to 'java')
-rw-r--r-- | java/jlex/Makefile | 7 | ||||
-rw-r--r-- | java/jlex/pkg-message | 2 |
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. |