From 8750d5977c299976eb553c6508c51cbd8b22b81b Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 1 Apr 2006 13:13:03 +0000 Subject: Use SUB_FILES for pkg-message --- shells/wapsh/Makefile | 4 +++- shells/wapsh/files/pkg-message.in | 12 ++++++++++++ shells/wapsh/pkg-message | 12 ------------ 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 shells/wapsh/files/pkg-message.in delete mode 100644 shells/wapsh/pkg-message (limited to 'shells/wapsh') diff --git a/shells/wapsh/Makefile b/shells/wapsh/Makefile index 5e1c6537d809..44bbaa3bf91e 100644 --- a/shells/wapsh/Makefile +++ b/shells/wapsh/Makefile @@ -16,6 +16,8 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A system to allow remote shell logins via a WAP phone or web browser WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message USERGUIDEDOCS= Image10.jpg Image11.jpg Image12.jpg Image13.jpg \ Image14.jpg Image15.jpg Image16.jpg Image17.jpg \ @@ -91,6 +93,6 @@ post-install: ${ECHO} "===> Installing ${PREFIX}/etc/rc.d/htshd.sh startup file."; \ ${INSTALL_SCRIPT} ${FILESDIR}/htshd.sh ${PREFIX}/etc/rc.d/htshd.sh; \ fi - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include diff --git a/shells/wapsh/files/pkg-message.in b/shells/wapsh/files/pkg-message.in new file mode 100644 index 000000000000..6228883b3740 --- /dev/null +++ b/shells/wapsh/files/pkg-message.in @@ -0,0 +1,12 @@ + +wapsh/htsh is now installed. + +Sample configuration files can be found in %%PREFIX%%/etc/wapsh + +HTML documentation has been installed in %%PREFIX%%/share/doc/wapsh + +PHP scripts for both HTTP and WAP access have been installed in +%%PREFIX%%/share/wapsh/htdocs + +Please read the installed documentation for information on how to create +the configuration files. diff --git a/shells/wapsh/pkg-message b/shells/wapsh/pkg-message deleted file mode 100644 index 6228883b3740..000000000000 --- a/shells/wapsh/pkg-message +++ /dev/null @@ -1,12 +0,0 @@ - -wapsh/htsh is now installed. - -Sample configuration files can be found in %%PREFIX%%/etc/wapsh - -HTML documentation has been installed in %%PREFIX%%/share/doc/wapsh - -PHP scripts for both HTTP and WAP access have been installed in -%%PREFIX%%/share/wapsh/htdocs - -Please read the installed documentation for information on how to create -the configuration files. -- cgit v1.2.3