summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-18 16:41:19 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-18 16:41:19 +0000
commit7b46a49633afec24c1083e469d2ad93dca3d38c2 (patch)
treede0e34a6fbc7678aaaa6fa7ea4c31c9e5b56add8 /news
parent- Mark BROKEN: does not fetch (diff)
Don't echo in post-install, use pkg-message. Also, don't "fix"
pkg-message in post-install, use SUB_FILES/SUB_LIST. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=418715
Diffstat (limited to 'news')
-rw-r--r--news/noffle/Makefile4
-rw-r--r--news/noffle/files/pkg-message.in (renamed from news/noffle/pkg-message)2
2 files changed, 2 insertions, 4 deletions
diff --git a/news/noffle/Makefile b/news/noffle/Makefile
index d0180dc95ff4..6564d53fee7a 100644
--- a/news/noffle/Makefile
+++ b/news/noffle/Makefile
@@ -21,6 +21,7 @@ LIBS+= -L${LOCALBASE}/lib
SPOOL_DIR= /var/spool/noffle
PLIST_SUB+= SPOOL_DIR=${SPOOL_DIR}
+SUB_FILES= pkg-message
DOCS= ChangeLog docs/FAQ INSTALL docs/INTERNALS README \
docs/testing.txt docs/noffle.lsm
@@ -51,7 +52,4 @@ do-install:
${STAGEDIR}${SPOOL_DIR}/requested
-post-install:
- ${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
-
.include <bsd.port.mk>
diff --git a/news/noffle/pkg-message b/news/noffle/files/pkg-message.in
index da487e076731..38a3ab92bbb1 100644
--- a/news/noffle/pkg-message
+++ b/news/noffle/files/pkg-message.in
@@ -2,6 +2,6 @@
****************************************************************************
To enable the noffle-daemon, add the following line to your /etc/inetd.conf:
-nntp stream tcp nowait news /usr/local/bin/noffle -r
+nntp stream tcp nowait news %%PREFIX%%/bin/noffle -r
****************************************************************************